Summary: Update AC_INIT and AM_INIT_AUTOMAKE to new form
Submitted by: cazfi
Submitted on: Tuesday 08/03/2010 at 19:51
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Discussion Lock: Any
Planned Release: 2.3.0
Copy-paste from RT #39490:
Subject: Deprecated forms of AC_INIT and AM_INIT_AUTOMAKE
Date: Sun, 5 Aug 2007 16:31:29 +0300
From: "Marko Lindqvist" <cazf...@gmail.com>
We are using deprecated versions of AC_INIT and AM_INIT_AUTOMAKE
Problem in upgrading is that new form of AC_INIT requires package
version. We use autoconf macros to seek version information from
version.in. Of course these macros cannot be used before AC_INIT.
New form of AM_INIT_AUTOMAKE will work only if new form of AC_INIT is in
Good news is that version.in is now used only by configure.ac. So
there is no real need to wrap everything in language-independent
These new forms have been available since autoconf 2.52g and at least
in automake 1.5, so all versions we currently support work with this.
Since that version.in has been changed to clean shell script, so autoconf
macros are no longer a problem.
Rest of the switch is in the attached patch. version.in needs to be changed
Date: Tuesday 08/03/2010 at 19:51 Name: UpdateAcInitAmInit.diff Size: 2kB
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list