summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-11-10 04:33:49 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-11-10 04:33:49 +0000
commit099adae29c2d7fb29c262b6f6f2d4cd455f6c08f (patch)
tree571c73cec2246a4cb21d9f58060e239789ddef4d /scripts
parent7fe481c9d0cf9e5264bc889877f5b809484a69a6 (diff)
downloadphp-git-099adae29c2d7fb29c262b6f6f2d4cd455f6c08f.tar.gz
Fixed bug #26168 (shtool availability check in phpize).
Diffstat (limited to 'scripts')
-rw-r--r--scripts/phpize.in7
1 files changed, 7 insertions, 0 deletions
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