configure: error: conditional "AMDEP" was never defined.

Bug #307790 reported by dlh
2
Affects Status Importance Assigned to Milestone
Armagetron Advanced
Fix Committed
Critical
Manuel Moos

Bug Description

$ autoconf --version
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.

$ ./bootstrap.sh
(Many warnings about "non-POSIX variable name")
$ ./configure --disable-glout
(See attached configure-output.txt)

Revision history for this message
dlh (dlh) wrote :
Changed in armagetronad:
milestone: none → 0.2.8.3
Revision history for this message
dlh (dlh) wrote :
Revision history for this message
Yann Kaiser (epsy) wrote :

Can be reproduced here systematically and on other machines
reverting r950 always does the trick

Definitely release-blocking

Changed in armagetronad:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Manuel Moos (z-man) wrote :

I can't reproduce it here with the same autoconf version or later versions or 2.59 (on OSX Tiger). Would there be a distribution affected that I can try in a VM?

I'm partially reverting r950, please check if that does the trick.

(Backstory: the most recent gcc gives new warnings on higher code levels that can't be worked around other than disabling them. So their reporting is disabled with a -Wno- directive. That directive is unsupported on much older GCC versions, however.)

Revision history for this message
Manuel Moos (z-man) wrote :

Ah. Apparently, the AX_CXXFLAGS_GCC_OPTION macro indirectly calls an automake macro making use of that conditional, and at least one macro call needs to be on the top level of the configure script, not in some conditional branch thereof. The only call so far was in the CODELEVEL>=1 branch, so no problems ensued when CODELEVEL was at least that high, which it always is on my systems.

/me forgets to ask why you guys aren't using CODELEVEL=2 like you're supposed to :)

Changed in armagetronad:
assignee: nobody → z-man
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.