aboutsummaryrefslogtreecommitdiff
path: root/net/freeradius-client/files/patch-configure.in
blob: 29cc13e45c689c31930633bced49cec7c33cbf86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- configure.in.orig	2015-01-19 16:18:26 UTC
+++ configure.in
@@ -66,14 +66,6 @@ dnl     http://h30097.www3.hp.com/docs/base_doc/DOCUME
 dnl We need #stdio.h to define NULL on FreeBSD (at least)
 gethostbyaddrrstyle=""
 AC_MSG_CHECKING([gethostbyaddr_r() syntax])
-case "$host" in
-*-freebsd*)
-	AC_DEFINE([GETHOSTBYADDR_R], [], [Define to 1 us gethostbyaddr_r()])
-        AC_DEFINE([GETHOSTBYADDRRSTYLE_BSD], [], [Define to 1 to use bsd-style gethostbyaddr_r()])
-        gethostbyaddrrstyle=BSD
-        AC_MSG_WARN([FreeBSD overridden to BSD-style])
-        ;;
-esac
 if test "x$gethostbyaddrrstyle" = "x"; then
         AC_TRY_LINK([
 #include <stdio.h>