Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernie Solomon <bernard@mono-cvs.ximian.com>2003-11-07 22:58:30 +0300
committerBernie Solomon <bernard@mono-cvs.ximian.com>2003-11-07 22:58:30 +0300
commit50edd0e2e8227b4831811df274c6cdbb907eeaf2 (patch)
tree19d4d81f01689fb632c81c24e55c90db4e4beec6 /autogen.sh
parent32d0402493bdf38900b189770102797846f2fc4b (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-xautogen.sh5
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) && {