Update call to AM_INIT_AUTOMAKE
authorSergio Durigan Junior <sergiodj@sergiodj.net>
Mon, 14 Apr 2014 03:48:45 +0000 (00:48 -0300)
committerSergio Durigan Junior <sergiodj@sergiodj.net>
Mon, 14 Apr 2014 03:49:50 +0000 (00:49 -0300)
According to:

  <https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation>

the call to AM_INIT_AUTOMAKE should be updated to take no arguments (in
our case), because the other forms will be deprecated.  This patch does
that.

Tested with an older version of automake to make sure nothing breaks.

configure.ac

index d133041..c3699ea 100644 (file)
@@ -1,6 +1,6 @@
 AC_INIT(rnetclient,2014.1,softwares-impostos@fsfla.org)
 AC_CONFIG_AUX_DIR(build-aux)
-AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION)
+AM_INIT_AUTOMAKE
 AC_PROG_CC
 AC_PROG_INSTALL
 PKG_CHECK_MODULES(GNUTLS, gnutls >= 1.4.0, , AC_MSG_ERROR(Could not find gnutls))