]> git.ipfire.org Git - thirdparty/krb5.git/commit
Define _GNU_SOURCE for glibc extensions
authorGreg Hudson <ghudson@mit.edu>
Sat, 5 Jul 2014 16:01:40 +0000 (12:01 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 8 Jul 2014 23:19:31 +0000 (19:19 -0400)
commit7ecf85644d8ef616781e6689a8dd504316cb6d7a
treeb2bd70f1d31a2076450d9a8592f6c1be42cbc9b7
parent02a1123cf44381690c28f18ab2c4ba8036200539
Define _GNU_SOURCE for glibc extensions

glibc does not declare a number of common, useful extensions such as
asprintf unless _GNU_SOURCE is defined.  Define it early in the
configure process so that it is available for autoconf tests.

Defining _GNU_SOURCE unfortunately causes glibc to use the non-POSIX
version of strerror_r, which we now handle using the k5-platform.h
wrapper.

ticket: 7961
src/aclocal.m4