From: foobar Date: Thu, 7 Apr 2005 06:25:28 +0000 (+0000) Subject: - Added the $PHP_AUTOCONF/$PHP_AUTOHEADER usage to phpize X-Git-Tag: php-5.0.1b1~591 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2e53b65111d04a71ef2d56ebd960c8c055f2bd7;p=php - Added the $PHP_AUTOCONF/$PHP_AUTOHEADER usage to phpize --- diff --git a/scripts/phpize.in b/scripts/phpize.in index 1901323471..97439b4bb7 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -80,9 +80,33 @@ phpize_check_shtool() if test ! -x "$builddir/build/shtool"; then phpize_no_shtool exit 1 + else + php_shtool=$builddir/build/shtool fi } +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 + echo <