From: David Lamparter Date: Sat, 28 Jun 2014 18:22:55 +0000 (+0200) Subject: build: remove bogus/deprecated inet_* tests X-Git-Tag: frr-2.0-rc1~768 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3a0d83b6890ab32b5d2bf23fd16233c605af9f3e;p=matthieu%2Ffrr.git build: remove bogus/deprecated inet_* tests These actually break configure on FreeBSD very subtly, because inet_aton and __inet_aton are both detected, and then later other tests get warnings about HAVE_INET_ATON being defined twice. That said, they're incorrect to begin with since they detect alternative functions but there is nothing in place to actually use these alternates. Signed-off-by: David Lamparter Acked-by: Greg Troxel Acked-by: Feng Lu Acked-by: Paul Jakma (cherry picked from commit 79f74962d20fa2c90df5a57335fc3b5e19bfeccf) --- diff --git a/configure.ac b/configure.ac index 5461e362be..2672b0fa6a 100755 --- a/configure.ac +++ b/configure.ac @@ -1440,13 +1440,6 @@ AC_CHECK_LIB(c, inet_pton, [AC_DEFINE(HAVE_INET_PTON,,inet_pton)]) AC_CHECK_LIB(crypt, crypt) AC_CHECK_LIB(resolv, res_init) -dnl --------------------------------------------------- -dnl BSD/OS 4.1 define inet_XtoY function as __inet_XtoY -dnl --------------------------------------------------- -AC_CHECK_FUNC(__inet_ntop, AC_DEFINE(HAVE_INET_NTOP,,__inet_ntop)) -AC_CHECK_FUNC(__inet_pton, AC_DEFINE(HAVE_INET_PTON,,__inet_pton)) -AC_CHECK_FUNC(__inet_aton, AC_DEFINE(HAVE_INET_ATON,,__inet_aton)) - dnl --------------------------- dnl check system has PCRE regexp dnl ---------------------------