]> git.tuebingen.mpg.de Git - paraslash.git/commit - net.c
Remove explicit uses of _GNU_SOURCE.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 27 Mar 2016 02:22:40 +0000 (02:22 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 12 Jun 2016 11:00:50 +0000 (13:00 +0200)
commit850d5bca5d6a1be6a63e3fca8aea83fe0c1290c8
tree5267fbeaf33808a5e973c6d00ce609db577955ac
parentb3743e87ca24d2fbdd857af5653cafa0645c6b45
Remove explicit uses of _GNU_SOURCE.

The best way to add these flags is to use the autoconf helper
AC_USE_SYSTEM_EXTENSIONS. This macro adds defines to config.h, so we
must include config.h (via para.h) before anything else. The two files
for which this matters are fixed by moving the include directive for
para.h to the top.

The AC_USE_SYSTEM_EXTENSIONS macro was introduced in Autoconf 2.60,
which was released ten years ago. The existing AC_PREREQ([2.61])
check in configure.ac makes sure the macro is defined.
configure.ac
net.c
string.c