diff options
author | Bernie Solomon <bernard@mono-cvs.ximian.com> | 2003-11-07 22:58:30 +0300 |
---|---|---|
committer | Bernie Solomon <bernard@mono-cvs.ximian.com> | 2003-11-07 22:58:30 +0300 |
commit | 50edd0e2e8227b4831811df274c6cdbb907eeaf2 (patch) | |
tree | 19d4d81f01689fb632c81c24e55c90db4e4beec6 /autogen.sh | |
parent | 32d0402493bdf38900b189770102797846f2fc4b (diff) |
2003-11-07 Bernie Solomon <bernard@ugsolutions.com>
* autogen.sh: tweak glibtool check so it works
if which doesn't set return code properly
svn path=/trunk/mono/; revision=19714
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index cff9ab10d77..e9127cc2a49 100755 --- a/autogen.sh +++ b/autogen.sh @@ -31,7 +31,10 @@ fi } if [ -z "$LIBTOOL" ]; then - LIBTOOL=`which glibtool` || LIBTOOL=`which libtool` + LIBTOOL=`which glibtool` + if [ ! -x $LIBTOOL ]; then + LIBTOOL=`which libtool` + fi fi (grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { |