Add checks for more versions of FreeBSD, from bug #454
authoraland <aland>
Fri, 25 May 2007 09:55:18 +0000 (09:55 +0000)
committeraland <aland>
Fri, 25 May 2007 09:55:18 +0000 (09:55 +0000)
configure
configure.in

index 577b4d4..a90d027 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.236 .
+# From configure.in Revision: 1.237 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.60.
 #
@@ -26138,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
index 6ae6aa7..7118d40 100644 (file)
@@ -897,7 +897,7 @@ dnl We need #stdio.h to define NULL on FreeBSD (at least)
 gethostbyaddrrstyle=""
 AC_MSG_CHECKING([gethostbyaddr_r() syntax])
 case "$host" in
-*-freebsd*)
+*-freebsd[45].*|*-freebsd6.[01])
        AC_DEFINE(GETHOSTBYADDRRSTYLE, BSDSTYLE, [style of gethostbyaddr_r functions ])
        gethostbyaddrrstyle=BSD
        AC_MSG_WARN([FreeBSD overridden to BSD-style])