Permalink
Browse files

On OS X the GNU libtool is prefixed with a g.

  • Loading branch information...
1 parent 259cdb5 commit effdfb6e62fb3d2b5d8750f5c70ab7031e0863a9 @simmel simmel committed May 18, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 autogen.sh
View
@@ -1,7 +1,11 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
-LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
+if which glibtoolize >/dev/null 2>&1; then
+ LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize}
+else
+ LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
+fi
LIBTOOLIZE_FLAGS="--copy --force"
ACLOCAL=${ACLOCAL:-aclocal}
AUTOHEADER=${AUTOHEADER:-autoheader}

0 comments on commit effdfb6

Please sign in to comment.