]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Define _NETBSD_SOURCE and _OPENBSD_SOURCE in AC_USE_SYSTEM_EXTENSIONS (#110392)
authorJulien ÉLIE <julien@trigofacile.com>
Sun, 6 Dec 2020 15:45:35 +0000 (10:45 -0500)
committerZack Weinberg <zackw@panix.com>
Sun, 6 Dec 2020 15:53:58 +0000 (10:53 -0500)
commitc467efab94cd2d0331655d68d067fa0719fc8762
treee86e45f14fb08e556899ecce8d9a563e74bc3b4e
parentc38538737c6d221674b9bc746b6b1430f64d4aaa
Define _NETBSD_SOURCE and _OPENBSD_SOURCE in AC_USE_SYSTEM_EXTENSIONS (#110392)

These expose additional extensions specific to those operating
systems, similar to _DARWIN_C_SOURCE, _GNU_SOURCE, etc.

(DragonflyBSD and FreeBSD currently do not have any equivalent
macros.)

Fixes bug #110392.  See also
https://git.savannah.gnu.org/cgit/gnulib.git/tree/m4/extensions.m4
https://git.eyrie.org/?p=devel/rra-c-util.git;a=commitdiff;h=f8a922cf31804dcc25ac176dcc22fdcdffcb5fdf

* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Also define
  _NETBSD_SOURCE and _OPENBSD_SOURCE.  Add comment explaining that
  there are (currently) no equivalent macros on DragonflyBSD and
  FreeBSD.  Put macro list in alphabetical order.
lib/autoconf/specific.m4