Hi there,
I have a library package which uses AC_CONFIG_HEADERS to create a
non-installed generic config.h header as well as an installed header
providing (very few) configuration options for the library, with the
#define's suitably named (e.g. _LIBFOO_FEATURE_BAZ).
My intent is to autoheader-create config.h.in with the generic results
and use my self-written libfoo_conf.h.in, therefore I use things like
AC_DEFINE([_LIBFOO_FEATURE_BAZ], 1)
(or AC_DEFINE_UNQUOTED) for the substitutions, without a third
parameter as not to have a template in config.h.in, but define the
variable anyway. I feel only defining things once will make the
build process less error-prone.
Now current CVS autoheader (2.59a) gives me
|autoheader: warning: missing template: _LIBFOO_FEATURE_BAZ
|autoheader: Use AC_DEFINE([_LIBFOO_FEATURE_BAZ], [], [Description])
Is this deprecated usage? How is my goal best accomplished?
Is having duplicate sets of defines in config.h/libfoo_conf.h the
solution of choice? Then I'd suggest the description in
info '(autoconf.info)Defining Symbols' to be more precise (where
only the usage with one parameter is explicitly discouraged).