Rerun autoconf (2.13) and autoheader (2.13)
authorphampson <phampson>
Sun, 22 Jun 2003 10:06:08 +0000 (10:06 +0000)
committerphampson <phampson>
Sun, 22 Jun 2003 10:06:08 +0000 (10:06 +0000)
configure
src/include/autoconf.h.in

index 667879a..0d45c22 100755 (executable)
--- a/configure
+++ b/configure
@@ -727,7 +727,7 @@ fi
 
 
 
-# From configure.in Revision: 1.170 
+# From configure.in Revision: 1.175 
 RADIUSD_MAJOR_VERSION=0
 RADIUSD_MINOR_VERSION=9-pre
 RADIUSD_VERSION="${RADIUSD_MAJOR_VERSION}.${RADIUSD_MINOR_VERSION}"
@@ -2002,7 +2002,7 @@ else
   if { (eval echo configure:2003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     for file in conftest.*; do
       case $file in
-      *.c | *.o | *.obj) ;;
+      *.$ac_ext | *.c | *.o | *.obj) ;;
       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
       esac
     done
@@ -7980,13 +7980,35 @@ cat > conftest.$ac_ext <<EOF
 #include "confdefs.h"
 #include <netdb.h>
 int main() {
- gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL)  
+ gethostbyaddr(NULL, 0, 0)  
 ; return 0; }
 EOF
 if { (eval echo configure:7987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   
        cat >> confdefs.h <<\EOF
+#define GETHOSTBYADDRRSTYLE BSDSTYLE
+EOF
+
+       gethostbyaddrrstyle=BSD
+
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+fi
+rm -f conftest*
+cat > conftest.$ac_ext <<EOF
+#line 8002 "configure"
+#include "confdefs.h"
+#include <netdb.h>
+int main() {
+ gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL)  
+; return 0; }
+EOF
+if { (eval echo configure:8009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+  rm -rf conftest*
+  
+       cat >> confdefs.h <<\EOF
 #define GETHOSTBYADDRRSTYLE SYSVSTYLE
 EOF
 
@@ -7998,14 +8020,14 @@ else
 fi
 rm -f conftest*
 cat > conftest.$ac_ext <<EOF
-#line 8002 "configure"
+#line 8024 "configure"
 #include "confdefs.h"
 #include <netdb.h>
 int main() {
  gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL) 
 ; return 0; }
 EOF
-if { (eval echo configure:8009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   
        cat >> confdefs.h <<\EOF
@@ -8020,39 +8042,97 @@ else
 fi
 rm -f conftest*
 
+if test "x$gethostbyaddrrstyle" = "x"; then
+       echo "$ac_t""none!  It must not exist, here." 1>&6
+else
+       echo "$ac_t""${gethostbyaddrrstyle}-style" 1>&6
+       if test "$gethostbyaddrrstyle" = "BSD"; then
+               echo "configure: warning:  ****** BSD Style gethostbyaddr might NOT be thread-safe! ****** " 1>&2
+       fi
+fi
+
+gethostbynamerstyle=""
+echo $ac_n "checking gethostbyname_r() syntax""... $ac_c" 1>&6
+echo "configure:8057: checking gethostbyname_r() syntax" >&5
 cat > conftest.$ac_ext <<EOF
-#line 8025 "configure"
+#line 8059 "configure"
 #include "confdefs.h"
 #include <netdb.h>
 int main() {
- gethostbyaddr(NULL, 0, 0)  
+ gethostbyname(NULL)  
 ; return 0; }
 EOF
-if { (eval echo configure:8032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   
        cat >> confdefs.h <<\EOF
-#define GETHOSTBYADDRRSTYLE BSDSTYLE
+#define GETHOSTBYNAMERSTYLE BSDSTYLE
 EOF
 
-       gethostbyaddrrstyle=BSD
+       gethostbynamerstyle=BSD
+
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+fi
+rm -f conftest*
+cat > conftest.$ac_ext <<EOF
+#line 8081 "configure"
+#include "confdefs.h"
+#include <netdb.h>
+int main() {
+ gethostbyname_r(NULL, NULL, NULL, 0, NULL)  
+; return 0; }
+EOF
+if { (eval echo configure:8088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+  rm -rf conftest*
+  
+       cat >> confdefs.h <<\EOF
+#define GETHOSTBYNAMERSTYLE SYSVSTYLE
+EOF
+
+       gethostbynamerstyle=SYSV
 
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
 fi
 rm -f conftest*
+cat > conftest.$ac_ext <<EOF
+#line 8103 "configure"
+#include "confdefs.h"
+#include <netdb.h>
+int main() {
+ gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL) 
+; return 0; }
+EOF
+if { (eval echo configure:8110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+  rm -rf conftest*
+  
+       cat >> confdefs.h <<\EOF
+#define GETHOSTBYNAMERSTYLE GNUSTYLE
+EOF
+
+       gethostbynamerstyle=GNU
 
-if test "x$gethostbyaddrrstyle" = "x"; then
-       echo "$ac_t""none!  It must not exist, here." 1>&6
 else
-       echo "$ac_t""${gethostbyaddrrstyle}-style" 1>&6
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
 fi
+rm -f conftest*
 
+if test "x$gethostbynamerstyle" = "x"; then
+       echo "$ac_t""none!  It must not exist, here." 1>&6
+else
+       echo "$ac_t""${gethostbynamerstyle}-style" 1>&6
+       if test "$gethostbynamerstyle" = "BSD"; then
+               echo "configure: warning:  ****** BSD Style gethostbyname might NOT be thread-safe! ****** " 1>&2
+       fi
+fi
 
 if test x"$rad_enable_largefiles" = xyes ; then
     echo $ac_n "checking for largefile linkage""... $ac_c" 1>&6
-echo "configure:8056: checking for largefile linkage" >&5
+echo "configure:8136: checking for largefile linkage" >&5
     case "$host" in
     *-aix4.01*)
         echo "$ac_t""no" 1>&6
@@ -8089,7 +8169,7 @@ EOF
         # 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:8093: checking for $ac_word" >&5
+echo "configure:8173: 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
index edc7426..8fc3f6d 100644 (file)
@@ -1,4 +1,4 @@
-/* src/include/autoconf.h.in.  Generated automatically from configure.in by autoheader.  */
+/* src/include/autoconf.h.in.  Generated automatically from configure.in by autoheader 2.13.  */
 /*
 
 acconfig.h - template used by autoheader to create config.h.in
@@ -48,14 +48,13 @@ config.h - created by autoconf; contains defines generated by autoconf
 /* style of gethost*_r functions */
 #define GNUSTYLE 1
 #define SYSVSTYLE 2
+#define BSDSTYLE 3
 #undef GETHOSTBYADDRRSTYLE
+#undef GETHOSTBYNAMERSTYLE
 
 /* Do we have the crypt function ? */
 #undef HAVE_CRYPT
 
-/* Make dictionary case-independant */
-#undef WITH_DICT_NOCASE
-
 /* Include support for Ascend binary filter attributes */
 #undef ASCEND_BINARY
 
@@ -206,12 +205,12 @@ config.h - created by autoconf; contains defines generated by autoconf
 /* Define if you have the <semaphore.h> header file.  */
 #undef HAVE_SEMAPHORE_H
 
-/* Define if you have the <siad.h> header file.  */
-#undef HAVE_SIAD_H
-
 /* Define if you have the <sia.h> header file.  */
 #undef HAVE_SIA_H
 
+/* Define if you have the <siad.h> header file.  */
+#undef HAVE_SIAD_H
+
 /* Define if you have the <signal.h> header file.  */
 #undef HAVE_SIGNAL_H
 
@@ -227,9 +226,6 @@ config.h - created by autoconf; contains defines generated by autoconf
 /* Define if you have the <sys/fcntl.h> header file.  */
 #undef HAVE_SYS_FCNTL_H
 
-/* Define if you have the <syslog.h> header file.  */
-#undef HAVE_SYSLOG_H
-
 /* Define if you have the <sys/ndir.h> header file.  */
 #undef HAVE_SYS_NDIR_H
 
@@ -251,6 +247,9 @@ config.h - created by autoconf; contains defines generated by autoconf
 /* Define if you have the <sys/wait.h> header file.  */
 #undef HAVE_SYS_WAIT_H
 
+/* Define if you have the <syslog.h> header file.  */
+#undef HAVE_SYSLOG_H
+
 /* Define if you have the <unistd.h> header file.  */
 #undef HAVE_UNISTD_H
 
@@ -269,6 +268,10 @@ config.h - created by autoconf; contains defines generated by autoconf
 /* Define if you have the socket library (-lsocket).  */
 #undef HAVE_LIBSOCKET
 
+/* Some versions of glibc need this defined for pread/pwrite. */
+#undef _GNU_SOURCE
+
+
 #ifndef HAVE_SNPRINTF
 #define HAVE_LOCAL_SNPRINTF
 #define snprintf lrad_snprintf