[krbdev.mit.edu #7961] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Jul 8 20:17:08 EDT 2014


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.

https://github.com/krb5/krb5/commit/7ecf85644d8ef616781e6689a8dd504316cb6d7a
Author: Greg Hudson <ghudson at mit.edu>
Commit: 7ecf85644d8ef616781e6689a8dd504316cb6d7a
Branch: master
 src/aclocal.m4 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)



More information about the krb5-bugs mailing list