mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:37:29 +00:00
* configure.ac: Actually test whether libc has IPv6 support.
[backport candidate]
This commit is contained in:
parent
ea6f82b979
commit
850d39f340
@ -1,3 +1,7 @@
|
||||
2005-06-30 Louis Lagendijk <louis.lagendijk@gmail.com>
|
||||
|
||||
* configure.ac: Actually test whether libc has IPv6 support.
|
||||
|
||||
2005-06-28 Paul Jakma <paul.jakma@sun.com>
|
||||
|
||||
* INSTALL.quagga.txt: GNU make is required now, because of manual
|
||||
|
14
configure.ac
14
configure.ac
@ -5,7 +5,7 @@
|
||||
## Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro <kunihiro@zebra.org>
|
||||
## Portions Copyright (c) 2003 Paul Jakma <paul@dishone.st>
|
||||
##
|
||||
## $Id: configure.ac,v 1.108 2005/05/13 20:11:53 paul Exp $
|
||||
## $Id: configure.ac,v 1.109 2005/06/30 13:52:20 hasso Exp $
|
||||
AC_PREREQ(2.53)
|
||||
|
||||
AC_INIT(Quagga, 0.99.1, [http://bugzilla.quagga.net])
|
||||
@ -801,6 +801,18 @@ dnl ----------
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$zebra_cv_linux_ipv6" = "yes";then
|
||||
AC_MSG_CHECKING(whether libc has IPv6 support)
|
||||
AC_TRY_LINK([#include <netinet/in.h>
|
||||
],[ int a; a = (int) in6addr_any.s6_addr[0]; if (a != 12345) return a; ],
|
||||
[AC_MSG_RESULT(yes)
|
||||
zebra_cv_ipv6=yes
|
||||
zebra_cv_linux_ipv6=yes],
|
||||
[AC_MSG_RESULT(no)
|
||||
zebra_cv_ipv6=no
|
||||
zebra_cv_linux_ipv6=no])
|
||||
fi
|
||||
|
||||
if test "$zebra_cv_linux_ipv6" = "yes";then
|
||||
AC_MSG_CHECKING(for GNU libc >= 2.1)
|
||||
AC_DEFINE(HAVE_IPV6,1,Linux IPv6)
|
||||
|
Loading…
Reference in New Issue
Block a user