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:
authorZoltan Varga <vargaz@gmail.com>2003-11-07 21:10:11 +0300
committerZoltan Varga <vargaz@gmail.com>2003-11-07 21:10:11 +0300
commit4cdbd456933d24777467604a627974eb5acc65a1 (patch)
tree81831832c1d9c0c4b610cfc46b38bce784a4eddf /autogen.sh
parent4e2af909fa9307940d2dc1f701def18e99700383 (diff)
2003-11-07 Zoltan Varga <vargaz@freemail.hu>
* autogen.sh: Applied patch from Peter Teichman (peter@ximian.com). Use 'glibtool' instead of 'libtool' on OSX. svn path=/trunk/mono/; revision=19711
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 82cf19e90f1..cff9ab10d77 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -30,8 +30,12 @@ fi
DIE=1
}
+if [ -z "$LIBTOOL" ]; then
+ LIBTOOL=`which glibtool` || LIBTOOL=`which libtool`
+fi
+
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
- (libtool --version) < /dev/null > /dev/null 2>&1 || {
+ ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed to compile Mono."
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
@@ -91,7 +95,7 @@ esac
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
if test -z "$NO_LIBTOOLIZE" ; then
echo "Running libtoolize..."
- libtoolize --force --copy
+ ${LIBTOOL}ize --force --copy
fi
fi