Hi,

Arne Vogel wrote:
Ok, so etcat says I have autoconf 2.58 installed, which so far is the latest unmasked version. However, when I do "autoconf --version", it says:

Autoconf version 2.13

which is ancient! Also, the info pages seem to belong to an autoconf much older than 2.58. "qpkg -f `which autoconf`" says sys-devel/autoconf.
I now found out that autoconf-2.58 actually installs *two* versions, namely 2.13 and 2.58, to be invoked by "autoconf-(versionno.)"
Theres a better way to invoke the autoconf of your choice (see below).

- Why are the two versions not in two separate packages, and accordingly displayed by etcat?
Don't know. Its just the way it is.

- Why does "autoconf" by default invoke the older version?
I guess its because more packages are compatible with the older autoconf, as opposed to the new.

- How can I change the default to autoconf 2.58? Will my system survive this? ;-} /usr/bin/autoconf is a symlink pointing to ../lib/autoconf/ac-wrapper.pl

# autoconf --version Autoconf version 2.13 # export WANT_AUTOCONF="2.5" # autoconf --version autoconf (GNU Autoconf) 2.58 Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

To make this default, add the line : export WANT_AUTOCONF="2.5"
to your ~/.bashrc or /etc/profile

Automake runs on a similar system. Check out the script (nano /usr/bin/auto{conf,make}) to find out more about the variables which are listened to.

Daniel

--
[EMAIL PROTECTED] mailing list



Reply via email to