Re: RFC: Does hand editing of "config.h" make sense?

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

 



On Fri, 27 May 2005, Keith MARSHALL wrote:

BTW, why does the "#undef HAVE_SOMEHEADER_H" in config.h.in get wrapped in comment marks, when it is copied into config.h? Does it not make more sense to forcibly ensure that HAVE_SOMEHEADER_H is not defined, if configure has determined that someheader.h isn't present? Or, do some [broken] compilers choke on "#undef AN_UNDEFINED_SYMBOL"?

The explanation for this is simple. If the user wants to manually define the value (e.g. via configure CPPFLAGS argument) she can do so without the problem that the value set is immediately unset again by config.h.


Bob
======================================
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux