bug-autoconf
[Top][All Lists]
Advanced

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

[sr #107986] autoconf should reject or specifically warn about obviously


From: David A. Wheeler
Subject: [sr #107986] autoconf should reject or specifically warn about obviously wrong configure.ac files
Date: Sun, 18 Mar 2012 20:15:49 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0

Follow-up Comment #3, sr #107986 (project autoconf):

Oh, a quick note about the attached patch to require AC_INIT - this patch will
currently cause "make check" in autoconf to fail, because some of the autoconf
test cases don't call AC_INIT either :-(.

Possible solutions include:
1. Fix all the tests so that they use AC_INIT
2. Create an option flag meaning "do not require AC_INIT", and change those
tests to use it
3. Make omitting AC_INIT a warning, not an error.

All the above would *work*.  Turning the omission of AC_INIT into a warning
might be the easiest upward-compatible approach.  However, which one is most
acceptable to the autoconf developers?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?107986>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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