~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Paul Hampson
  • Date: 2006-01-15 13:34:13 UTC
  • mto: (3.1.3 dapper) (4.1.3 sid) (1.1.14 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060115133413-zo1dslttvdoalqym
Tags: upstream-1.1.0
ImportĀ upstreamĀ versionĀ 1.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
735
735
 
736
736
 
737
737
 
738
 
# From configure.in Revision: 1.198.2.15 
 
738
# From configure.in Revision: 1.198.2.15.2.2 
739
739
RADIUSD_MAJOR_VERSION=1
740
 
RADIUSD_MINOR_VERSION=0.5
 
740
RADIUSD_MINOR_VERSION=1.0
741
741
RADIUSD_VERSION="${RADIUSD_MAJOR_VERSION}.${RADIUSD_MINOR_VERSION}"
742
742
 
743
743
 
6897
6897
        sys/security.h \
6898
6898
        fcntl.h \
6899
6899
        sys/fcntl.h \
 
6900
        sys/stat.h \
6900
6901
        prot.h \
6901
6902
        sia.h \
6902
6903
        siad.h
6904
6905
do
6905
6906
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6906
6907
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6907
 
echo "configure:6908: checking for $ac_hdr" >&5
 
6908
echo "configure:6909: checking for $ac_hdr" >&5
6908
6909
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6909
6910
  echo $ac_n "(cached) $ac_c" 1>&6
6910
6911
else
6911
6912
  cat > conftest.$ac_ext <<EOF
6912
 
#line 6913 "configure"
 
6913
#line 6914 "configure"
6913
6914
#include "confdefs.h"
6914
6915
#include <$ac_hdr>
6915
6916
EOF
6916
6917
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6917
 
{ (eval echo configure:6918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
6918
{ (eval echo configure:6919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6918
6919
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6919
6920
if test -z "$ac_err"; then
6920
6921
  rm -rf conftest*
6944
6945
REGEX=no
6945
6946
ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
6946
6947
echo $ac_n "checking for regex.h""... $ac_c" 1>&6
6947
 
echo "configure:6948: checking for regex.h" >&5
 
6948
echo "configure:6949: checking for regex.h" >&5
6948
6949
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6949
6950
  echo $ac_n "(cached) $ac_c" 1>&6
6950
6951
else
6951
6952
  cat > conftest.$ac_ext <<EOF
6952
 
#line 6953 "configure"
 
6953
#line 6954 "configure"
6953
6954
#include "confdefs.h"
6954
6955
#include <regex.h>
6955
6956
EOF
6956
6957
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6957
 
{ (eval echo configure:6958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
6958
{ (eval echo configure:6959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6958
6959
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6959
6960
if test -z "$ac_err"; then
6960
6961
  rm -rf conftest*
6982
6983
  REGEX_EXTENDED=no
6983
6984
  REGEX=yes
6984
6985
  cat > conftest.$ac_ext <<EOF
6985
 
#line 6986 "configure"
 
6986
#line 6987 "configure"
6986
6987
#include "confdefs.h"
6987
6988
#include <regex.h>
6988
6989
     #ifdef REG_EXTENDED
7026
7027
 
7027
7028
ac_safe=`echo "openssl/ssl.h" | sed 'y%./+-%__pm%'`
7028
7029
echo $ac_n "checking for openssl/ssl.h""... $ac_c" 1>&6
7029
 
echo "configure:7030: checking for openssl/ssl.h" >&5
 
7030
echo "configure:7031: checking for openssl/ssl.h" >&5
7030
7031
 
7031
7032
old_CFLAGS="$CFLAGS"
7032
7033
smart_include=
7036
7037
  for try in $smart_try_dir; do
7037
7038
    CFLAGS="$old_CFLAGS -I$try"
7038
7039
    cat > conftest.$ac_ext <<EOF
7039
 
#line 7040 "configure"
 
7040
#line 7041 "configure"
7040
7041
#include "confdefs.h"
7041
7042
 
7042
7043
                    #include <openssl/ssl.h>
7044
7045
 int a = 1;
7045
7046
; return 0; }
7046
7047
EOF
7047
 
if { (eval echo configure:7048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
7048
if { (eval echo configure:7049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7048
7049
  rm -rf conftest*
7049
7050
  smart_include="-I$try"
7050
7051
else
7057
7058
    if test "x$smart_include" != "x"; then
7058
7059
      break;
7059
7060
    fi
7060
 
    CFLAGS="$old_CFLAGS"
7061
7061
  done
 
7062
  CFLAGS="$old_CFLAGS"
7062
7063
fi
7063
7064
 
7064
7065
if test "x$smart_include" = "x"; then
7065
7066
  cat > conftest.$ac_ext <<EOF
7066
 
#line 7067 "configure"
 
7067
#line 7068 "configure"
7067
7068
#include "confdefs.h"
7068
7069
 
7069
7070
                  #include <openssl/ssl.h>
7071
7072
 int a = 1;
7072
7073
; return 0; }
7073
7074
EOF
7074
 
if { (eval echo configure:7075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
7075
if { (eval echo configure:7076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7075
7076
  rm -rf conftest*
7076
7077
  smart_include=" "
7077
7078
else
7115
7116
  for try in $smart_include_dir /usr/local/include /opt/include; do
7116
7117
    CFLAGS="$old_CFLAGS -I$try"
7117
7118
    cat > conftest.$ac_ext <<EOF
7118
 
#line 7119 "configure"
 
7119
#line 7120 "configure"
7119
7120
#include "confdefs.h"
7120
7121
 
7121
7122
                    #include <openssl/ssl.h>
7123
7124
 int a = 1;
7124
7125
; return 0; }
7125
7126
EOF
7126
 
if { (eval echo configure:7127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
7127
if { (eval echo configure:7128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7127
7128
  rm -rf conftest*
7128
7129
  smart_include="-I$try"
7129
7130
else
7136
7137
    if test "x$smart_include" != "x"; then
7137
7138
      break;
7138
7139
    fi
7139
 
    CFLAGS="$old_CFLAGS"
7140
7140
  done
 
7141
  CFLAGS="$old_CFLAGS"
7141
7142
fi
7142
7143
 
7143
7144
if test "x$smart_include" != "x"; then
7167
7168
do
7168
7169
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7169
7170
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7170
 
echo "configure:7171: checking for $ac_hdr" >&5
 
7171
echo "configure:7172: checking for $ac_hdr" >&5
7171
7172
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7172
7173
  echo $ac_n "(cached) $ac_c" 1>&6
7173
7174
else
7174
7175
  cat > conftest.$ac_ext <<EOF
7175
 
#line 7176 "configure"
 
7176
#line 7177 "configure"
7176
7177
#include "confdefs.h"
7177
7178
#include <$ac_hdr>
7178
7179
EOF
7179
7180
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7180
 
{ (eval echo configure:7181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
7181
{ (eval echo configure:7182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7181
7182
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7182
7183
if test -z "$ac_err"; then
7183
7184
  rm -rf conftest*
7206
7207
  CPPFLAGS="$old_CPPFLAGS"
7207
7208
 
7208
7209
  echo $ac_n "checking for OpenSSL version >= 0.9.7""... $ac_c" 1>&6
7209
 
echo "configure:7210: checking for OpenSSL version >= 0.9.7" >&5
 
7210
echo "configure:7211: checking for OpenSSL version >= 0.9.7" >&5
7210
7211
       old_CPPFLAGS=$CPPFLAGS
7211
7212
       if test "x$OPENSSL_INCLUDE" != "x"; then
7212
7213
           CPPFLAGS="-I$OPENSSL_INCLUDE"
7213
7214
           fi
7214
7215
       cat > conftest.$ac_ext <<EOF
7215
 
#line 7216 "configure"
 
7216
#line 7217 "configure"
7216
7217
#include "confdefs.h"
7217
7218
#include <openssl/crypto.h>
7218
7219
       #if (OPENSSL_VERSION_NUMBER >= 0x00907000L)
7241
7242
sm_lib_safe=`echo "crypto" | sed 'y%./+-%__p_%'`
7242
7243
sm_func_safe=`echo "DH_new" | sed 'y%./+-%__p_%'`
7243
7244
echo $ac_n "checking for DH_new in -lcrypto""... $ac_c" 1>&6
7244
 
echo "configure:7245: checking for DH_new in -lcrypto" >&5
 
7245
echo "configure:7246: checking for DH_new in -lcrypto" >&5
7245
7246
 
7246
7247
old_LIBS="$LIBS"
7247
7248
smart_lib=
7251
7252
  for try in $smart_try_dir; do
7252
7253
    LIBS="-L$try -lcrypto $old_LIBS"
7253
7254
    cat > conftest.$ac_ext <<EOF
7254
 
#line 7255 "configure"
 
7255
#line 7256 "configure"
7255
7256
#include "confdefs.h"
7256
7257
extern char DH_new();
7257
7258
int main() {
7258
7259
 DH_new()
7259
7260
; return 0; }
7260
7261
EOF
7261
 
if { (eval echo configure:7262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7262
if { (eval echo configure:7263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7262
7263
  rm -rf conftest*
7263
7264
  smart_lib="-L$try -lcrypto"
7264
7265
else
7269
7270
    if test "x$smart_lib" != "x"; then
7270
7271
      break;
7271
7272
    fi
7272
 
    LIBS="$old_LIBS"
7273
7273
  done
 
7274
  LIBS="$old_LIBS"
7274
7275
fi
7275
7276
 
7276
7277
if test "x$smart_lib" = "x"; then
7277
7278
  LIBS="-lcrypto $old_LIBS"
7278
7279
  cat > conftest.$ac_ext <<EOF
7279
 
#line 7280 "configure"
 
7280
#line 7281 "configure"
7280
7281
#include "confdefs.h"
7281
7282
extern char DH_new();
7282
7283
int main() {
7283
7284
 DH_new()
7284
7285
; return 0; }
7285
7286
EOF
7286
 
if { (eval echo configure:7287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7287
if { (eval echo configure:7288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7287
7288
  rm -rf conftest*
7288
7289
  smart_lib="-lcrypto"
7289
7290
else
7353
7354
  for try in $smart_lib_dir /usr/local/lib /opt/lib; do
7354
7355
    LIBS="-L$try -lcrypto $old_LIBS"
7355
7356
    cat > conftest.$ac_ext <<EOF
7356
 
#line 7357 "configure"
 
7357
#line 7358 "configure"
7357
7358
#include "confdefs.h"
7358
7359
extern char DH_new();
7359
7360
int main() {
7360
7361
 DH_new()
7361
7362
; return 0; }
7362
7363
EOF
7363
 
if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7364
if { (eval echo configure:7365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7364
7365
  rm -rf conftest*
7365
7366
  smart_lib="-L$try -lcrypto"
7366
7367
else
7371
7372
    if test "x$smart_lib" != "x"; then
7372
7373
      break;
7373
7374
    fi
7374
 
    LIBS="$old_LIBS"
7375
7375
  done
 
7376
  LIBS="$old_LIBS"
7376
7377
fi
7377
7378
 
7378
7379
if test "x$smart_lib" != "x"; then
7390
7391
sm_lib_safe=`echo "ssl" | sed 'y%./+-%__p_%'`
7391
7392
sm_func_safe=`echo "SSL_new" | sed 'y%./+-%__p_%'`
7392
7393
echo $ac_n "checking for SSL_new in -lssl""... $ac_c" 1>&6
7393
 
echo "configure:7394: checking for SSL_new in -lssl" >&5
 
7394
echo "configure:7395: checking for SSL_new in -lssl" >&5
7394
7395
 
7395
7396
old_LIBS="$LIBS"
7396
7397
smart_lib=
7400
7401
  for try in $smart_try_dir; do
7401
7402
    LIBS="-L$try -lssl $old_LIBS"
7402
7403
    cat > conftest.$ac_ext <<EOF
7403
 
#line 7404 "configure"
 
7404
#line 7405 "configure"
7404
7405
#include "confdefs.h"
7405
7406
extern char SSL_new();
7406
7407
int main() {
7407
7408
 SSL_new()
7408
7409
; return 0; }
7409
7410
EOF
7410
 
if { (eval echo configure:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7411
if { (eval echo configure:7412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7411
7412
  rm -rf conftest*
7412
7413
  smart_lib="-L$try -lssl"
7413
7414
else
7418
7419
    if test "x$smart_lib" != "x"; then
7419
7420
      break;
7420
7421
    fi
7421
 
    LIBS="$old_LIBS"
7422
7422
  done
 
7423
  LIBS="$old_LIBS"
7423
7424
fi
7424
7425
 
7425
7426
if test "x$smart_lib" = "x"; then
7426
7427
  LIBS="-lssl $old_LIBS"
7427
7428
  cat > conftest.$ac_ext <<EOF
7428
 
#line 7429 "configure"
 
7429
#line 7430 "configure"
7429
7430
#include "confdefs.h"
7430
7431
extern char SSL_new();
7431
7432
int main() {
7432
7433
 SSL_new()
7433
7434
; return 0; }
7434
7435
EOF
7435
 
if { (eval echo configure:7436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7436
if { (eval echo configure:7437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7436
7437
  rm -rf conftest*
7437
7438
  smart_lib="-lssl"
7438
7439
else
7502
7503
  for try in $smart_lib_dir /usr/local/lib /opt/lib; do
7503
7504
    LIBS="-L$try -lssl $old_LIBS"
7504
7505
    cat > conftest.$ac_ext <<EOF
7505
 
#line 7506 "configure"
 
7506
#line 7507 "configure"
7506
7507
#include "confdefs.h"
7507
7508
extern char SSL_new();
7508
7509
int main() {
7509
7510
 SSL_new()
7510
7511
; return 0; }
7511
7512
EOF
7512
 
if { (eval echo configure:7513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7513
if { (eval echo configure:7514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7513
7514
  rm -rf conftest*
7514
7515
  smart_lib="-L$try -lssl"
7515
7516
else
7520
7521
    if test "x$smart_lib" != "x"; then
7521
7522
      break;
7522
7523
    fi
7523
 
    LIBS="$old_LIBS"
7524
7524
  done
 
7525
  LIBS="$old_LIBS"
7525
7526
fi
7526
7527
 
7527
7528
if test "x$smart_lib" != "x"; then
7545
7546
 
7546
7547
 
7547
7548
echo $ac_n "checking for off_t""... $ac_c" 1>&6
7548
 
echo "configure:7549: checking for off_t" >&5
 
7549
echo "configure:7550: checking for off_t" >&5
7549
7550
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
7550
7551
  echo $ac_n "(cached) $ac_c" 1>&6
7551
7552
else
7552
7553
  cat > conftest.$ac_ext <<EOF
7553
 
#line 7554 "configure"
 
7554
#line 7555 "configure"
7554
7555
#include "confdefs.h"
7555
7556
#include <sys/types.h>
7556
7557
#if STDC_HEADERS
7578
7579
fi
7579
7580
 
7580
7581
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
7581
 
echo "configure:7582: checking for pid_t" >&5
 
7582
echo "configure:7583: checking for pid_t" >&5
7582
7583
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
7583
7584
  echo $ac_n "(cached) $ac_c" 1>&6
7584
7585
else
7585
7586
  cat > conftest.$ac_ext <<EOF
7586
 
#line 7587 "configure"
 
7587
#line 7588 "configure"
7587
7588
#include "confdefs.h"
7588
7589
#include <sys/types.h>
7589
7590
#if STDC_HEADERS
7611
7612
fi
7612
7613
 
7613
7614
echo $ac_n "checking for size_t""... $ac_c" 1>&6
7614
 
echo "configure:7615: checking for size_t" >&5
 
7615
echo "configure:7616: checking for size_t" >&5
7615
7616
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
7616
7617
  echo $ac_n "(cached) $ac_c" 1>&6
7617
7618
else
7618
7619
  cat > conftest.$ac_ext <<EOF
7619
 
#line 7620 "configure"
 
7620
#line 7621 "configure"
7620
7621
#include "confdefs.h"
7621
7622
#include <sys/types.h>
7622
7623
#if STDC_HEADERS
7644
7645
fi
7645
7646
 
7646
7647
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
7647
 
echo "configure:7648: checking for uid_t in sys/types.h" >&5
 
7648
echo "configure:7649: checking for uid_t in sys/types.h" >&5
7648
7649
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
7649
7650
  echo $ac_n "(cached) $ac_c" 1>&6
7650
7651
else
7651
7652
  cat > conftest.$ac_ext <<EOF
7652
 
#line 7653 "configure"
 
7653
#line 7654 "configure"
7653
7654
#include "confdefs.h"
7654
7655
#include <sys/types.h>
7655
7656
EOF
7680
7681
 
7681
7682
 
7682
7683
  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
7683
 
echo "configure:7684: checking for socklen_t" >&5
 
7684
echo "configure:7685: checking for socklen_t" >&5
7684
7685
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
7685
7686
  echo $ac_n "(cached) $ac_c" 1>&6
7686
7687
else
7687
7688
   ac_cv_type_socklen_t=no
7688
7689
      cat > conftest.$ac_ext <<EOF
7689
 
#line 7690 "configure"
 
7690
#line 7691 "configure"
7690
7691
#include "confdefs.h"
7691
7692
#ifdef HAVE_SYS_TYPES_H
7692
7693
#include <sys/types.h>
7699
7700
socklen_t foo
7700
7701
; return 0; }
7701
7702
EOF
7702
 
if { (eval echo configure:7703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
7703
if { (eval echo configure:7704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7703
7704
  rm -rf conftest*
7704
7705
  ac_cv_type_socklen_t=yes
7705
7706
else
7723
7724
 
7724
7725
 
7725
7726
  echo $ac_n "checking for uint8_t""... $ac_c" 1>&6
7726
 
echo "configure:7727: checking for uint8_t" >&5
 
7727
echo "configure:7728: checking for uint8_t" >&5
7727
7728
if eval "test \"`echo '$''{'ac_cv_type_uint8_t'+set}'`\" = set"; then
7728
7729
  echo $ac_n "(cached) $ac_c" 1>&6
7729
7730
else
7730
7731
   ac_cv_type_uint8_t=no
7731
7732
      cat > conftest.$ac_ext <<EOF
7732
 
#line 7733 "configure"
 
7733
#line 7734 "configure"
7733
7734
#include "confdefs.h"
7734
7735
#ifdef HAVE_INTTYPES_H
7735
7736
#include <inttypes.h>
7742
7743
uint8_t foo
7743
7744
; return 0; }
7744
7745
EOF
7745
 
if { (eval echo configure:7746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
7746
if { (eval echo configure:7747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7746
7747
  rm -rf conftest*
7747
7748
  ac_cv_type_uint8_t=yes
7748
7749
else
7766
7767
 
7767
7768
 
7768
7769
  echo $ac_n "checking for uint16_t""... $ac_c" 1>&6
7769
 
echo "configure:7770: checking for uint16_t" >&5
 
7770
echo "configure:7771: checking for uint16_t" >&5
7770
7771
if eval "test \"`echo '$''{'ac_cv_type_uint16_t'+set}'`\" = set"; then
7771
7772
  echo $ac_n "(cached) $ac_c" 1>&6
7772
7773
else
7773
7774
   ac_cv_type_uint16_t=no
7774
7775
      cat > conftest.$ac_ext <<EOF
7775
 
#line 7776 "configure"
 
7776
#line 7777 "configure"
7776
7777
#include "confdefs.h"
7777
7778
#ifdef HAVE_INTTYPES_H
7778
7779
#include <inttypes.h>
7785
7786
uint16_t foo
7786
7787
; return 0; }
7787
7788
EOF
7788
 
if { (eval echo configure:7789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
7789
if { (eval echo configure:7790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7789
7790
  rm -rf conftest*
7790
7791
  ac_cv_type_uint16_t=yes
7791
7792
else
7809
7810
 
7810
7811
 
7811
7812
  echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
7812
 
echo "configure:7813: checking for uint32_t" >&5
 
7813
echo "configure:7814: checking for uint32_t" >&5
7813
7814
if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then
7814
7815
  echo $ac_n "(cached) $ac_c" 1>&6
7815
7816
else
7816
7817
   ac_cv_type_uint32_t=no
7817
7818
      cat > conftest.$ac_ext <<EOF
7818
 
#line 7819 "configure"
 
7819
#line 7820 "configure"
7819
7820
#include "confdefs.h"
7820
7821
#ifdef HAVE_INTTYPES_H
7821
7822
#include <inttypes.h>
7828
7829
uint32_t foo
7829
7830
; return 0; }
7830
7831
EOF
7831
 
if { (eval echo configure:7832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
7832
if { (eval echo configure:7833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7832
7833
  rm -rf conftest*
7833
7834
  ac_cv_type_uint32_t=yes
7834
7835
else
7877
7878
 
7878
7879
do
7879
7880
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7880
 
echo "configure:7881: checking for $ac_func" >&5
 
7881
echo "configure:7882: checking for $ac_func" >&5
7881
7882
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7882
7883
  echo $ac_n "(cached) $ac_c" 1>&6
7883
7884
else
7884
7885
  cat > conftest.$ac_ext <<EOF
7885
 
#line 7886 "configure"
 
7886
#line 7887 "configure"
7886
7887
#include "confdefs.h"
7887
7888
/* System header to define __stub macros and hopefully few prototypes,
7888
7889
    which can conflict with char $ac_func(); below.  */
7905
7906
 
7906
7907
; return 0; }
7907
7908
EOF
7908
 
if { (eval echo configure:7909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7909
if { (eval echo configure:7910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7909
7910
  rm -rf conftest*
7910
7911
  eval "ac_cv_func_$ac_func=yes"
7911
7912
else
7941
7942
 
7942
7943
do
7943
7944
echo $ac_n "checking whether $ac_func must be declared""... $ac_c" 1>&6
7944
 
echo "configure:7945: checking whether $ac_func must be declared" >&5
 
7945
echo "configure:7946: checking whether $ac_func must be declared" >&5
7945
7946
if eval "test \"`echo '$''{'radius_cv_decl_needed_$ac_func'+set}'`\" = set"; then
7946
7947
  echo $ac_n "(cached) $ac_c" 1>&6
7947
7948
else
7948
7949
  cat > conftest.$ac_ext <<EOF
7949
 
#line 7950 "configure"
 
7950
#line 7951 "configure"
7950
7951
#include "confdefs.h"
7951
7952
 
7952
7953
#include <stdio.h>
8001
8002
char *(*pfn) = (char *(*)) $ac_func
8002
8003
; return 0; }
8003
8004
EOF
8004
 
if { (eval echo configure:8005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
8005
if { (eval echo configure:8006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8005
8006
  rm -rf conftest*
8006
8007
  eval "radius_cv_decl_needed_$ac_func=no"
8007
8008
else
8028
8029
 
8029
8030
 
8030
8031
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
8031
 
echo "configure:8032: checking return type of signal handlers" >&5
 
8032
echo "configure:8033: checking return type of signal handlers" >&5
8032
8033
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
8033
8034
  echo $ac_n "(cached) $ac_c" 1>&6
8034
8035
else
8035
8036
  cat > conftest.$ac_ext <<EOF
8036
 
#line 8037 "configure"
 
8037
#line 8038 "configure"
8037
8038
#include "confdefs.h"
8038
8039
#include <sys/types.h>
8039
8040
#include <signal.h>
8050
8051
int i;
8051
8052
; return 0; }
8052
8053
EOF
8053
 
if { (eval echo configure:8054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
8054
if { (eval echo configure:8055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8054
8055
  rm -rf conftest*
8055
8056
  ac_cv_type_signal=void
8056
8057
else
8073
8074
then
8074
8075
 
8075
8076
  echo $ac_n "checking for ut_xtime in struct utmpx""... $ac_c" 1>&6
8076
 
echo "configure:8077: checking for ut_xtime in struct utmpx" >&5
 
8077
echo "configure:8078: checking for ut_xtime in struct utmpx" >&5
8077
8078
 
8078
8079
 
8079
8080
  cat > conftest.$ac_ext <<EOF
8080
 
#line 8081 "configure"
 
8081
#line 8082 "configure"
8081
8082
#include "confdefs.h"
8082
8083
 
8083
8084
#include <utmpx.h>
8089
8090
 int foo = offsetof(struct utmpx, ut_xtime) 
8090
8091
; return 0; }
8091
8092
EOF
8092
 
if { (eval echo configure:8093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
8093
if { (eval echo configure:8094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8093
8094
  rm -rf conftest*
8094
8095
  has_element=" "
8095
8096
else
8120
8121
 
8121
8122
 
8122
8123
  echo $ac_n "checking for ipi_addr in struct in_pktinfo""... $ac_c" 1>&6
8123
 
echo "configure:8124: checking for ipi_addr in struct in_pktinfo" >&5
 
8124
echo "configure:8125: checking for ipi_addr in struct in_pktinfo" >&5
8124
8125
 
8125
8126
 
8126
8127
  cat > conftest.$ac_ext <<EOF
8127
 
#line 8128 "configure"
 
8128
#line 8129 "configure"
8128
8129
#include "confdefs.h"
8129
8130
 
8130
8131
#include <netinet/in.h>
8136
8137
 int foo = offsetof(struct in_pktinfo, ipi_addr) 
8137
8138
; return 0; }
8138
8139
EOF
8139
 
if { (eval echo configure:8140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
8140
if { (eval echo configure:8141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8140
8141
  rm -rf conftest*
8141
8142
  has_element=" "
8142
8143
else
8166
8167
 
8167
8168
 
8168
8169
echo $ac_n "checking for working const""... $ac_c" 1>&6
8169
 
echo "configure:8170: checking for working const" >&5
 
8170
echo "configure:8171: checking for working const" >&5
8170
8171
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8171
8172
  echo $ac_n "(cached) $ac_c" 1>&6
8172
8173
else
8173
8174
  cat > conftest.$ac_ext <<EOF
8174
 
#line 8175 "configure"
 
8175
#line 8176 "configure"
8175
8176
#include "confdefs.h"
8176
8177
 
8177
8178
int main() {
8220
8221
 
8221
8222
; return 0; }
8222
8223
EOF
8223
 
if { (eval echo configure:8224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
8224
if { (eval echo configure:8225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8224
8225
  rm -rf conftest*
8225
8226
  ac_cv_c_const=yes
8226
8227
else
8242
8243
 
8243
8244
 
8244
8245
echo $ac_n "checking type of OS""... $ac_c" 1>&6
8245
 
echo "configure:8246: checking type of OS" >&5
 
8246
echo "configure:8247: checking type of OS" >&5
8246
8247
OS=`uname -s`
8247
8248
echo "$ac_t""$OS" 1>&6
8248
8249
if test "$OS" = "OS/2"; then
8257
8258
fi
8258
8259
 
8259
8260
echo $ac_n "checking for developer gcc flags""... $ac_c" 1>&6
8260
 
echo "configure:8261: checking for developer gcc flags" >&5
 
8261
echo "configure:8262: checking for developer gcc flags" >&5
8261
8262
if test "x$developer" = "xyes" -a "x$GCC" = "xyes"; then
8262
8263
  devflags="-g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef"
8263
8264
  CFLAGS="$CFLAGS $devflags"
8272
8273
 
8273
8274
 
8274
8275
echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
8275
 
echo "configure:8276: checking for crypt in -lcrypt" >&5
 
8276
echo "configure:8277: checking for crypt in -lcrypt" >&5
8276
8277
ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
8277
8278
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8278
8279
  echo $ac_n "(cached) $ac_c" 1>&6
8280
8281
  ac_save_LIBS="$LIBS"
8281
8282
LIBS="-lcrypt  $LIBS"
8282
8283
cat > conftest.$ac_ext <<EOF
8283
 
#line 8284 "configure"
 
8284
#line 8285 "configure"
8284
8285
#include "confdefs.h"
8285
8286
/* Override any gcc2 internal prototype to avoid an error.  */
8286
8287
/* We use char because int might match the return type of a gcc2
8291
8292
crypt()
8292
8293
; return 0; }
8293
8294
EOF
8294
 
if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8295
if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8295
8296
  rm -rf conftest*
8296
8297
  eval "ac_cv_lib_$ac_lib_var=yes"
8297
8298
else
8319
8320
 
8320
8321
else
8321
8322
  echo $ac_n "checking for crypt""... $ac_c" 1>&6
8322
 
echo "configure:8323: checking for crypt" >&5
 
8323
echo "configure:8324: checking for crypt" >&5
8323
8324
if eval "test \"`echo '$''{'ac_cv_func_crypt'+set}'`\" = set"; then
8324
8325
  echo $ac_n "(cached) $ac_c" 1>&6
8325
8326
else
8326
8327
  cat > conftest.$ac_ext <<EOF
8327
 
#line 8328 "configure"
 
8328
#line 8329 "configure"
8328
8329
#include "confdefs.h"
8329
8330
/* System header to define __stub macros and hopefully few prototypes,
8330
8331
    which can conflict with char crypt(); below.  */
8347
8348
 
8348
8349
; return 0; }
8349
8350
EOF
8350
 
if { (eval echo configure:8351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8351
if { (eval echo configure:8352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8351
8352
  rm -rf conftest*
8352
8353
  eval "ac_cv_func_crypt=yes"
8353
8354
else
8372
8373
fi
8373
8374
 
8374
8375
echo $ac_n "checking for setkey in -lcipher""... $ac_c" 1>&6
8375
 
echo "configure:8376: checking for setkey in -lcipher" >&5
 
8376
echo "configure:8377: checking for setkey in -lcipher" >&5
8376
8377
ac_lib_var=`echo cipher'_'setkey | sed 'y%./+-%__p_%'`
8377
8378
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8378
8379
  echo $ac_n "(cached) $ac_c" 1>&6
8380
8381
  ac_save_LIBS="$LIBS"
8381
8382
LIBS="-lcipher  $LIBS"
8382
8383
cat > conftest.$ac_ext <<EOF
8383
 
#line 8384 "configure"
 
8384
#line 8385 "configure"
8384
8385
#include "confdefs.h"
8385
8386
/* Override any gcc2 internal prototype to avoid an error.  */
8386
8387
/* We use char because int might match the return type of a gcc2
8391
8392
setkey()
8392
8393
; return 0; }
8393
8394
EOF
8394
 
if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8395
if { (eval echo configure:8396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8395
8396
  rm -rf conftest*
8396
8397
  eval "ac_cv_lib_$ac_lib_var=yes"
8397
8398
else
8420
8421
        
8421
8422
 
8422
8423
echo $ac_n "checking for asn1.h,snmp.h,snmp_impl.h""... $ac_c" 1>&6
8423
 
echo "configure:8424: checking for asn1.h,snmp.h,snmp_impl.h" >&5
 
8424
echo "configure:8425: checking for asn1.h,snmp.h,snmp_impl.h" >&5
8424
8425
 
8425
8426
cat > conftest.$ac_ext <<EOF
8426
 
#line 8427 "configure"
 
8427
#line 8428 "configure"
8427
8428
#include "confdefs.h"
8428
8429
 
8429
8430
#ifdef HAVE_SYS_TYPES_H
8448
8449
 int a = 1;
8449
8450
; return 0; }
8450
8451
EOF
8451
 
if { (eval echo configure:8452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
8452
if { (eval echo configure:8453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8452
8453
  rm -rf conftest*
8453
8454
  SNMP_INCLUDE="";ucdsnmp=yes
8454
8455
else
8464
8465
  for try in /usr/include /usr/local/include $with_snmp_include_dir; do
8465
8466
    CFLAGS="$old_CFLAGS -I$try"
8466
8467
    cat > conftest.$ac_ext <<EOF
8467
 
#line 8468 "configure"
 
8468
#line 8469 "configure"
8468
8469
#include "confdefs.h"
8469
8470
 
8470
8471
#ifdef HAVE_SYS_TYPES_H
8489
8490
 int a = 1;
8490
8491
; return 0; }
8491
8492
EOF
8492
 
if { (eval echo configure:8493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
8493
if { (eval echo configure:8494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8493
8494
  rm -rf conftest*
8494
8495
  SNMP_INCLUDE="-I$try";ucdsnmp=yes
8495
8496
else
8511
8512
  for try in /usr/include/ucd-snmp /usr/local/include/ucd-snmp $with_snmp_include_dir; do
8512
8513
    CFLAGS="$old_CFLAGS -I$try"
8513
8514
cat > conftest.$ac_ext <<EOF
8514
 
#line 8515 "configure"
 
8515
#line 8516 "configure"
8515
8516
#include "confdefs.h"
8516
8517
 
8517
8518
#ifdef HAVE_SYS_TYPES_H
8536
8537
 int a = 1;
8537
8538
; return 0; }
8538
8539
EOF
8539
 
if { (eval echo configure:8540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
8540
if { (eval echo configure:8541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8540
8541
  rm -rf conftest*
8541
8542
  SNMP_INCLUDE="";ucdsnmp=no
8542
8543
else
8558
8559
  for try in /usr/include/ucd-snmp /usr/local/include/ucd-snmp $with_snmp_include_dir; do
8559
8560
    CFLAGS="$old_CFLAGS -I$try"
8560
8561
    cat > conftest.$ac_ext <<EOF
8561
 
#line 8562 "configure"
 
8562
#line 8563 "configure"
8562
8563
#include "confdefs.h"
8563
8564
 
8564
8565
#ifdef HAVE_SYS_TYPES_H
8583
8584
 int a = 1;
8584
8585
; return 0; }
8585
8586
EOF
8586
 
if { (eval echo configure:8587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
8587
if { (eval echo configure:8588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8587
8588
  rm -rf conftest*
8588
8589
  SNMP_INCLUDE="-I$try";ucdsnmp=no
8589
8590
else
8617
8618
 
8618
8619
  fi
8619
8620
  echo $ac_n "checking for snmp_build_var_op in -lsnmp""... $ac_c" 1>&6
8620
 
echo "configure:8621: checking for snmp_build_var_op in -lsnmp" >&5
 
8621
echo "configure:8622: checking for snmp_build_var_op in -lsnmp" >&5
8621
8622
 
8622
8623
  old_LIBS="$LIBS"
8623
8624
  LIBS="$old_LIBS -lsnmp"
8624
8625
  cat > conftest.$ac_ext <<EOF
8625
 
#line 8626 "configure"
 
8626
#line 8627 "configure"
8626
8627
#include "confdefs.h"
8627
8628
extern char snmp_build_var_op();
8628
8629
int main() {
8629
8630
 snmp_build_var_op()
8630
8631
; return 0; }
8631
8632
EOF
8632
 
if { (eval echo configure:8633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8633
if { (eval echo configure:8634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8633
8634
  rm -rf conftest*
8634
8635
  SNMP_LIBS="-lsnmp"
8635
8636
else
8644
8645
    for try in /usr/lib /usr/local/lib /usr/local/snmp/lib $with_snmp_lib_dir; do
8645
8646
      LIBS="$old_LIBS -L$try -lsnmp"
8646
8647
      cat > conftest.$ac_ext <<EOF
8647
 
#line 8648 "configure"
 
8648
#line 8649 "configure"
8648
8649
#include "confdefs.h"
8649
8650
extern char snmp_build_var_op();
8650
8651
int main() {
8651
8652
 snmp_build_var_op()
8652
8653
; return 0; }
8653
8654
EOF
8654
 
if { (eval echo configure:8655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8655
if { (eval echo configure:8656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8655
8656
  rm -rf conftest*
8656
8657
  SNMP_LIBS="-L$try -lsnmp"
8657
8658
else
8666
8667
      fi
8667
8668
      LIBS="$old_LIBS -L$try -lsnmp -lcrypto"
8668
8669
      cat > conftest.$ac_ext <<EOF
8669
 
#line 8670 "configure"
 
8670
#line 8671 "configure"
8670
8671
#include "confdefs.h"
8671
8672
extern char snmp_build_var_op();
8672
8673
int main() {
8673
8674
 snmp_build_var_op()
8674
8675
; return 0; }
8675
8676
EOF
8676
 
if { (eval echo configure:8677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8677
if { (eval echo configure:8678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8677
8678
  rm -rf conftest*
8678
8679
  SNMP_LIBS="-L$try -lsnmp -lcrypto"
8679
8680
else
8688
8689
      fi
8689
8690
      LIBS="$old_LIBS -L$try -lsnmp -lcrypto -lkstat"
8690
8691
      cat > conftest.$ac_ext <<EOF
8691
 
#line 8692 "configure"
 
8692
#line 8693 "configure"
8692
8693
#include "confdefs.h"
8693
8694
extern char snmp_build_var_op();
8694
8695
int main() {
8695
8696
 snmp_build_var_op()
8696
8697
; return 0; }
8697
8698
EOF
8698
 
if { (eval echo configure:8699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8699
if { (eval echo configure:8700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8699
8700
  rm -rf conftest*
8700
8701
  SNMP_LIBS="-L$try -lsnmp -lcrypto -lkstat"
8701
8702
else
8733
8734
 
8734
8735
gethostbyaddrrstyle=""
8735
8736
echo $ac_n "checking gethostbyaddr_r() syntax""... $ac_c" 1>&6
8736
 
echo "configure:8737: checking gethostbyaddr_r() syntax" >&5
 
8737
echo "configure:8738: checking gethostbyaddr_r() syntax" >&5
8737
8738
case "$host" in
8738
8739
*-freebsd*)
8739
8740
        cat >> confdefs.h <<\EOF
8746
8747
esac
8747
8748
if test "x$gethostbyaddrrstyle" = "x"; then
8748
8749
        cat > conftest.$ac_ext <<EOF
8749
 
#line 8750 "configure"
 
8750
#line 8751 "configure"
8750
8751
#include "confdefs.h"
8751
8752
 
8752
8753
#include <stdio.h>
8756
8757
 gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL) 
8757
8758
; return 0; }
8758
8759
EOF
8759
 
if { (eval echo configure:8760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8760
if { (eval echo configure:8761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8760
8761
  rm -rf conftest*
8761
8762
  
8762
8763
        cat >> confdefs.h <<\EOF
8773
8774
fi
8774
8775
if test "x$gethostbyaddrrstyle" = "x"; then
8775
8776
        cat > conftest.$ac_ext <<EOF
8776
 
#line 8777 "configure"
 
8777
#line 8778 "configure"
8777
8778
#include "confdefs.h"
8778
8779
 
8779
8780
#include <stdio.h>
8783
8784
 gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL)  
8784
8785
; return 0; }
8785
8786
EOF
8786
 
if { (eval echo configure:8787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8787
if { (eval echo configure:8788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8787
8788
  rm -rf conftest*
8788
8789
  
8789
8790
                cat >> confdefs.h <<\EOF
8800
8801
fi
8801
8802
if test "x$gethostbyaddrrstyle" = "x"; then
8802
8803
        cat > conftest.$ac_ext <<EOF
8803
 
#line 8804 "configure"
 
8804
#line 8805 "configure"
8804
8805
#include "confdefs.h"
8805
8806
 
8806
8807
#include <stdio.h>
8810
8811
 gethostbyaddr(NULL, 0, 0)  
8811
8812
; return 0; }
8812
8813
EOF
8813
 
if { (eval echo configure:8814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8814
if { (eval echo configure:8815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8814
8815
  rm -rf conftest*
8815
8816
  
8816
8817
                cat >> confdefs.h <<\EOF
8838
8839
 
8839
8840
gethostbynamerstyle=""
8840
8841
echo $ac_n "checking gethostbyname_r() syntax""... $ac_c" 1>&6
8841
 
echo "configure:8842: checking gethostbyname_r() syntax" >&5
 
8842
echo "configure:8843: checking gethostbyname_r() syntax" >&5
8842
8843
cat > conftest.$ac_ext <<EOF
8843
 
#line 8844 "configure"
 
8844
#line 8845 "configure"
8844
8845
#include "confdefs.h"
8845
8846
 
8846
8847
#include <stdio.h>
8850
8851
 gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL) 
8851
8852
; return 0; }
8852
8853
EOF
8853
 
if { (eval echo configure:8854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8854
if { (eval echo configure:8855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8854
8855
  rm -rf conftest*
8855
8856
  
8856
8857
        cat >> confdefs.h <<\EOF
8866
8867
rm -f conftest*
8867
8868
if test "x$gethostbynamerstyle" = "x"; then
8868
8869
        cat > conftest.$ac_ext <<EOF
8869
 
#line 8870 "configure"
 
8870
#line 8871 "configure"
8870
8871
#include "confdefs.h"
8871
8872
 
8872
8873
#include <stdio.h>
8876
8877
 gethostbyname_r(NULL, NULL, NULL, 0, NULL)  
8877
8878
; return 0; }
8878
8879
EOF
8879
 
if { (eval echo configure:8880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8880
if { (eval echo configure:8881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8880
8881
  rm -rf conftest*
8881
8882
  
8882
8883
                cat >> confdefs.h <<\EOF
8893
8894
fi
8894
8895
if test "x$gethostbynamerstyle" = "x"; then
8895
8896
        cat > conftest.$ac_ext <<EOF
8896
 
#line 8897 "configure"
 
8897
#line 8898 "configure"
8897
8898
#include "confdefs.h"
8898
8899
 
8899
8900
#include <stdio.h>
8903
8904
 gethostbyname(NULL)  
8904
8905
; return 0; }
8905
8906
EOF
8906
 
if { (eval echo configure:8907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8907
if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8907
8908
  rm -rf conftest*
8908
8909
  
8909
8910
                cat >> confdefs.h <<\EOF
8931
8932
 
8932
8933
ctimerstyle=""
8933
8934
echo $ac_n "checking ctime_r() syntax""... $ac_c" 1>&6
8934
 
echo "configure:8935: checking ctime_r() syntax" >&5
 
8935
echo "configure:8936: checking ctime_r() syntax" >&5
8935
8936
cat > conftest.$ac_ext <<EOF
8936
 
#line 8937 "configure"
 
8937
#line 8938 "configure"
8937
8938
#include "confdefs.h"
8938
8939
 
8939
8940
#include <time.h>
8942
8943
 ctime_r(NULL, NULL, 0) 
8943
8944
; return 0; }
8944
8945
EOF
8945
 
if { (eval echo configure:8946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8946
if { (eval echo configure:8947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8946
8947
  rm -rf conftest*
8947
8948
  
8948
8949
        cat >> confdefs.h <<\EOF
8958
8959
rm -f conftest*
8959
8960
if test "x$ctimerstyle" = "x"; then
8960
8961
        cat > conftest.$ac_ext <<EOF
8961
 
#line 8962 "configure"
 
8962
#line 8963 "configure"
8962
8963
#include "confdefs.h"
8963
8964
 
8964
8965
#include <time.h>
8967
8968
 ctime_r(NULL, NULL) 
8968
8969
; return 0; }
8969
8970
EOF
8970
 
if { (eval echo configure:8971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
8971
if { (eval echo configure:8972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8971
8972
  rm -rf conftest*
8972
8973
  
8973
8974
                cat >> confdefs.h <<\EOF
8992
8993
 
8993
8994
if test x"$rad_enable_largefiles" = xyes ; then
8994
8995
    echo $ac_n "checking for largefile linkage""... $ac_c" 1>&6
8995
 
echo "configure:8996: checking for largefile linkage" >&5
 
8996
echo "configure:8997: checking for largefile linkage" >&5
8996
8997
    case "$host" in
8997
8998
    *-aix4.01*)
8998
8999
        echo "$ac_t""no" 1>&6
9029
9030
        # Extract the first word of "getconf", so it can be a program name with args.
9030
9031
set dummy getconf; ac_word=$2
9031
9032
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9032
 
echo "configure:9033: checking for $ac_word" >&5
 
9033
echo "configure:9034: checking for $ac_word" >&5
9033
9034
if eval "test \"`echo '$''{'ac_cv_path_GETCONF'+set}'`\" = set"; then
9034
9035
  echo $ac_n "(cached) $ac_c" 1>&6
9035
9036
else