From: Ilia Alshanetsky Date: Mon, 10 Nov 2003 04:33:49 +0000 (+0000) Subject: Fixed bug #26168 (shtool availability check in phpize). X-Git-Tag: php-5.0.0b3RC1~733 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=099adae29c2d7fb29c262b6f6f2d4cd455f6c08f;p=php Fixed bug #26168 (shtool availability check in phpize). --- diff --git a/scripts/phpize.in b/scripts/phpize.in index a2e3631303..46c45fa50c 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -57,6 +57,13 @@ touch install-sh mkinstalldirs missing aclocal || exit 1 autoconf || exit 1 autoheader || exit 1 +test -x $builddir/build/shtool || chmod +x $builddir/build/shtool +if test ! -x $builddir/build/shtool; then + echo "shtool at '$builddir/build/shtool' not executable. " + echo "Make sure that the file exists and is executable and then rerun this script. " + echo + exit 1 +fi libtoolize=`$builddir/build/shtool path glibtoolize libtoolize` $libtoolize -f -c || exit 1