diff options
Diffstat (limited to 'scripts/phpize.in')
| -rw-r--r-- | scripts/phpize.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/phpize.in b/scripts/phpize.in index c62a32af2e..1394c65476 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -102,19 +102,18 @@ phpize_check_autotools() test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=autoconf test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=autoheader - if ! test -x "`$php_shtool path $PHP_AUTOCONF`"; then + if ! text -x $PHP_AUTOCONF && ! test -x "`$php_shtool path $PHP_AUTOCONF`"; then cat <<EOF Cannot find autoconf. Please check your autoconf installation and the -\$PHP_AUTOCONF environment variable is set correctly and then rerun this script. +\$PHP_AUTOCONF environment variable. Then, rerun this script. EOF exit 1 fi - if ! test -x "`$php_shtool path $PHP_AUTOHEADER`"; then + if ! test -x $PHP_AUTOHEADER && ! test -x "`$php_shtool path $PHP_AUTOHEADER`"; then cat <<EOF Cannot find autoheader. Please check your autoconf installation and the -\$PHP_AUTOHEADER environment variable is set correctly and then rerun this -script. +\$PHP_AUTOHEADER environment variable. Then, rerun this script. EOF exit 1 |
