-# From configure.in Revision: 1.197
+# From configure.in Revision: 1.199
RADIUSD_MAJOR_VERSION=1
-RADIUSD_MINOR_VERSION=0.0-pre0
+RADIUSD_MINOR_VERSION=1.0-pre0
RADIUSD_VERSION="${RADIUSD_MAJOR_VERSION}.${RADIUSD_MINOR_VERSION}"
gethostname \
setlinebuf \
setvbuf \
- getusershell
+ getusershell \
+ initgroups
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7689: checking for $ac_func" >&5
+echo "configure:7690: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7694 "configure"
+#line 7695 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
do
echo $ac_n "checking whether $ac_func must be declared""... $ac_c" 1>&6
-echo "configure:7753: checking whether $ac_func must be declared" >&5
+echo "configure:7754: checking whether $ac_func must be declared" >&5
if eval "test \"`echo '$''{'radius_cv_decl_needed_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7758 "configure"
+#line 7759 "configure"
#include "confdefs.h"
#include <stdio.h>
char *(*pfn) = (char *(*)) $ac_func
; return 0; }
EOF
-if { (eval echo configure:7813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "radius_cv_decl_needed_$ac_func=no"
else
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
-echo "configure:7840: checking return type of signal handlers" >&5
+echo "configure:7841: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7845 "configure"
+#line 7846 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
int i;
; return 0; }
EOF
-if { (eval echo configure:7862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_signal=void
else
then
echo $ac_n "checking for ut_xtime in struct utmpx""... $ac_c" 1>&6
-echo "configure:7885: checking for ut_xtime in struct utmpx" >&5
+echo "configure:7886: checking for ut_xtime in struct utmpx" >&5
cat > conftest.$ac_ext <<EOF
-#line 7889 "configure"
+#line 7890 "configure"
#include "confdefs.h"
#include <utmpx.h>
int foo = offsetof(struct utmpx, ut_xtime)
; return 0; }
EOF
-if { (eval echo configure:7901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
has_element=" "
else
echo $ac_n "checking for ipi_addr in struct in_pktinfo""... $ac_c" 1>&6
-echo "configure:7932: checking for ipi_addr in struct in_pktinfo" >&5
+echo "configure:7933: checking for ipi_addr in struct in_pktinfo" >&5
cat > conftest.$ac_ext <<EOF
-#line 7936 "configure"
+#line 7937 "configure"
#include "confdefs.h"
#include <netinet/in.h>
int foo = offsetof(struct in_pktinfo, ipi_addr)
; return 0; }
EOF
-if { (eval echo configure:7948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
has_element=" "
else
echo $ac_n "checking for working const""... $ac_c" 1>&6
-echo "configure:7978: checking for working const" >&5
+echo "configure:7979: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7983 "configure"
+#line 7984 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
-if { (eval echo configure:8032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
echo $ac_n "checking type of OS""... $ac_c" 1>&6
-echo "configure:8054: checking type of OS" >&5
+echo "configure:8055: checking type of OS" >&5
OS=`uname -s`
echo "$ac_t""$OS" 1>&6
if test "$OS" = "OS/2"; then
fi
echo $ac_n "checking for developer gcc flags""... $ac_c" 1>&6
-echo "configure:8069: checking for developer gcc flags" >&5
+echo "configure:8070: checking for developer gcc flags" >&5
if test "x$developer" = "xyes" -a "x$GCC" = "xyes"; then
devflags="-g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef"
CFLAGS="$CFLAGS $devflags"
echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
-echo "configure:8084: checking for crypt in -lcrypt" >&5
+echo "configure:8085: checking for crypt in -lcrypt" >&5
ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lcrypt $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 8092 "configure"
+#line 8093 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
crypt()
; return 0; }
EOF
-if { (eval echo configure:8103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
else
echo $ac_n "checking for crypt""... $ac_c" 1>&6
-echo "configure:8131: checking for crypt" >&5
+echo "configure:8132: checking for crypt" >&5
if eval "test \"`echo '$''{'ac_cv_func_crypt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8136 "configure"
+#line 8137 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char crypt(); below. */
; return 0; }
EOF
-if { (eval echo configure:8159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_crypt=yes"
else
fi
echo $ac_n "checking for setkey in -lcipher""... $ac_c" 1>&6
-echo "configure:8184: checking for setkey in -lcipher" >&5
+echo "configure:8185: checking for setkey in -lcipher" >&5
ac_lib_var=`echo cipher'_'setkey | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lcipher $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 8192 "configure"
+#line 8193 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
setkey()
; return 0; }
EOF
-if { (eval echo configure:8203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo $ac_n "checking for asn1.h,snmp.h,snmp_impl.h""... $ac_c" 1>&6
-echo "configure:8232: checking for asn1.h,snmp.h,snmp_impl.h" >&5
+echo "configure:8233: checking for asn1.h,snmp.h,snmp_impl.h" >&5
cat > conftest.$ac_ext <<EOF
-#line 8235 "configure"
+#line 8236 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
int a = 1;
; return 0; }
EOF
-if { (eval echo configure:8260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SNMP_INCLUDE="";ucdsnmp=yes
else
for try in /usr/include /usr/local/include $snmp_include_dir; do
CFLAGS="$old_CFLAGS -I$try"
cat > conftest.$ac_ext <<EOF
-#line 8276 "configure"
+#line 8277 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
int a = 1;
; return 0; }
EOF
-if { (eval echo configure:8301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SNMP_INCLUDE="-I$try";ucdsnmp=yes
else
for try in /usr/include/ucd-snmp /usr/local/include/ucd-snmp $snmp_include_dir; do
CFLAGS="$old_CFLAGS -I$try"
cat > conftest.$ac_ext <<EOF
-#line 8323 "configure"
+#line 8324 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
int a = 1;
; return 0; }
EOF
-if { (eval echo configure:8348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SNMP_INCLUDE="";ucdsnmp=no
else
for try in /usr/include/ucd-snmp /usr/local/include/ucd-snmp $snmp_include_dir; do
CFLAGS="$old_CFLAGS -I$try"
cat > conftest.$ac_ext <<EOF
-#line 8370 "configure"
+#line 8371 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
int a = 1;
; return 0; }
EOF
-if { (eval echo configure:8395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SNMP_INCLUDE="-I$try";ucdsnmp=no
else
fi
echo $ac_n "checking for snmp_build_var_op in -lsnmp""... $ac_c" 1>&6
-echo "configure:8429: checking for snmp_build_var_op in -lsnmp" >&5
+echo "configure:8430: checking for snmp_build_var_op in -lsnmp" >&5
old_LIBS="$LIBS"
LIBS="$old_LIBS -lsnmp"
cat > conftest.$ac_ext <<EOF
-#line 8434 "configure"
+#line 8435 "configure"
#include "confdefs.h"
extern char snmp_build_var_op();
int main() {
snmp_build_var_op()
; return 0; }
EOF
-if { (eval echo configure:8441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
SNMP_LIBS="-lsnmp"
else
for try in /usr/lib /usr/local/lib /usr/local/snmp/lib $snmp_lib_dir; do
LIBS="$old_LIBS -L$try -lsnmp"
cat > conftest.$ac_ext <<EOF
-#line 8456 "configure"
+#line 8457 "configure"
#include "confdefs.h"
extern char snmp_build_var_op();
int main() {
snmp_build_var_op()
; return 0; }
EOF
-if { (eval echo configure:8463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
SNMP_LIBS="-L$try -lsnmp"
else
fi
LIBS="$old_LIBS -L$try -lsnmp -lcrypto"
cat > conftest.$ac_ext <<EOF
-#line 8478 "configure"
+#line 8479 "configure"
#include "confdefs.h"
extern char snmp_build_var_op();
int main() {
snmp_build_var_op()
; return 0; }
EOF
-if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
SNMP_LIBS="-L$try -lsnmp -lcrypto"
else
gethostbyaddrrstyle=""
echo $ac_n "checking gethostbyaddr_r() syntax""... $ac_c" 1>&6
-echo "configure:8523: checking gethostbyaddr_r() syntax" >&5
+echo "configure:8524: checking gethostbyaddr_r() syntax" >&5
case "$host" in
*-freebsd*)
cat >> confdefs.h <<\EOF
esac
if test "x$gethostbyaddrrstyle" = "x"; then
cat > conftest.$ac_ext <<EOF
-#line 8536 "configure"
+#line 8537 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL)
; return 0; }
EOF
-if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8547: \"$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 8563 "configure"
+#line 8564 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL)
; return 0; }
EOF
-if { (eval echo configure:8573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8574: \"$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 8590 "configure"
+#line 8591 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyaddr(NULL, 0, 0)
; return 0; }
EOF
-if { (eval echo configure:8600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8601: \"$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:8628: checking gethostbyname_r() syntax" >&5
+echo "configure:8629: checking gethostbyname_r() syntax" >&5
cat > conftest.$ac_ext <<EOF
-#line 8630 "configure"
+#line 8631 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL)
; return 0; }
EOF
-if { (eval echo configure:8640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8641: \"$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 8656 "configure"
+#line 8657 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyname_r(NULL, NULL, NULL, 0, NULL)
; return 0; }
EOF
-if { (eval echo configure:8666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8667: \"$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 8683 "configure"
+#line 8684 "configure"
#include "confdefs.h"
#include <stdio.h>
gethostbyname(NULL)
; return 0; }
EOF
-if { (eval echo configure:8693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
cat >> confdefs.h <<\EOF
ctimerstyle=""
echo $ac_n "checking ctime_r() syntax""... $ac_c" 1>&6
-echo "configure:8721: checking ctime_r() syntax" >&5
+echo "configure:8722: checking ctime_r() syntax" >&5
cat > conftest.$ac_ext <<EOF
-#line 8723 "configure"
+#line 8724 "configure"
#include "confdefs.h"
#include <time.h>
ctime_r(NULL, NULL, 0)
; return 0; }
EOF
-if { (eval echo configure:8732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8733: \"$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$ctimerstyle" = "x"; then
cat > conftest.$ac_ext <<EOF
-#line 8748 "configure"
+#line 8749 "configure"
#include "confdefs.h"
#include <time.h>
ctime_r(NULL, NULL)
; return 0; }
EOF
-if { (eval echo configure:8757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8758: \"$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:8782: checking for largefile linkage" >&5
+echo "configure:8783: 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:8819: checking for $ac_word" >&5
+echo "configure:8820: 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