> "Kevin" == Kevin Ryde <[EMAIL PROTECTED]> writes:
Kevin> I thought of using AC_CONFIG_FILES, but that put settings
Kevin> through into the makefiles, which is harmless but
Kevin> AC_CONFIG_HEADERS seemed better suited to #defines. I guess
Kevin> also there's no reason not to use a separate
Akim Demaille <[EMAIL PROTECTED]> writes:
>
> This is typically what should happen in config.h. config.h is
> strictly equivalent to a series of -D flags passed to the compiler.
> Anything else, such as including a header, belongs to system.h.
>
> Really, unless I misunderstood something, you a
Akim Demaille <[EMAIL PROTECTED]> writes:
> This is typically what should happen in config.h. config.h is
s/should/should not/
> strictly equivalent to a series of -D flags passed to the compiler.
> Anything else, such as including a header, belongs to system.h.
>
> Really, unless I misunders
Kevin Ryde <[EMAIL PROTECTED]> writes:
> I'm using AM_CONFIG_HEADER to insert a couple of configure-time
> defines into headers which will be installed. This works well, except
> that I want to have one literal #undef pass through, rather than be
> commented out like normally happens.
>
> Perha
Guido Draheim <[EMAIL PROTECTED]> writes:
>
> #ifdef __undef_need_size_t
> #undef __need_size_t
> #endif
No, that still gets transformed to
#ifdef __undef_need_size_t
/* #undef __need_size_t */
#endif
> BTW, if you want to install a config.h file, you may want to use th
Kevin Ryde wrote:
>
> #define __need_size_t
> #include
> #undef __need_size_t /*NOTATEMPLATE*/
#ifdef __undef_need_size_t
#undef __need_size_t
#endif
BTW, if you want to install a config.h file, you may want to use this:
http://pfe.sourceforge.net/autoconf/ac_prefix_