URL: <http://gna.org/patch/?1807>
Summary: Update AC_INIT and AM_INIT_AUTOMAKE to new form Project: Freeciv Submitted by: cazfi Submitted on: Tuesday 08/03/2010 at 19:51 Category: bootstrap Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.3.0 _______________________________________________________ Details: Copy-paste from RT #39490: ---- Subject: Deprecated forms of AC_INIT and AM_INIT_AUTOMAKE Date: Sun, 5 Aug 2007 16:31:29 +0300 To: rep...@rt.freeciv.org 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 use. 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 macros. 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 executable. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tuesday 08/03/2010 at 19:51 Name: UpdateAcInitAmInit.diff Size: 2kB By: cazfi <http://gna.org/patch/download.php?file_id=9685> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1807> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev