From 8537ee876c65d3bbdef79b1d87e5a27264e1da82 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 26 Nov 2008 23:40:31 +0000 Subject: [PATCH] check for glibtoolize --- autogen.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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