build: do not call boilerplate ourself
authorJan Engelhardt <jengelh@inai.de>
Sat, 30 Mar 2013 02:33:09 +0000 (03:33 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 Apr 2013 17:55:20 +0000 (10:55 -0700)
Rationale see section 3.5 "Using `autoreconf' to Update `configure'
Scripts" of the autoconf manual.

http://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/autoreconf-Invocation.html

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Makefile.am
autogen.sh
config/.gitignore
configure.ac

index 18ad36d..9c299a9 100644 (file)
@@ -1,3 +1,6 @@
+
+ACLOCAL_AMFLAGS = -I config
+
 include $(top_srcdir)/config/rpm.am
 include $(top_srcdir)/config/deb.am
 include $(top_srcdir)/config/tgz.am
index 343265c..427394a 100755 (executable)
@@ -1,7 +1,4 @@
 #!/bin/sh
 
-aclocal -I config
-libtoolize --automake --copy
-autoheader
-automake --add-missing --include-deps --copy
-autoconf
+autoreconf -fiv
+rm -Rf autom4te.cache
index dcd88d7..12e6eca 100644 (file)
@@ -4,3 +4,5 @@
 /install-sh
 /ltmain.sh
 /missing
+/libtool.m4
+/lt*.m4
index 413114b..a058a1f 100644 (file)
@@ -34,6 +34,7 @@ AC_INIT
 AC_LANG(C)
 ZFS_AC_META
 AC_CONFIG_AUX_DIR([config])
+AC_CONFIG_MACRO_DIR([config])
 AC_CANONICAL_SYSTEM
 AM_MAINTAINER_MODE
 AM_SILENT_RULES