Page 1 of 1

Minor configure.in Change

Posted: 04.11.2003, 02:34
by Troy
Some systems ( like my Gentoo Linux ) have multiple instances of Autoconf installed for compatability reasons, and they use a script to determine which version needs to be run for a given project. For Gentoo, this script looks for:

Code: Select all

# - defaults to autoconf-2.13
# - runs autoconf-2.57 if it exists and...
#   - envvar WANT_AUTOCONF_2_5 is set to `1'
#     -or-
#   - configure.ac is present
#     -or-
#   - `configure.in' contains AC_PREREQ and the value's 3 first letters
#     are stringwise greater than '2.1'
#     -or-
#   - `configure' is already present and was generated by autoconf greater than
#     '2.1'
#     -or-
#   - `Makefile.in' was generated by automake-1.6 or superior, which
#     specifically needs autoconf-2.57
#


Since none of these conditions exsist in Celestia's CVS, trying to 'make -f Makefile.cvs' brings up the wrong version of Autoconf, and it won't run.

May I suggest that we alter 'configure.in' to contain the following line:

Code: Select all

AC_PREREQ(2.5)


Thanks. :)