Fix autogen.sh on osx (and maybe elsewhere too).

This commit is contained in:
Josh Elsasser 2007-08-16 15:48:07 +00:00
parent 235b89b658
commit 2fcce9ca70
1 changed files with 3 additions and 1 deletions

View File

@ -1,8 +1,10 @@
#!/bin/sh
LIBTOOLIZE=libtoolize
if [ "$(uname)" == "Darwin" ] ; then
if ! libtoolize --help >/dev/null 2>&1 && glibtoolize --help >/dev/null 2>&1
then
LIBTOOLIZE=glibtoolize
fi
export LIBTOOLIZE
autoreconf -fiv -I config -I m4