summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index e0ec027..c6d51e5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,9 +3,14 @@
echo 'Generating necessary files...'
rm -rf config
mkdir -p config
-libtoolize --force
+# Mac
+if [ -x "`which glibtoolize`" ]; then
+ glibtoolize --force
+else
+ libtoolize --force
+fi
aclocal
autoheader -Wall
-automake --foreign --add-missing -Wall -Wno-portability
+automake --foreign --add-missing
autoconf