summaryrefslogtreecommitdiff
path: root/build/autogen.sh
diff options
context:
space:
mode:
authorCharles Wilson <cwilso11@gmail.com>2009-09-06 20:17:35 -0400
committerCharles Wilson <cwilso11@gmail.com>2009-09-06 20:17:35 -0400
commitb1e75e9c5a088639bc2a0293cd761c47b1cc2636 (patch)
tree9cc025f015c9f672fc738f1acb5204059a64b9ce /build/autogen.sh
parent8d251c18d27e0e412b9a20165200b1a7449e4a43 (diff)
downloadlibarchive-b1e75e9c5a088639bc2a0293cd761c47b1cc2636.tar.gz
Ensure autogen.sh invokes autotools in same order,
and with same arguments, as autoreconf. SVN-Revision: 1439
Diffstat (limited to 'build/autogen.sh')
-rwxr-xr-xbuild/autogen.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/build/autogen.sh b/build/autogen.sh
index 1266b3e2..03cd6573 100755
--- a/build/autogen.sh
+++ b/build/autogen.sh
@@ -12,11 +12,14 @@ if [ \! -f build/version ]; then
fi
set -xe
-aclocal
-autoheader
-autoconf
+aclocal -I build/autoconf
+
+# Note: --automake flag needed only for libtoolize from
+# libtool 1.5.x; in libtool 2.2.x it is a synonym for --quiet
case `uname` in
Darwin) glibtoolize --automake -c;;
*) libtoolize --automake -c;;
esac
+autoconf
+autoheader
automake -a -c