From 6039cd5a01ad914a76f8f607a17ce47d99ee264d Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Wed, 26 Jun 2002 08:39:55 +0000 Subject: Prefer glibtool over libtool for Mac OS X compatibility Submitted by: various people, including blakers@mac.com --- build/buildcheck.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'build') 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 | # +----------------------------------------------------------------------+ # -# $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." -- cgit v1.2.1