[SCM] calf/master: Fix autogen.sh to work on Snow Leopard
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:40:35 UTC 2013
The following commit has been merged in the master branch:
commit 3c442d9e3ac2102b5f0c8564ed82fba58dcea9ee
Author: Nedko Arnaudov <nedko at arnaudov.name>
Date: Tue Feb 8 15:48:07 2011 +0200
Fix autogen.sh to work on Snow Leopard
for some weird reason, on osx, libtoolize is called glibtoolize
diff --git a/autogen.sh b/autogen.sh
index 12d2bfb..9e6253a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,21 @@
#!/bin/sh
+
+if type libtoolize >/dev/null 2>&1
+then
+ LIBTOOLIZE=libtoolize
+else
+ if which glibtoolize >/dev/null
+ then
+ # on the Mac it's called glibtoolize for some reason
+ LIBTOOLIZE=glibtoolize
+ else
+ echo "libtoolize not found"
+ exit 1
+ fi
+fi
+
aclocal --force
-libtoolize --force --automake --copy
+${LIBTOOLIZE} --force --automake --copy
autoheader --force
autoconf --force
automake -a --copy
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list