]> git.proxmox.com Git - mirror_frr.git/commit - configure.ac
[autoconf] GNU_SOURCE can be defined twice, through AC_FUNC_STRNLEN
authorPaul Jakma <paul.jakma@sun.com>
Thu, 10 May 2007 16:53:04 +0000 (16:53 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Thu, 10 May 2007 16:53:04 +0000 (16:53 +0000)
commitd46d2a24e997883d9e2623b4de36aa4a08ffc89c
tree31f05936514cb4125c39fee731631e0571d7cdd6
parent6bd1a7bab32b6b077bee687161c43dc0fe82076f
[autoconf] GNU_SOURCE can be defined twice, through AC_FUNC_STRNLEN

2007-05-10 Paul Jakma <paul.jakma@sun.com>

* 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
configure.ac
lib/ChangeLog
lib/zebra.h