bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CONFIG_SUBDIRS vs. accumulating configure args.


From: Ralf Corsepius
Subject: CONFIG_SUBDIRS vs. accumulating configure args.
Date: 09 Sep 2002 11:15:38 +0200

Hi,

The example below (3 cascaded config-subdirs) demonstrates what I think
is a bug in autoconf-2.53c's handling of accumulating/duplicate
configure arguments.

# ./configure --prefix=/foo --prefix=/bar
# find . -name Makefile -exec grep -H '^prefix =' {} \;
./sub/sub/Makefile:prefix = /foo
./sub/Makefile:prefix = /bar
./Makefile:prefix = /bar

AFAIS, the cause for this behavior is autoconf's attempt to 
"stripping off duplicate args" in _AC_INIT_PREPARE (~line 1154 in
general.m4), which causes earlier "dups" to override later "dups".
This is different from other places in autoconf and in former versions
of autoconf, where "later dups" overrode "earlier dups"

Ralf

Attachment: subtest-0.0.tar.bz2
Description: application/bzip


reply via email to

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