summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-06-26 08:39:55 +0000
committerSascha Schumann <sas@php.net>2002-06-26 08:39:55 +0000
commit6039cd5a01ad914a76f8f607a17ce47d99ee264d (patch)
tree80e60bce5ec6db598a58410b0a65ccc619f0676b
parent6540bebab458919fa782921e606a9f3f7e7bf1eb (diff)
downloadphp-git-6039cd5a01ad914a76f8f607a17ce47d99ee264d.tar.gz
Prefer glibtool over libtool for Mac OS X compatibility
Submitted by: various people, including blakers@mac.com
-rwxr-xr-xbuild/buildcheck.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh
index 3d075646f1..1165ee1b5f 100755
--- a/build/buildcheck.sh
+++ b/build/buildcheck.sh
@@ -16,7 +16,7 @@
# | Sascha Schumann <sascha@schumann.cx> |
# +----------------------------------------------------------------------+
#
-# $Id: buildcheck.sh,v 1.16 2002-03-04 08:28:57 sas Exp $
+# $Id: buildcheck.sh,v 1.17 2002-06-26 08:39:39 sas Exp $
#
echo "buildconf: checking installation..."
@@ -60,8 +60,9 @@ echo "buildconf: automake version $am_version (ok)"
fi
# libtool 1.4 or newer
-libtool=`which libtool`
-if test ! -f "$libtool"; then libtool=`which glibtool`; fi
+# Prefer glibtool over libtool for Mac OS X compatibility
+libtool=`which glibtool`
+if test ! -f "$libtool"; then libtool=`which libtool`; fi
lt_pversion=`$libtool --version 2>/dev/null|sed -n -e 's/^[^0-9]*//' -e 1's/[- ].*//p'`
if test "$lt_pversion" = ""; then
echo "buildconf: libtool not found."