diff --git a/autogen.sh b/autogen.sh index 296f4d50..a46b735d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,9 +2,14 @@ set -x touch INSTALL NEWS AUTHORS +libtoolize="libtoolize" +if which glibtoolize >/dev/null 2>&1 +then + libtoolize=glibtoolize +fi autoheader \ && aclocal \ -&& libtoolize --ltdl --copy --force \ +&& $libtoolize --copy --force \ && automake --add-missing --copy \ && autoconf