-# From configure.in Revision: 1.177.2.9
+# From configure.in Revision: 1.177.2.10
RADIUSD_MAJOR_VERSION=0
RADIUSD_MINOR_VERSION=9.1
RADIUSD_VERSION="${RADIUSD_MAJOR_VERSION}.${RADIUSD_MINOR_VERSION}"
gethostbyaddrrstyle=""
echo $ac_n "checking gethostbyaddr_r() syntax""... $ac_c" 1>&6
echo "configure:7978: checking gethostbyaddr_r() syntax" >&5
-cat > conftest.$ac_ext <<EOF
-#line 7980 "configure"
+case "$host" in
+*-freebsd*)
+ cat >> confdefs.h <<\EOF
+#define GETHOSTBYADDRRSTYLE BSDSTYLE
+EOF
+
+ gethostbyaddrrstyle=BSD
+ echo "configure: warning: FreeBSD overridden to BSD-style" 1>&2
+ ;;
+esac
+if test "x$gethostbyaddrrstyle" = "x"; then
+ cat > conftest.$ac_ext <<EOF
+#line 7991 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL)
; return 0; }
EOF
-if { (eval echo configure:7990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
cat >> confdefs.h <<\EOF
cat conftest.$ac_ext >&5
fi
rm -f conftest*
+fi
if test "x$gethostbyaddrrstyle" = "x"; then
cat > conftest.$ac_ext <<EOF
-#line 8006 "configure"
+#line 8018 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL)
; return 0; }
EOF
-if { (eval echo configure:8016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
cat >> confdefs.h <<\EOF
fi
if test "x$gethostbyaddrrstyle" = "x"; then
cat > conftest.$ac_ext <<EOF
-#line 8033 "configure"
+#line 8045 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyaddr(NULL, 0, 0)
; return 0; }
EOF
-if { (eval echo configure:8043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
cat >> confdefs.h <<\EOF
gethostbynamerstyle=""
echo $ac_n "checking gethostbyname_r() syntax""... $ac_c" 1>&6
-echo "configure:8068: checking gethostbyname_r() syntax" >&5
+echo "configure:8080: checking gethostbyname_r() syntax" >&5
cat > conftest.$ac_ext <<EOF
-#line 8070 "configure"
+#line 8082 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL)
; return 0; }
EOF
-if { (eval echo configure:8080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
cat >> confdefs.h <<\EOF
rm -f conftest*
if test "x$gethostbynamerstyle" = "x"; then
cat > conftest.$ac_ext <<EOF
-#line 8096 "configure"
+#line 8108 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyname_r(NULL, NULL, NULL, 0, NULL)
; return 0; }
EOF
-if { (eval echo configure:8106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
cat >> confdefs.h <<\EOF
fi
if test "x$gethostbynamerstyle" = "x"; then
cat > conftest.$ac_ext <<EOF
-#line 8123 "configure"
+#line 8135 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyname(NULL)
; return 0; }
EOF
-if { (eval echo configure:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
cat >> confdefs.h <<\EOF
if test x"$rad_enable_largefiles" = xyes ; then
echo $ac_n "checking for largefile linkage""... $ac_c" 1>&6
-echo "configure:8158: checking for largefile linkage" >&5
+echo "configure:8170: checking for largefile linkage" >&5
case "$host" in
*-aix4.01*)
echo "$ac_t""no" 1>&6
# Extract the first word of "getconf", so it can be a program name with args.
set dummy getconf; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:8195: checking for $ac_word" >&5
+echo "configure:8207: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GETCONF'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else