$ cat configure.ac
AC_INIT
AC_AIX
AC_DEFINE(__EXTENSIONS__, 1, [Defined on Solaris to see additional function 
prototypes.])
AC_CONFIG_HEADERS([config.h])
AC_OUTPUT
$ autoheader
autoheader: warning: missing template: _ALL_SOURCE
autoheader: Use AC_DEFINE([_ALL_SOURCE], [], [Description])
autoheader: warning: missing template: _GNU_SOURCE
autoheader: warning: missing template: _POSIX_PTHREAD_SEMANTICS
autoheader: warning: missing template: _TANDEM_SOURCE

The same works when moving AC_AIX down after the AC_DEFINE.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to