[Top][All Lists]

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

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

From: Eric Blake
Subject: [sr #107986] autoconf should reject or specifically warn about obviously wrong configure.ac files
Date: Fri, 16 Mar 2012 19:04:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1

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

1. AC_INIT is essential, AC_OUTPUT is optional but useful; and makes the most
sense if any AC_CONFIG_ were used.  It's probably possible to wire up
something along those lines (for AC_INIT: have the autoconf driver trace
AC_INIT, and error out if the trace was not present; for AC_OUTPUT: have
AC_INIT install an m4_wrap that warns if AC_OUTPUT has not been expanded). 
Patches welcome.

Yes, a warning for a trailing space in a package version name or number might
make sense; we can't warn everywhere, and it should not be outright forbidden,
but hopefully the warning will help.  Patches welcome.

3. It's hard to pro-actively fix everything, without knowing what sort of
mistakes are being commonly made, and without bloating the tool or slowing it
down for the common and correct use cases.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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