summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2008-03-17 14:45:11 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2008-03-17 14:45:11 +0000
commit60223116b32a328776f4b6ffe4624d3bb728a4b3 (patch)
treed40abc31450a137d16941228660c445c58ab381c
parenteb026c808cb02cc45c919f9afc31abaef493830c (diff)
downloadneon-60223116b32a328776f4b6ffe4624d3bb728a4b3.tar.gz
* autogen.sh: Use libtoolize --install where supported.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1415 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rwxr-xr-xautogen.sh7
1 files changed, 6 insertions, 1 deletions
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... "