autoconf/lib
Zack Weinberg 4e310e78cb
Update documentation of AC_USE_SYSTEM_EXTENSIONS.
The list of macros documented as being defined by
AC_USE_SYSTEM_EXTENSIONS had gotten out of sync with the actual list.
Update it thoroughly.

Also, I introduced an error into the commentary when I merged Julien
ÉLIE’s patch to define _NETBSD_SOURCE and _OPENBSD_SOURCE in
AC_USE_SYSTEM_EXTENSIONS.  _OPENBSD_SOURCE does something on NetBSD
and *doesn’t* do anything on OpenBSD.  This is corrected.

Clean up the code in AC_USE_SYSTEM_EXTENSIONS a bit while I’m in
there; we now had a redundant definition of _NETBSD_SOURCE (one
unconditional and one conditional on minix/config.h existing).
Reorganize the macro to make it easier to catch problems like this in
the future.

* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Reorganize;
  remove redundant AC_DEFINE of _NETBSD_SOURCE; add some missing
  AC_BEFOREs; use _AC_CHECK_HEADER_ONCE for header checks;
  revise all commentary.
* doc/autoconf.texi (AC_USE_SYSTEM_EXTENSIONS): Update.
2020-12-07 17:17:40 -05:00
..
autoconf Update documentation of AC_USE_SYSTEM_EXTENSIONS. 2020-12-07 17:17:40 -05:00
Autom4te mktmpdir: Ensure that $tmp is always an absolute pathname. 2020-09-24 16:06:23 -04:00
autoscan
autotest Autotest: add official way to execute code before all/each test. 2020-12-02 10:29:25 -05:00
emacs
m4sugar AS_ECHO(_N): Do not expand macros named ‘s’ or ‘n’ (#110377) 2020-11-16 10:03:39 -05:00
autom4te.in Improve handling of missing aux scripts (autoreconf) 2020-10-20 16:57:01 -04:00
freeze.mk Port build procedure to AIX 7.1 2020-07-17 18:43:38 -07:00
local.mk Do not apply --program-transform-name to build-aux scripts. 2020-11-05 10:19:26 -05:00