Minor configure.in Change

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Troy
Posts: 60
Joined: 06.08.2002
With us: 22 years 3 months
Location: Triton

Minor configure.in Change

Post #1by Troy » 04.11.2003, 02:34

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. :)
Troy Corbin Jr.
Member: Triton Tourism Board
http://knights.sourceforge.net

Return to “Development”