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.
>
> Perhaps a special marker could stop selected #undef's from getting
> transformed, for instance,
>
> #define __need_size_t
> #include <stddef.h>
> #undef __need_size_t /*NOTATEMPLATE*/
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 are getting out of the
Autoconf model.