]> granicus.if.org Git - php/commitdiff
Fixed bug #26168 (shtool availability check in phpize).
authorIlia Alshanetsky <iliaa@php.net>
Mon, 10 Nov 2003 04:33:57 +0000 (04:33 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 10 Nov 2003 04:33:57 +0000 (04:33 +0000)
NEWS
scripts/phpize.in

diff --git a/NEWS b/NEWS
index af5d7f4556327dd9e58c64cd0b84b288a0251027..c13ef048e1bf2377650683a2d8b2d0454e053e64 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@ PHP 4                                                                      NEWS
 - Fixed header handler in NSAPI SAPI module (header->replace was ignored,
   send_default_content_type now sends value from php.ini). (Uwe Schindler)
 - Fixed bug #26176 (Fixed handling of numeric keys in INI files). (Ilia)
+- Fixed bug #26168 (shtool availability check in phpize). 
+  (robbat2 at gentoo dot org, Ilia)
 - Fixed bug #26148 (Print the notice before modifying variable on type
   mismatch). (morten-bugs dot php dot net at afdelingp dot dk, Ilia)
 - Fixed bug #26128 (mbstring prints out wrong information on phpinfo()).
index a2e3631303567d3c61d8de43e1b656044f445d18..46c45fa50c415898bbbe838861c3b3a6d76bc72e 100644 (file)
@@ -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