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

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

 



Hello,

On Tue, Oct 25, 2005 at 12:06:30PM -0700, Bruce Korb wrote:
> OTOH, if your project flat won't work on any platform without config.h:
> 
>   #ifndef HAVE_CONFIG_H
>   #define HAVE_CONFIG_H 1
>   #endif
>   #include "config.h"

no need for the define, just #include "config.h".  Nothing checks for
HAVE_CONFIG_H after that point.

But the project cannot use any 3rd party sources which rely on HAVE_CONFIG_H,
like the source files distributed by gnulib, or ansi2knr.c .

Have a nice day,
	Stepan


_______________________________________________
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