diff --git a/scripts/phpize.in b/scripts/phpize.in index c62a32af2e5..1394c654762 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 <