From 5f08413081ada86f55e5a4585a6635aa34b57ed4 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sat, 25 Sep 2010 19:47:25 +0200 Subject: Try to use glibtoolize if possible in autogen.sh to fix OSX build --- autogen.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index cb3887a..3292973 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,11 @@ #!/bin/sh +gprefix=`which glibtoolize 2>&1 >/dev/null` +if [ $? -eq 0 ]; then + glibtoolize --force +else + libtoolize --force +fi aclocal -I m4 -libtoolize autoheader automake --add-missing autoconf -- cgit v1.1-32-gdbae