projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
981624e
)
autogen: work with older libtool and autoconf
author
Marko Kreen
<markokr@gmail.com>
Tue, 15 Nov 2011 14:32:46 +0000
(16:32 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Tue, 15 Nov 2011 14:32:46 +0000
(16:32 +0200)
autogen.sh
patch
|
blob
|
blame
|
history
diff --git
a/autogen.sh
b/autogen.sh
index 0e0eb93de38c9d838b8f5067f956e56624162a6e..5fd2c47995c9e79a93c57c1d2a076397e79ac876 100755
(executable)
--- 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*