autoconf
[Top][All Lists]
Advanced

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

config headers and #undefs


From: Kevin Ryde
Subject: config headers and #undefs
Date: 08 Mar 2001 07:04:26 +1000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

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*/

Attachment: acgeneral.m4.undef.diff
Description: Source code patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]