Re: How to get a literal #undef into config.h

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

 



On Tuesday 25 October 2005 3:45 pm, Brian wrote:
> Great thanks for the tips. I see its a bit chicken and egg, but is there a
> reason config.h couldn't just define HAVE_CONFIG_H?

Because your source file is expected to use logic like this:--

  #ifdef  HAVE_CONFIG_H
  #include "config.h"
  #endif

so if it isn't defined on the command line, config.h will never get the 
chance to define *anything*.

HTH.

Regards,
Keith.


_______________________________________________
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