From e2e53b65111d04a71ef2d56ebd960c8c055f2bd7 Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 7 Apr 2005 06:25:28 +0000 Subject: [PATCH] - Added the $PHP_AUTOCONF/$PHP_AUTOHEADER usage to phpize --- scripts/phpize.in | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) 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 <