Add checks for more versions of FreeBSD, from bug #454
[freeradius.git] / configure
index 2abb904..a90d027 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.233 .
+# From configure.in Revision: 1.237 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.60.
 #
@@ -1477,7 +1477,7 @@ Optional Packages:
   --with-openssl-libraries=DIR     Directory to look for OpenSSL library files
   --with-rlm-FOO-lib-dir=DIR       Directory to look for library files used by module FOO
   --with-rlm-FOO-include-dir=DIR   Directory to look for include files used by module FOO
-  --with-udpfromto        Compile in UDPFROMTO support. (default=no)
+  --with-udpfromto        Compile in UDPFROMTO support. (default=yes)
 
 Some influential environment variables:
   CC          C compiler command
@@ -1919,7 +1919,7 @@ ac_config_headers="$ac_config_headers src/include/autoconf.h"
 
 
 RADIUSD_MAJOR_VERSION=2
-RADIUSD_MINOR_VERSION=0.0-pre0
+RADIUSD_MINOR_VERSION=0.0-pre1
 RADIUSD_VERSION="${RADIUSD_MAJOR_VERSION}.${RADIUSD_MINOR_VERSION}"
 PACKAGE=freeradius
 
@@ -20492,7 +20492,7 @@ fi
 
 
 
-WITH_UDPFROMTO=no
+WITH_UDPFROMTO=yes
 
 # Check whether --with-udpfromto was given.
 if test "${with_udpfromto+set}" = set; then
@@ -24406,6 +24406,7 @@ fi
 
 
 
+
 for ac_func in \
        getopt_long \
        lockf \
@@ -24432,6 +24433,7 @@ for ac_func in \
        getaddrinfo \
        getnameinfo \
        closefrom \
+       gettimeofday \
        strlcat \
        strlcpy
 
@@ -26136,7 +26138,7 @@ gethostbyaddrrstyle=""
 { echo "$as_me:$LINENO: checking gethostbyaddr_r() syntax" >&5
 echo $ECHO_N "checking gethostbyaddr_r() syntax... $ECHO_C" >&6; }
 case "$host" in
-*-freebsd*)
+*-freebsd45.*|*-freebsd6.01)
 
 cat >>confdefs.h <<\_ACEOF
 #define GETHOSTBYADDRRSTYLE BSDSTYLE