configure.ac: use non-deprecated form of AM_INIT_AUTOMAKE
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 20 May 2011 20:44:34 +0000 (22:44 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 25 May 2011 13:00:04 +0000 (15:00 +0200)
The old form was deprecated back in automake 1.6, so it's probably
about time to switch.
The new form allows us to specify automake options, which in turn
allows us to use "autoreconf -i" instead of the current autogen.sh script.

This is especially useful for OS X users.  OS X comes with its own
libtool, which is different from GNU's.  GNU libtool is therefore
usually made available as glibtool and libtoolize as glibtoolize.
The current autogen.sh script therefore does not work as is for those users.
autoreconf would have the same problem, except that the macport version
of autoconf has a pathed version of autoreconf which looks for
glibtoolize instead of libtoolize.

Reported-by: Louis-Noel Pouchet <pouchet@cse.ohio-state.edu>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
configure.ac

index 2b6c557..65c3e4a 100644 (file)
@@ -1,7 +1,7 @@
-AC_INIT
+AC_INIT([isl], [0.06], [isl-development@googlegroups.com])
 AC_CONFIG_AUX_DIR([.])
 AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE(isl, 0.06)
+AM_INIT_AUTOMAKE([foreign])
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 AC_SUBST(versioninfo)
 versioninfo=6:0:0