summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2014-06-28 20:22:55 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2015-02-14 19:18:20 +0100
commit79f74962d20fa2c90df5a57335fc3b5e19bfeccf (patch)
treea3e33a5bf3384f23ee3f4cb813db788a4b8d48df
parent369b973e42f2b4f00a02e3ca8a1c6f1b252cf4ae (diff)
downloadquagga-79f74962d20fa2c90df5a57335fc3b5e19bfeccf.tar.bz2
quagga-79f74962d20fa2c90df5a57335fc3b5e19bfeccf.tar.xz
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 <equinox@opensourcerouting.org> Acked-by: Greg Troxel <gdt@ir.bbn.com> Acked-by: Feng Lu <lu.feng@6wind.com> Acked-by: Paul Jakma <paul@jakma.org>
-rwxr-xr-xconfigure.ac7
1 files changed, 0 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index a01c9a7b..73cbda9c 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1406,13 +1406,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 ---------------------------