summaryrefslogtreecommitdiff
path: root/BUILD/autorun.sh
diff options
context:
space:
mode:
authorkent@mysql.com/kent-amd64.(none) <>2007-10-29 22:48:58 +0100
committerkent@mysql.com/kent-amd64.(none) <>2007-10-29 22:48:58 +0100
commita77f626cc94028cdb8aa3b0d3155cf8b5479c037 (patch)
tree2603e14747ac5e3d4d32215ac1b6c00f593e2209 /BUILD/autorun.sh
parent5218a5d03332bd1609a8774e00ad6e88b5d3e436 (diff)
downloadmariadb-git-a77f626cc94028cdb8aa3b0d3155cf8b5479c037.tar.gz
autorun.sh:
After review changes
Diffstat (limited to 'BUILD/autorun.sh')
-rwxr-xr-xBUILD/autorun.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/BUILD/autorun.sh b/BUILD/autorun.sh
index a1b1998482e..35a2e56cbdf 100755
--- a/BUILD/autorun.sh
+++ b/BUILD/autorun.sh
@@ -3,17 +3,17 @@
die() { echo "$@"; exit 1; }
-# Added glibtoolize reference to make native OSX autotools work,
-# we pick the first of glibtoolize/libtoolize we find in PATH
+# Handle "glibtoolize" (e.g., for native OS X autotools) as another
+# name for "libtoolize". Use the first one, either name, found in PATH.
LIBTOOLIZE=libtoolize # Default
IFS="${IFS= }"; save_ifs="$IFS"; IFS=':'
for dir in $PATH
do
- if test -f $dir/glibtoolize
+ if test -x $dir/glibtoolize
then
LIBTOOLIZE=glibtoolize
break
- elif test -f $dir/libtoolize
+ elif test -x $dir/libtoolize
then
break
fi