From 4e26da4a9812488fa089bfe789a1eb8272e3bfbb Mon Sep 17 00:00:00 2001 From: js Date: Thu, 22 May 2008 11:42:09 +0000 Subject: [PATCH] Use glibtoolize if available, we need this on OS X with MacPorts. --- autogen.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index a3ce4b5df..9f12783af 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,9 +17,11 @@ exit 1 fi + which glibtoolize >/dev/null 2>&1 && LIBTOOLIZE="glibtoolize" || LIBTOOLIZE="libtoolize" + intltoolize --force --automake \ && aclocal -I ./m4 \ - && libtoolize --copy --force --automake \ + && $LIBTOOLIZE --copy --force --automake \ && autoheader \ && autoconf \ && automake ${AM_ARGS} \