aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2008-09-30 20:55:25 +0000
committerGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2008-09-30 20:55:25 +0000
commit7516a690507dcb05bc6ebb19abbe34b9ffb5058f (patch)
treee7afd010db29b5aa1a949bcf043b1bdf8e0587b3
parentc7f06b2ad5b030223d1408a5ef8fea464b64f998 (diff)
Improve autogen.sh.
-rw-r--r--Makefile.am2
-rwxr-xr-xautogen.sh9
2 files changed, 4 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index cd90b6c0..52f2caf5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,8 @@
ACLOCAL_AMFLAGS = -I m4
+AUTOMAKE_OPTIONS = foreign
+
SUBDIRS = src
EXTRA_DIST = \
diff --git a/autogen.sh b/autogen.sh
index 34a4d2e3..9650eb7c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -15,13 +15,8 @@ fi
set -ex
-rm -rf autom4te.cache
-
-aclocal-1.9 --force -I m4
-libtoolize -c -f
-autoheader -f -W all
-automake-1.9 --foreign -a -c -f -W all
-autoconf -f -W all,no-obsolete
+# TODO(kenton): Use -Wall and fix the resulting warnings.
+autoreconf -f -i
rm -rf autom4te.cache config.h.in~
exit 0