From d46d2a24e997883d9e2623b4de36aa4a08ffc89c Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Thu, 10 May 2007 16:53:04 +0000 Subject: [autoconf] GNU_SOURCE can be defined twice, through AC_FUNC_STRNLEN 2007-05-10 Paul Jakma * configure.ac: Use AC_GNU_SOURCE to define _GNU_SOURCE, rather than having lib/zebra.h do it. AC_FUNC_STRNLEN has side-effects with latest autoconf, use AC_CHECK_FUNC on strnlen instead. * lib/zebra.h: Don't try define _GNU_SOURCE, autoconf should do it. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9d90f518..4de8e87e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ * configure.ac: Add back check for inet_aton, which got dropped somehow in previous jumbo patch. + Use AC_GNU_SOURCE to define _GNU_SOURCE, rather than having + lib/zebra.h do it. + AC_FUNC_STRNLEN has side-effects with latest autoconf, use + AC_CHECK_FUNC on strnlen instead. 2007-05-09 Paul Jakma -- cgit v1.2.1