From 60223116b32a328776f4b6ffe4624d3bb728a4b3 Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 17 Mar 2008 14:45:11 +0000 Subject: * autogen.sh: Use libtoolize --install where supported. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1415 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845 --- autogen.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index ee7ac5a..2643313 100755 --- a/autogen.sh +++ b/autogen.sh @@ -12,7 +12,12 @@ if test ! -f .version; then fi set -e echo -n "libtoolize... " -${LIBTOOLIZE:-libtoolize} --copy --force >/dev/null +LIBTOOLIZE=${LIBTOOLIZE:-libtoolize} +if ${LIBTOOLIZE} --help | grep -- --install > /dev/null; then + ${LIBTOOLIZE} --copy --force --install >/dev/null; +else + ${LIBTOOLIZE} --copy --force >/dev/null +fi echo -n "aclocal... " ${ACLOCAL:-aclocal} -I macros echo -n "autoheader... " -- cgit v1.2.1