On 27 May 2016 at 12:56, A.P. Horst <address@hidden> wrote:
I am trying to output an additional header file which should hold a small
subset if the defines in the regular config.h.
Currently my simple test setup is set to create test.h:
AC_CONFIG_HEADERS([config.h test.h])
I have written test.h.in, in which I just copied over a #undef entry from
config.h.in:
/* HAVE_FOO_H */
#undef HAVE_FOO_H
Which is generated by autoreconf (autoheader) from an AC_DEFINE statement.
When doing configure, it says it creates test.h:
config.status: creating config.h
config.status: creating test.h
And it does. But test.h still has the #undef line, while config.h correctly
has the #undef line replaced.
What am I missing here or doing wrong?
If you emailed a small, self-contained example with this problem, I'd
try to work out what was going wrong with it.
_______________________________________________
Autoconf mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/autoconf