From: Marko Kreen Date: Tue, 15 Nov 2011 14:32:46 +0000 (+0200) Subject: autogen: work with older libtool and autoconf X-Git-Tag: pgbouncer_1_5_rc1~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=957491eb4f5121039d45d58a98ef54079e88597f;p=pgbouncer autogen: work with older libtool and autoconf --- diff --git a/autogen.sh b/autogen.sh index 0e0eb93..5fd2c47 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,10 +2,20 @@ # get install-sh, config.* rm -f config.sub config.guess install-sh ltmain.sh -libtoolize --install --copy + +if libtoolize --help | grep "[-][-]install" > /dev/null; then + libtoolize --install --copy +else + libtoolize --copy +fi + rm -f ltmain.sh rm -f lib/usual/config.* configure -autoreconf -I lib/m4 -f + +aclocal -I ./lib/m4 +autoheader +autoconf + rm -rf autom4te*