]> granicus.if.org Git - shadow/commitdiff
configure: avoid deprecated AC_INIT/AM_INIT_AUTOMAKE invocation
authorMike Frysinger <vapier@gentoo.org>
Mon, 5 Dec 2016 20:43:20 +0000 (15:43 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 5 Dec 2016 20:43:20 +0000 (15:43 -0500)
The autoconf/automake guys want AC_INIT to be passed the details of the
package directly rather than going through AM_INIT_AUTOMAKE.  Update them
both to use the newer style.

This also allows us to pass in contact details for the project.

We set the minimum autoconf version to 2.64 as that's the first one to
support passing the homepage URL in to AC_INIT.  That's a pretty old
release by now, so it shouldn't be a problem.

configure.ac

index b389838a1ea5b1d55d90f07fe02ab567ed0243a5..cf774e033290d44c3de9e7306f8d27ae1902b890 100644 (file)
@@ -1,6 +1,8 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT
-AM_INIT_AUTOMAKE(shadow, 4.4)
+AC_PREREQ([2.64])
+AC_INIT([shadow], [4.4], [pkg-shadow-devel@lists.alioth.debian.org], [],
+       [https://github.com/shadow-maint/shadow])
+AM_INIT_AUTOMAKE
 AC_CONFIG_HEADERS([config.h])
 
 dnl Some hacks...