summaryrefslogtreecommitdiff
path: root/BUILD/autorun.sh
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2007-10-29 22:48:58 +0100
committerunknown <kent@mysql.com/kent-amd64.(none)>2007-10-29 22:48:58 +0100
commit7752cee49f869d969842d2fab028b1d0438b39f5 (patch)
tree2603e14747ac5e3d4d32215ac1b6c00f593e2209 /BUILD/autorun.sh
parent1b261d3d6161d3d833183bdf12f87dee0c48ff14 (diff)
downloadmariadb-git-7752cee49f869d969842d2fab028b1d0438b39f5.tar.gz
autorun.sh:
After review changes BUILD/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