Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2000:
[Freeciv-Dev] Autoconf 2.12 breaks current builds (PR#283)
Home

[Freeciv-Dev] Autoconf 2.12 breaks current builds (PR#283)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Autoconf 2.12 breaks current builds (PR#283)
From: jrb3@xxxxxxxxx
Date: Tue, 29 Feb 2000 22:41:26 -0800 (PST)

Full_Name: Joseph Beckenbach
Version: cvs-20000227
Distribution: Built from source
Client: Both (or N/A)
OS: BeOS
Submission from: (NULL) (205.149.168.248)


BeOS port of autoconf is 2.12, direct from GNU.  As provided, configure.in and
aclocal.m4 together define PACKAGE and VERSION as 1, not strings.  Culprit is
aclocal.m4, which uses the autoconf-2.13 three-argument variant of
AC_DEFINE_UNQUOTED to generate the #define PACKAGE and #define VERSION lines. 
2.12 accepts only two-argument version.

Patch either with
====
diff -r1.91 configure.in
10c10
< AC_PREREQ(2.12)
---
> AC_PREREQ(2.13)
====

to force roll-forward to autoconf-2.13, where three-argument is legal, or

====
diff -r1.12 aclocal.m4
476,477c476,477
< AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
< AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
---
> AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
> AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
====

to return to the two-argument form which is accepted in 2.12.




[Prev in Thread] Current Thread [Next in Thread]