diff --git a/autogen.sh b/autogen.sh index 0674c8f7..2de5f5b6 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,12 +1,18 @@ #!/bin/sh +LIBTOOLIZE=`which libtoolize` +if ! test -f "$LIBTOOLIZE" ; then + # Mac OSX support ... + LIBTOOLIZE=`which glibtoolize` +fi + mkdir -p m4 ln -sf README.md README ln -sf docs/ReleaseNotes.md NEWS aclocal -I m4 || exit 1 -libtoolize || exit 1 +${LIBTOOLIZE} || exit 1 autoheader || exit 1 automake --add-missing || exit 1 autoconf || exit 1