/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.65 by camm, Fri Aug 9 05:49:32 2002 UTC revision 1.66 by camm, Fri Aug 9 14:18:49 2002 UTC
# Line 40  ac_help="$ac_help Line 40  ac_help="$ac_help
40   --enable-locbfd uses a static bfd library built from this source tree for loading and relocationing object files   --enable-locbfd uses a static bfd library built from this source tree for loading and relocationing object files
41          "          "
42  ac_help="$ac_help  ac_help="$ac_help
43     --enable-custreloc uses custom gcl code if available for loading  and relocationing object files
44            "
45    ac_help="$ac_help
46   --enable-debug builds gcl with -g in CFLAGS to enable running under gdb   --enable-debug builds gcl with -g in CFLAGS to enable running under gdb
47          "          "
48  ac_help="$ac_help  ac_help="$ac_help
# Line 673  else { echo "configure: error: can not r Line 676  else { echo "configure: error: can not r
676  fi  fi
677    
678  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
679  echo "configure:677: checking host system type" >&5  echo "configure:680: checking host system type" >&5
680    
681  host_alias=$host  host_alias=$host
682  case "$host_alias" in  case "$host_alias" in
# Line 851  fi Line 854  fi
854    
855  def_dlopen="no"  def_dlopen="no"
856  def_statsysbfd="yes"  def_statsysbfd="yes"
857    def_custreloc="no"
858  case $use in  case $use in
859       *linux)       *linux)
860          ln -snf linux.defs h/$use.defs;          ln -snf linux.defs h/$use.defs;
# Line 864  case $use in Line 868  case $use in
868                  hppa*)                  hppa*)
869                          def_dlopen="yes" ; def_statsysbfd="no" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ;;
870          esac;;          esac;;
871        *mingw*)
872            def_statsysbfd="no" ; def_custreloc="yes" ;;
873  esac  esac
874    
875  # Check whether --enable-dlopen or --disable-dlopen was given.  # Check whether --enable-dlopen or --disable-dlopen was given.
# Line 898  else Line 904  else
904    enable_locbfd="no"    enable_locbfd="no"
905  fi  fi
906    
907    # Check whether --enable-custreloc or --disable-custreloc was given.
908    if test "${enable_custreloc+set}" = set; then
909      enableval="$enable_custreloc"
910      :
911    else
912      enable_custreloc="def_custreloc"
913    fi
914    
915  # Check whether --enable-debug or --disable-debug was given.  # Check whether --enable-debug or --disable-debug was given.
916  if test "${enable_debug+set}" = set; then  if test "${enable_debug+set}" = set; then
917    enableval="$enable_debug"    enableval="$enable_debug"
# Line 920  fi Line 934  fi
934  if test "$enable_locbfd" = "yes" ; then  if test "$enable_locbfd" = "yes" ; then
935          load_opt=$(($load_opt+1))          load_opt=$(($load_opt+1))
936  fi  fi
937    if test "$enable_custreloc" = "yes" ; then
938            load_opt=$(($load_opt+1))
939    fi
940    
941  if test "$load_opt" != "1" ; then  if test "$load_opt" != "1" ; then
942          echo "Exactly one loader option must be chosen: dlopen=$enable_dlopen statsysbfd=$enable_statsysbfd dynsysbfd=$enable_dynsysbfd locbfd=$enable_locbfd"          echo "Exactly one loader option must be chosen: dlopen=$enable_dlopen statsysbfd=$enable_statsysbfd dynsysbfd=$enable_dynsysbfd locbfd=$enable_locbfd custreloc=$enable_custreloc"
943          exit 1          exit 1
944  fi  fi
945    
# Line 945  echo "$ac_t""use=$use" 1>&6 Line 962  echo "$ac_t""use=$use" 1>&6
962  # Extract the first word of "gcc", so it can be a program name with args.  # Extract the first word of "gcc", so it can be a program name with args.
963  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
964  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
965  echo "configure:949: checking for $ac_word" >&5  echo "configure:966: checking for $ac_word" >&5
966  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
967    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
968  else  else
# Line 975  if test -z "$CC"; then Line 992  if test -z "$CC"; then
992    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
993  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
994  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
995  echo "configure:979: checking for $ac_word" >&5  echo "configure:996: checking for $ac_word" >&5
996  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
997    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
998  else  else
# Line 1026  fi Line 1043  fi
1043        # Extract the first word of "cl", so it can be a program name with args.        # Extract the first word of "cl", so it can be a program name with args.
1044  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
1045  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1046  echo "configure:1030: checking for $ac_word" >&5  echo "configure:1047: checking for $ac_word" >&5
1047  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1048    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1049  else  else
# Line 1058  fi Line 1075  fi
1075  fi  fi
1076    
1077  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1078  echo "configure:1062: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1079: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1079    
1080  ac_ext=c  ac_ext=c
1081  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 1069  cross_compiling=$ac_cv_prog_cc_cross Line 1086  cross_compiling=$ac_cv_prog_cc_cross
1086    
1087  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
1088    
1089  #line 1073 "configure"  #line 1090 "configure"
1090  #include "confdefs.h"  #include "confdefs.h"
1091    
1092  main(){return(0);}  main(){return(0);}
1093  EOF  EOF
1094  if { (eval echo configure:1078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1095    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
1096    # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
1097    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 1100  if test $ac_cv_prog_cc_works = no; then Line 1117  if test $ac_cv_prog_cc_works = no; then
1117    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1118  fi  fi
1119  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1120  echo "configure:1104: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1121: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1121  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1122  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1123    
1124  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1125  echo "configure:1109: checking whether we are using GNU C" >&5  echo "configure:1126: checking whether we are using GNU C" >&5
1126  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1127    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1128  else  else
# Line 1114  else Line 1131  else
1131    yes;    yes;
1132  #endif  #endif
1133  EOF  EOF
1134  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1135    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
1136  else  else
1137    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 1133  ac_test_CFLAGS="${CFLAGS+set}" Line 1150  ac_test_CFLAGS="${CFLAGS+set}"
1150  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
1151  CFLAGS=  CFLAGS=
1152  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1153  echo "configure:1137: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1154: checking whether ${CC-cc} accepts -g" >&5
1154  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1155    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1156  else  else
# Line 1165  else Line 1182  else
1182  fi  fi
1183    
1184  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1185  echo "configure:1169: checking how to run the C preprocessor" >&5  echo "configure:1186: checking how to run the C preprocessor" >&5
1186  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1187  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1188    CPP=    CPP=
# Line 1180  else Line 1197  else
1197    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
1198    # not just through cpp.    # not just through cpp.
1199    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1200  #line 1184 "configure"  #line 1201 "configure"
1201  #include "confdefs.h"  #include "confdefs.h"
1202  #include <assert.h>  #include <assert.h>
1203  Syntax Error  Syntax Error
1204  EOF  EOF
1205  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1206  { (eval echo configure:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1207  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1208  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1209    :    :
# Line 1197  else Line 1214  else
1214    rm -rf conftest*    rm -rf conftest*
1215    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1216    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1217  #line 1201 "configure"  #line 1218 "configure"
1218  #include "confdefs.h"  #include "confdefs.h"
1219  #include <assert.h>  #include <assert.h>
1220  Syntax Error  Syntax Error
1221  EOF  EOF
1222  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1223  { (eval echo configure:1207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1224  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1225  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1226    :    :
# Line 1214  else Line 1231  else
1231    rm -rf conftest*    rm -rf conftest*
1232    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1233    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1234  #line 1218 "configure"  #line 1235 "configure"
1235  #include "confdefs.h"  #include "confdefs.h"
1236  #include <assert.h>  #include <assert.h>
1237  Syntax Error  Syntax Error
1238  EOF  EOF
1239  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1240  { (eval echo configure:1224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1241  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1242  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1243    :    :
# Line 1288  esac Line 1305  esac
1305  # there are a few systems, like Next, where this doesn't work.  # there are a few systems, like Next, where this doesn't work.
1306    
1307  echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6  echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6
1308  echo "configure:1292: checking system version (for dynamic loading)" >&5  echo "configure:1309: checking system version (for dynamic loading)" >&5
1309  if machine=`uname -m` ; then true; else machine=unknown ; fi  if machine=`uname -m` ; then true; else machine=unknown ; fi
1310    
1311  for ac_prog in gawk nawk awk  for ac_prog in gawk nawk awk
# Line 1296  do Line 1313  do
1313  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
1314  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1315  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1316  echo "configure:1300: checking for $ac_word" >&5  echo "configure:1317: checking for $ac_word" >&5
1317  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1318    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1319  else  else
# Line 1332  do Line 1349  do
1349  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
1350  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1351  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1352  echo "configure:1336: checking for $ac_word" >&5  echo "configure:1353: checking for $ac_word" >&5
1353  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1354    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1355  else  else
# Line 1395  rm -f makedefsafter Line 1412  rm -f makedefsafter
1412  MP_INLCUDE=""  MP_INLCUDE=""
1413  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
1414   echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6   echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6
1415  echo "configure:1399: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:1416: checking use_gmp=yes, doing configure in gmp directory" >&5
1416   echo   echo
1417   echo "#"   echo "#"
1418   echo "#"   echo "#"
# Line 1418  echo "configure:1399: checking use_gmp=y Line 1435  echo "configure:1399: checking use_gmp=y
1435   echo "#"   echo "#"
1436   cp gmp3/gmp.h h/gmp.h   cp gmp3/gmp.h h/gmp.h
1437   echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6   echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6
1438  echo "configure:1422: checking "for size of gmp limbs"" >&5  echo "configure:1439: checking "for size of gmp limbs"" >&5
1439   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1440    mpsize=0    mpsize=0
1441  else  else
1442    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1443  #line 1427 "configure"  #line 1444 "configure"
1444  #include "confdefs.h"  #include "confdefs.h"
1445  #include <stdio.h>  #include <stdio.h>
1446          #include "h/gmp.h"          #include "h/gmp.h"
# Line 1434  else Line 1451  else
1451          return 0;          return 0;
1452  }  }
1453  EOF  EOF
1454  if { (eval echo configure:1438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1455  then  then
1456    mpsize=`cat conftest1`    mpsize=`cat conftest1`
1457  else  else
# Line 1477  fi Line 1494  fi
1494  if test "$enable_dlopen" = "yes" ; then  if test "$enable_dlopen" = "yes" ; then
1495    
1496          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
1497  echo "configure:1481: checking for dlopen in -ldl" >&5  echo "configure:1498: checking for dlopen in -ldl" >&5
1498  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
1499  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1500    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1485  else Line 1502  else
1502    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1503  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
1504  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1505  #line 1489 "configure"  #line 1506 "configure"
1506  #include "confdefs.h"  #include "confdefs.h"
1507  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1508  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 1496  int main() { Line 1513  int main() {
1513  dlopen()  dlopen()
1514  ; return 0; }  ; return 0; }
1515  EOF  EOF
1516  if { (eval echo configure:1500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1517    rm -rf conftest*    rm -rf conftest*
1518    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1519  else  else
# Line 1532  fi Line 1549  fi
1549  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then
1550          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
1551  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
1552  echo "configure:1536: checking for bfd.h" >&5  echo "configure:1553: checking for bfd.h" >&5
1553  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1554    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1555  else  else
1556    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1557  #line 1541 "configure"  #line 1558 "configure"
1558  #include "confdefs.h"  #include "confdefs.h"
1559  #include <bfd.h>  #include <bfd.h>
1560  EOF  EOF
1561  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1562  { (eval echo configure:1546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1563  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1564  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1565    rm -rf conftest*    rm -rf conftest*
# Line 1559  fi Line 1576  fi
1576  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1577    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1578    echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6    echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6
1579  echo "configure:1563: checking for bfd_init in -lbfd" >&5  echo "configure:1580: checking for bfd_init in -lbfd" >&5
1580  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
1581  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1582    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1567  else Line 1584  else
1584    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1585  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
1586  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1587  #line 1571 "configure"  #line 1588 "configure"
1588  #include "confdefs.h"  #include "confdefs.h"
1589  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1590  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 1578  int main() { Line 1595  int main() {
1595  bfd_init()  bfd_init()
1596  ; return 0; }  ; return 0; }
1597  EOF  EOF
1598  if { (eval echo configure:1582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1599    rm -rf conftest*    rm -rf conftest*
1600    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1601  else  else
# Line 1597  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 1614  if eval "test \"`echo '$ac_cv_lib_'$ac_l
1614                  # Old binutils appear to need CONST defined to const                  # Old binutils appear to need CONST defined to const
1615                  #                  #
1616                          echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6                          echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6
1617  echo "configure:1601: checking if need to define CONST for bfd" >&5  echo "configure:1618: checking if need to define CONST for bfd" >&5
1618                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
1619    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
1620  else  else
1621    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1622  #line 1606 "configure"  #line 1623 "configure"
1623  #include "confdefs.h"  #include "confdefs.h"
1624  #define IN_GCC  #define IN_GCC
1625                                      #include <bfd.h>                                      #include <bfd.h>
1626                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
1627  EOF  EOF
1628  if { (eval echo configure:1612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1629  then  then
1630    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1631  else  else
# Line 1619  else Line 1636  else
1636    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
1637  else  else
1638    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1639  #line 1623 "configure"  #line 1640 "configure"
1640  #include "confdefs.h"  #include "confdefs.h"
1641  #define IN_GCC  #define IN_GCC
1642                                              #include <bfd.h>                                              #include <bfd.h>
1643                                              #define CONST const                                              #define CONST const
1644                                              int main() {symbol_info t; return 0;}                                              int main() {symbol_info t; return 0;}
1645  EOF  EOF
1646  if { (eval echo configure:1630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1647  then  then
1648    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1649                                          cat >> confdefs.h <<\EOF                                          cat >> confdefs.h <<\EOF
# Line 1682  if test "$enable_locbfd" = "yes" ; then Line 1699  if test "$enable_locbfd" = "yes" ; then
1699          echo "# Subconfigure of BFD"          echo "# Subconfigure of BFD"
1700          echo "#"          echo "#"
1701          echo "#"          echo "#"
1702          cd binutils/bfd && ./configure && cd ../..          cd binutils/bfd && chmod +x configure && ./configure && cd ../..
1703          echo "#"          echo "#"
1704          echo "#"          echo "#"
1705          echo "#"          echo "#"
# Line 1695  if test "$enable_locbfd" = "yes" ; then Line 1712  if test "$enable_locbfd" = "yes" ; then
1712          echo "# Subconfigure of LIBIBERTY"          echo "# Subconfigure of LIBIBERTY"
1713          echo "#"          echo "#"
1714          echo "#"          echo "#"
1715          cd binutils/libiberty && ./configure && cd ../..          cd binutils/libiberty && chmod +x configure && ./configure && cd ../..
1716          echo "#"          echo "#"
1717          echo "#"          echo "#"
1718          echo "#"          echo "#"
# Line 1716  fi Line 1733  fi
1733  # addresses, in calculating a page for an address in the heap.  # addresses, in calculating a page for an address in the heap.
1734    
1735  echo $ac_n "checking size of long *""... $ac_c" 1>&6  echo $ac_n "checking size of long *""... $ac_c" 1>&6
1736  echo "configure:1720: checking size of long *" >&5  echo "configure:1737: checking size of long *" >&5
1737  if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then
1738    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1739  else  else
# Line 1724  else Line 1741  else
1741    ac_cv_sizeof_long_p=0    ac_cv_sizeof_long_p=0
1742  else  else
1743    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1744  #line 1728 "configure"  #line 1745 "configure"
1745  #include "confdefs.h"  #include "confdefs.h"
1746  #include <stdio.h>  #include <stdio.h>
1747  main()  main()
# Line 1735  main() Line 1752  main()
1752    exit(0);    exit(0);
1753  }  }
1754  EOF  EOF
1755  if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1756  then  then
1757    ac_cv_sizeof_long_p=`cat conftestval`    ac_cv_sizeof_long_p=`cat conftestval`
1758  else  else
# Line 1759  for ac_hdr in endian.h Line 1776  for ac_hdr in endian.h
1776  do  do
1777  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1778  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1779  echo "configure:1763: checking for $ac_hdr" >&5  echo "configure:1780: checking for $ac_hdr" >&5
1780  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1781    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1782  else  else
1783    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1784  #line 1768 "configure"  #line 1785 "configure"
1785  #include "confdefs.h"  #include "confdefs.h"
1786  #include <$ac_hdr>  #include <$ac_hdr>
1787  EOF  EOF
1788  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1789  { (eval echo configure:1773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1790  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1791  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1792    rm -rf conftest*    rm -rf conftest*
# Line 1790  if eval "test \"`echo '$ac_cv_header_'$a Line 1807  if eval "test \"`echo '$ac_cv_header_'$a
1807  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
1808  EOF  EOF
1809   echo $ac_n "checking "endianness"""... $ac_c" 1>&6   echo $ac_n "checking "endianness"""... $ac_c" 1>&6
1810  echo "configure:1794: checking "endianness"" >&5  echo "configure:1811: checking "endianness"" >&5
1811          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
1812    echo "$ac_t""big" 1>&6    echo "$ac_t""big" 1>&6
1813  else  else
1814    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1815  #line 1799 "configure"  #line 1816 "configure"
1816  #include "confdefs.h"  #include "confdefs.h"
1817  #define __ARMEB__  #define __ARMEB__
1818                  #include <endian.h>                  #include <endian.h>
1819                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
1820  EOF  EOF
1821  if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1822  then  then
1823    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1824  #define LITTLE_END 1  #define LITTLE_END 1
# Line 1824  done Line 1841  done
1841    
1842    
1843  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
1844  echo "configure:1828: checking "finding DBEGIN"" >&5  echo "configure:1845: checking "finding DBEGIN"" >&5
1845  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1846    dbegin=0    dbegin=0
1847  else  else
1848    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1849  #line 1833 "configure"  #line 1850 "configure"
1850  #include "confdefs.h"  #include "confdefs.h"
1851  #include <stdio.h>  #include <stdio.h>
1852              #include <stdlib.h>              #include <stdlib.h>
# Line 1846  main() Line 1863  main()
1863    return 0;    return 0;
1864  }  }
1865  EOF  EOF
1866  if { (eval echo configure:1850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1867  then  then
1868    dbegin=`cat conftest1`    dbegin=`cat conftest1`
1869  else  else
# Line 1868  echo "$ac_t""got $dbegin" 1>&6 Line 1885  echo "$ac_t""got $dbegin" 1>&6
1885    
1886    
1887  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
1888  echo "configure:1872: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:1889: checking "finding CSTACK_ADDRESS"" >&5
1889  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1890    cstack_address=0    cstack_address=0
1891  else  else
1892    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1893  #line 1877 "configure"  #line 1894 "configure"
1894  #include "confdefs.h"  #include "confdefs.h"
1895  #include <stdio.h>  #include <stdio.h>
1896  main()  main()
# Line 1885  main() Line 1902  main()
1902    return 0;    return 0;
1903  }  }
1904  EOF  EOF
1905  if { (eval echo configure:1889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1906  then  then
1907    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
1908  else  else
# Line 1907  echo "$ac_t""got $cstack_address" 1>&6 Line 1924  echo "$ac_t""got $cstack_address" 1>&6
1924    
1925    
1926  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
1927  echo "configure:1911: checking "sizeof long long int"" >&5  echo "configure:1928: checking "sizeof long long int"" >&5
1928  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1929    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1930    
1931  else  else
1932    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1933  #line 1917 "configure"  #line 1934 "configure"
1934  #include "confdefs.h"  #include "confdefs.h"
1935  #include <stdio.h>  #include <stdio.h>
1936  main()  main()
# Line 1923  main() Line 1940  main()
1940  }  }
1941    
1942  EOF  EOF
1943  if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1944  then  then
1945    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1946  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 1972  fi Line 1989  fi
1989    
1990  # pagewidth  # pagewidth
1991  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
1992  echo "configure:1976: checking for pagewidth" >&5  echo "configure:1993: checking for pagewidth" >&5
1993  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1994    PAGEWIDTH=0    PAGEWIDTH=0
1995  else  else
1996    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1997  #line 1981 "configure"  #line 1998 "configure"
1998  #include "confdefs.h"  #include "confdefs.h"
1999  #include <stdio.h>  #include <stdio.h>
2000              #include <unistd.h>              #include <unistd.h>
# Line 1987  int main() {size_t i=getpagesize(),j; Line 2004  int main() {size_t i=getpagesize(),j;
2004              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
2005              return 0;}              return 0;}
2006  EOF  EOF
2007  if { (eval echo configure:1991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2008  then  then
2009    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
2010  else  else
# Line 2014  EOF Line 2031  EOF
2031  for ac_func in getcwd  for ac_func in getcwd
2032  do  do
2033  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2034  echo "configure:2018: checking for $ac_func" >&5  echo "configure:2035: checking for $ac_func" >&5
2035  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2036    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2037  else  else
2038    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2039  #line 2023 "configure"  #line 2040 "configure"
2040  #include "confdefs.h"  #include "confdefs.h"
2041  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2042      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 2042  $ac_func(); Line 2059  $ac_func();
2059    
2060  ; return 0; }  ; return 0; }
2061  EOF  EOF
2062  if { (eval echo configure:2046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2063    rm -rf conftest*    rm -rf conftest*
2064    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
2065  else  else
# Line 2069  done Line 2086  done
2086  for ac_func in getwd  for ac_func in getwd
2087  do  do
2088  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2089  echo "configure:2073: checking for $ac_func" >&5  echo "configure:2090: checking for $ac_func" >&5
2090  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2091    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2092  else  else
2093    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2094  #line 2078 "configure"  #line 2095 "configure"
2095  #include "confdefs.h"  #include "confdefs.h"
2096  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2097      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 2097  $ac_func(); Line 2114  $ac_func();
2114    
2115  ; return 0; }  ; return 0; }
2116  EOF  EOF
2117  if { (eval echo configure:2101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2118    rm -rf conftest*    rm -rf conftest*
2119    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
2120  else  else
# Line 2122  fi Line 2139  fi
2139  done  done
2140    
2141  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
2142  echo "configure:2126: checking for uname" >&5  echo "configure:2143: checking for uname" >&5
2143  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
2144    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2145  else  else
2146    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2147  #line 2131 "configure"  #line 2148 "configure"
2148  #include "confdefs.h"  #include "confdefs.h"
2149  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2150      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 2150  uname(); Line 2167  uname();
2167    
2168  ; return 0; }  ; return 0; }
2169  EOF  EOF
2170  if { (eval echo configure:2154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2171    rm -rf conftest*    rm -rf conftest*
2172    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
2173  else  else
# Line 2174  EOF Line 2191  EOF
2191  fi  fi
2192    
2193  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
2194  echo "configure:2178: checking for gettimeofday" >&5  echo "configure:2195: checking for gettimeofday" >&5
2195  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
2196    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2197  else  else
2198    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2199  #line 2183 "configure"  #line 2200 "configure"
2200  #include "confdefs.h"  #include "confdefs.h"
2201  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2202      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 2202  gettimeofday(); Line 2219  gettimeofday();
2219    
2220  ; return 0; }  ; return 0; }
2221  EOF  EOF
2222  if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2223    rm -rf conftest*    rm -rf conftest*
2224    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
2225  else  else
# Line 2231  for ac_hdr in sys/ioctl.h Line 2248  for ac_hdr in sys/ioctl.h
2248  do  do
2249  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2250  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2251  echo "configure:2235: checking for $ac_hdr" >&5  echo "configure:2252: checking for $ac_hdr" >&5
2252  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2253    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2254  else  else
2255    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2256  #line 2240 "configure"  #line 2257 "configure"
2257  #include "confdefs.h"  #include "confdefs.h"
2258  #include <$ac_hdr>  #include <$ac_hdr>
2259  EOF  EOF
2260  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2261  { (eval echo configure:2245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2262  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2263  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2264    rm -rf conftest*    rm -rf conftest*
# Line 2281  done Line 2298  done
2298  #--------------------------------------------------------------------  #--------------------------------------------------------------------
2299    
2300  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
2301  echo "configure:2285: checking for BSDgettimeofday" >&5  echo "configure:2302: checking for BSDgettimeofday" >&5
2302  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
2303    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2304  else  else
2305    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2306  #line 2290 "configure"  #line 2307 "configure"
2307  #include "confdefs.h"  #include "confdefs.h"
2308  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2309      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 2309  BSDgettimeofday(); Line 2326  BSDgettimeofday();
2326    
2327  ; return 0; }  ; return 0; }
2328  EOF  EOF
2329  if { (eval echo configure:2313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2330    rm -rf conftest*    rm -rf conftest*
2331    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
2332  else  else
# Line 2330  EOF Line 2347  EOF
2347  else  else
2348    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2349  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
2350  echo "configure:2334: checking for gettimeofday" >&5  echo "configure:2351: checking for gettimeofday" >&5
2351  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
2352    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2353  else  else
2354    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2355  #line 2339 "configure"  #line 2356 "configure"
2356  #include "confdefs.h"  #include "confdefs.h"
2357  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2358      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 2358  gettimeofday(); Line 2375  gettimeofday();
2375    
2376  ; return 0; }  ; return 0; }
2377  EOF  EOF
2378  if { (eval echo configure:2362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2379    rm -rf conftest*    rm -rf conftest*
2380    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
2381  else  else
# Line 2385  fi Line 2402  fi
2402    
2403    
2404  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
2405  echo "configure:2389: checking for gettimeofday declaration" >&5  echo "configure:2406: checking for gettimeofday declaration" >&5
2406    
2407  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2408  #line 2392 "configure"  #line 2409 "configure"
2409  #include "confdefs.h"  #include "confdefs.h"
2410  #include <sys/time.h>  #include <sys/time.h>
2411  EOF  EOF
# Line 2409  rm -f conftest* Line 2426  rm -f conftest*
2426    
2427    
2428  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
2429  echo "configure:2413: checking for sin in -lm" >&5  echo "configure:2430: checking for sin in -lm" >&5
2430  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
2431  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2432    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2417  else Line 2434  else
2434    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2435  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
2436  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2437  #line 2421 "configure"  #line 2438 "configure"
2438  #include "confdefs.h"  #include "confdefs.h"
2439  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2440  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 2428  int main() { Line 2445  int main() {
2445  sin()  sin()
2446  ; return 0; }  ; return 0; }
2447  EOF  EOF
2448  if { (eval echo configure:2432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2449    rm -rf conftest*    rm -rf conftest*
2450    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2451  else  else
# Line 2450  true Line 2467  true
2467  fi  fi
2468    
2469  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
2470  echo "configure:2454: checking for main in -lmingwex" >&5  echo "configure:2471: checking for main in -lmingwex" >&5
2471  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
2472  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2473    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2458  else Line 2475  else
2475    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2476  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
2477  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2478  #line 2462 "configure"  #line 2479 "configure"
2479  #include "confdefs.h"  #include "confdefs.h"
2480    
2481  int main() {  int main() {
2482  main()  main()
2483  ; return 0; }  ; return 0; }
2484  EOF  EOF
2485  if { (eval echo configure:2469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2486    rm -rf conftest*    rm -rf conftest*
2487    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2488  else  else
# Line 2494  for ac_hdr in math.h Line 2511  for ac_hdr in math.h
2511  do  do
2512  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2513  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2514  echo "configure:2498: checking for $ac_hdr" >&5  echo "configure:2515: checking for $ac_hdr" >&5
2515  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2516    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2517  else  else
2518    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2519  #line 2503 "configure"  #line 2520 "configure"
2520  #include "confdefs.h"  #include "confdefs.h"
2521  #include <$ac_hdr>  #include <$ac_hdr>
2522  EOF  EOF
2523  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2524  { (eval echo configure:2508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2525  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2526  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2527    rm -rf conftest*    rm -rf conftest*
# Line 2541  for ac_hdr in values.h Line 2558  for ac_hdr in values.h
2558  do  do
2559  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2560  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2561  echo "configure:2545: checking for $ac_hdr" >&5  echo "configure:2562: checking for $ac_hdr" >&5
2562  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2563    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2564  else  else
2565    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2566  #line 2550 "configure"  #line 2567 "configure"
2567  #include "confdefs.h"  #include "confdefs.h"
2568  #include <$ac_hdr>  #include <$ac_hdr>
2569  EOF  EOF
2570  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2571  { (eval echo configure:2555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2572  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2573  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2574    rm -rf conftest*    rm -rf conftest*
# Line 2587  done Line 2604  done
2604  # test makes sense.  CM  # test makes sense.  CM
2605  #  #
2606  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
2607  echo "configure:2591: checking for isnormal" >&5  echo "configure:2608: checking for isnormal" >&5
2608  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
2609    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
2610  else  else
2611    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2612  #line 2596 "configure"  #line 2613 "configure"
2613  #include "confdefs.h"  #include "confdefs.h"
2614  #define _GNU_SOURCE  #define _GNU_SOURCE
2615              #include <math.h>              #include <math.h>
# Line 2601  else Line 2618  else
2618                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
2619                  }                  }
2620  EOF  EOF
2621  if { (eval echo configure:2605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2622  then  then
2623    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2624  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 2612  else Line 2629  else
2629    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2630    rm -fr conftest*    rm -fr conftest*
2631    echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6    echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6
2632  echo "configure:2616: checking for fpclass in ieeefp.h" >&5  echo "configure:2633: checking for fpclass in ieeefp.h" >&5
2633                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
2634    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
2635  else  else
2636    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2637  #line 2621 "configure"  #line 2638 "configure"
2638  #include "confdefs.h"  #include "confdefs.h"
2639  #include <ieeefp.h>  #include <ieeefp.h>
2640                              int main() {                              int main() {
# Line 2625  else Line 2642  else
2642                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
2643                                  }                                  }
2644  EOF  EOF
2645  if { (eval echo configure:2629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2646  then  then
2647    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2648  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 2647  fi Line 2664  fi
2664    
2665    
2666  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
2667  echo "configure:2651: checking for isfinite" >&5  echo "configure:2668: checking for isfinite" >&5
2668  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
2669    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
2670  else  else
2671    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2672  #line 2656 "configure"  #line 2673 "configure"
2673  #include "confdefs.h"  #include "confdefs.h"
2674  #define _GNU_SOURCE  #define _GNU_SOURCE
2675              #include <math.h>              #include <math.h>
# Line 2661  else Line 2678  else
2678                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
2679                  }                  }
2680  EOF  EOF
2681  if { (eval echo configure:2665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2682  then  then
2683    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2684  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 2672  else Line 2689  else
2689    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2690    rm -fr conftest*    rm -fr conftest*
2691    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
2692  echo "configure:2676: checking for finite()" >&5  echo "configure:2693: checking for finite()" >&5
2693                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
2694    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
2695  else  else
2696    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2697  #line 2681 "configure"  #line 2698 "configure"
2698  #include "confdefs.h"  #include "confdefs.h"
2699  #include <math.h>  #include <math.h>
2700                              int main() {                              int main() {
# Line 2685  else Line 2702  else
2702                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
2703                                  }                                  }
2704  EOF  EOF
2705  if { (eval echo configure:2689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2706  then  then
2707    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2708  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 2726  fi Line 2743  fi
2743  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
2744  #--------------------------------------------------------------------  #--------------------------------------------------------------------
2745  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
2746  echo "configure:2730: checking for sockets" >&5  echo "configure:2747: checking for sockets" >&5
2747  tcl_checkBoth=0  tcl_checkBoth=0
2748  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
2749  echo "configure:2733: checking for connect" >&5  echo "configure:2750: checking for connect" >&5
2750  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2751    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2752  else  else
2753    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2754  #line 2738 "configure"  #line 2755 "configure"
2755  #include "confdefs.h"  #include "confdefs.h"
2756  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2757      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 2757  connect(); Line 2774  connect();
2774    
2775  ; return 0; }  ; return 0; }
2776  EOF  EOF
2777  if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2778    rm -rf conftest*    rm -rf conftest*
2779    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
2780  else  else
# Line 2779  fi Line 2796  fi
2796    
2797  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
2798      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
2799  echo "configure:2783: checking for main in -lsocket" >&5  echo "configure:2800: checking for main in -lsocket" >&5
2800  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
2801  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2802    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2787  else Line 2804  else
2804    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2805  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
2806  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2807  #line 2791 "configure"  #line 2808 "configure"
2808  #include "confdefs.h"  #include "confdefs.h"
2809    
2810  int main() {  int main() {
2811  main()  main()
2812  ; return 0; }  ; return 0; }
2813  EOF  EOF
2814  if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2815    rm -rf conftest*    rm -rf conftest*
2816    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2817  else  else
# Line 2822  if test "$tcl_checkBoth" = 1; then Line 2839  if test "$tcl_checkBoth" = 1; then
2839      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
2840      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
2841      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
2842  echo "configure:2826: checking for accept" >&5  echo "configure:2843: checking for accept" >&5
2843  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
2844    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2845  else  else
2846    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2847  #line 2831 "configure"  #line 2848 "configure"
2848  #include "confdefs.h"  #include "confdefs.h"
2849  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2850      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 2850  accept(); Line 2867  accept();
2867    
2868  ; return 0; }  ; return 0; }
2869  EOF  EOF
2870  if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2871    rm -rf conftest*    rm -rf conftest*
2872    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
2873  else  else
# Line 2872  fi Line 2889  fi
2889    
2890  fi  fi
2891  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
2892  echo "configure:2876: checking for gethostbyname" >&5  echo "configure:2893: checking for gethostbyname" >&5
2893  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
2894    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2895  else  else
2896    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2897  #line 2881 "configure"  #line 2898 "configure"
2898  #include "confdefs.h"  #include "confdefs.h"
2899  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2900      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 2900  gethostbyname(); Line 2917  gethostbyname();
2917    
2918  ; return 0; }  ; return 0; }
2919  EOF  EOF
2920  if { (eval echo configure:2904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2921    rm -rf conftest*    rm -rf conftest*
2922    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
2923  else  else
# Line 2918  if eval "test \"`echo '$ac_cv_func_'geth Line 2935  if eval "test \"`echo '$ac_cv_func_'geth
2935  else  else
2936    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2937  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
2938  echo "configure:2922: checking for main in -lnsl" >&5  echo "configure:2939: checking for main in -lnsl" >&5
2939  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
2940  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2941    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2926  else Line 2943  else
2943    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2944  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2945  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2946  #line 2930 "configure"  #line 2947 "configure"
2947  #include "confdefs.h"  #include "confdefs.h"
2948    
2949  int main() {  int main() {
2950  main()  main()
2951  ; return 0; }  ; return 0; }
2952  EOF  EOF
2953  if { (eval echo configure:2937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2954    rm -rf conftest*    rm -rf conftest*
2955    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2956  else  else
# Line 2958  fi Line 2975  fi
2975    
2976  if test "$enable_readline" = "yes" ; then  if test "$enable_readline" = "yes" ; then
2977          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
2978  echo "configure:2962: checking for main in -lreadline" >&5  echo "configure:2979: checking for main in -lreadline" >&5
2979  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
2980  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2981    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2966  else Line 2983  else
2983    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2984  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
2985  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2986  #line 2970 "configure"  #line 2987 "configure"
2987  #include "confdefs.h"  #include "confdefs.h"
2988    
2989  int main() {  int main() {
2990  main()  main()
2991  ; return 0; }  ; return 0; }
2992  EOF  EOF
2993  if { (eval echo configure:2977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2994    rm -rf conftest*    rm -rf conftest*
2995    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2996  else  else
# Line 3005  fi Line 3022  fi
3022    
3023    
3024  echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6  echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6
3025  echo "configure:3009: checking For network code for nsocket.c" >&5  echo "configure:3026: checking For network code for nsocket.c" >&5
3026  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3027  #line 3011 "configure"  #line 3028 "configure"
3028  #include "confdefs.h"  #include "confdefs.h"
3029    
3030  #include <sys/time.h>  #include <sys/time.h>
# Line 3034  int main() { Line 3051  int main() {
3051                    
3052  ; return 0; }  ; return 0; }
3053  EOF  EOF
3054  if { (eval echo configure:3038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3055    rm -rf conftest*    rm -rf conftest*
3056    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3057  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 3051  rm -f conftest* Line 3068  rm -f conftest*
3068    
3069    
3070  echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6  echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6
3071  echo "configure:3055: checking check for listen using fcntl" >&5  echo "configure:3072: checking check for listen using fcntl" >&5
3072  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3073  #line 3057 "configure"  #line 3074 "configure"
3074  #include "confdefs.h"  #include "confdefs.h"
3075  #include <stdio.h>  #include <stdio.h>
3076  #include <fcntl.h>  #include <fcntl.h>
# Line 3066  FILE *fp=fopen("configure.in","r"); Line 3083  FILE *fp=fopen("configure.in","r");
3083    
3084  ; return 0; }  ; return 0; }
3085  EOF  EOF
3086  if { (eval echo configure:3070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3087    rm -rf conftest*    rm -rf conftest*
3088    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3089  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 3085  rm -f conftest* Line 3102  rm -f conftest*
3102    
3103    
3104  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
3105  echo "configure:3089: checking for profil" >&5  echo "configure:3106: checking for profil" >&5
3106  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
3107    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3108  else  else
3109    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3110  #line 3094 "configure"  #line 3111 "configure"
3111  #include "confdefs.h"  #include "confdefs.h"
3112  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3113      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 3113  profil(); Line 3130  profil();
3130    
3131  ; return 0; }  ; return 0; }
3132  EOF  EOF
3133  if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3134    rm -rf conftest*    rm -rf conftest*
3135    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
3136  else  else
# Line 3138  fi Line 3155  fi
3155    
3156    
3157  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
3158  echo "configure:3142: checking for setenv" >&5  echo "configure:3159: checking for setenv" >&5
3159  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
3160    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3161  else  else
3162    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3163  #line 3147 "configure"  #line 3164 "configure"
3164  #include "confdefs.h"  #include "confdefs.h"
3165  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3166      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 3166  setenv(); Line 3183  setenv();
3183    
3184  ; return 0; }  ; return 0; }
3185  EOF  EOF
3186  if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3187    rm -rf conftest*    rm -rf conftest*
3188    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
3189  else  else
# Line 3192  fi Line 3209  fi
3209    
3210  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
3211  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
3212  echo "configure:3196: checking for putenv" >&5  echo "configure:3213: checking for putenv" >&5
3213  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
3214    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3215  else  else
3216    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3217  #line 3201 "configure"  #line 3218 "configure"
3218  #include "confdefs.h"  #include "confdefs.h"
3219  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3220      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 3220  putenv(); Line 3237  putenv();
3237    
3238  ; return 0; }  ; return 0; }
3239  EOF  EOF
3240  if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3241    rm -rf conftest*    rm -rf conftest*
3242    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
3243  else  else
# Line 3246  fi Line 3263  fi
3263  fi  fi
3264    
3265  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
3266  echo "configure:3250: checking for _cleanup" >&5  echo "configure:3267: checking for _cleanup" >&5
3267  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
3268    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3269  else  else
3270    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3271  #line 3255 "configure"  #line 3272 "configure"
3272  #include "confdefs.h"  #include "confdefs.h"
3273  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3274      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 3274  _cleanup(); Line 3291  _cleanup();
3291    
3292  ; return 0; }  ; return 0; }
3293  EOF  EOF
3294  if { (eval echo configure:3278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3295    rm -rf conftest*    rm -rf conftest*
3296    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
3297  else  else
# Line 3300  fi Line 3317  fi
3317  gcl_ok=no  gcl_ok=no
3318    
3319  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3320  #line 3304 "configure"  #line 3321 "configure"
3321  #include "confdefs.h"  #include "confdefs.h"
3322  #include <ctype.h>  #include <ctype.h>
3323  EOF  EOF
# Line 3328  fi Line 3345  fi
3345    
3346  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
3347  echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6  echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6
3348  echo "configure:3332: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:3349: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
3349    
3350  case $system in  case $system in
3351         OSF*)         OSF*)
# Line 3359  esac Line 3376  esac
3376    
3377    
3378  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
3379  echo "configure:3363: checking check for SV_ONSTACK" >&5  echo "configure:3380: checking check for SV_ONSTACK" >&5
3380  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3381  #line 3365 "configure"  #line 3382 "configure"
3382  #include "confdefs.h"  #include "confdefs.h"
3383  #include <signal.h>  #include <signal.h>
3384  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 3370  int main() { Line 3387  int main() {
3387    
3388  ; return 0; }  ; return 0; }
3389  EOF  EOF
3390  if { (eval echo configure:3374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3391    rm -rf conftest*    rm -rf conftest*
3392    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3393  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 3387  fi Line 3404  fi
3404  rm -f conftest*  rm -f conftest*
3405    
3406  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
3407  echo "configure:3391: checking check for SIGSYS" >&5  echo "configure:3408: checking check for SIGSYS" >&5
3408  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3409  #line 3393 "configure"  #line 3410 "configure"
3410  #include "confdefs.h"  #include "confdefs.h"
3411  #include <signal.h>  #include <signal.h>
3412  int joe=SIGSYS;  int joe=SIGSYS;
# Line 3398  int main() { Line 3415  int main() {
3415    
3416  ; return 0; }  ; return 0; }
3417  EOF  EOF
3418  if { (eval echo configure:3402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3419    rm -rf conftest*    rm -rf conftest*
3420    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3421  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 3416  rm -f conftest* Line 3433  rm -f conftest*
3433    
3434    
3435  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
3436  echo "configure:3420: checking check for SIGEMT" >&5  echo "configure:3437: checking check for SIGEMT" >&5
3437  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3438  #line 3422 "configure"  #line 3439 "configure"
3439  #include "confdefs.h"  #include "confdefs.h"
3440  #include <signal.h>  #include <signal.h>
3441  int joe=SIGEMT;  int joe=SIGEMT;
# Line 3427  int main() { Line 3444  int main() {
3444    
3445  ; return 0; }  ; return 0; }
3446  EOF  EOF
3447  if { (eval echo configure:3431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3448    rm -rf conftest*    rm -rf conftest*
3449    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3450  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 3451  rm -f conftest* Line 3468  rm -f conftest*
3468  do  do
3469  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3470  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3471  echo "configure:3455: checking for $ac_hdr" >&5  echo "configure:3472: checking for $ac_hdr" >&5
3472  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3473    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3474  else  else
3475    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3476  #line 3460 "configure"  #line 3477 "configure"
3477  #include "confdefs.h"  #include "confdefs.h"
3478  #include <$ac_hdr>  #include <$ac_hdr>
3479  EOF  EOF
3480  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3481  { (eval echo configure:3465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3482  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3483  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3484    rm -rf conftest*    rm -rf conftest*
# Line 3491  done Line 3508  done
3508  do  do
3509  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3510  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3511  echo "configure:3495: checking for $ac_hdr" >&5  echo "configure:3512: checking for $ac_hdr" >&5
3512  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3513    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3514  else  else
3515    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3516  #line 3500 "configure"  #line 3517 "configure"
3517  #include "confdefs.h"  #include "confdefs.h"
3518  #include <$ac_hdr>  #include <$ac_hdr>
3519  EOF  EOF
3520  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3521  { (eval echo configure:3505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3522  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3523  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3524    rm -rf conftest*    rm -rf conftest*
# Line 3528  fi Line 3545  fi
3545  done  done
3546    
3547          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
3548  #line 3532 "configure"  #line 3549 "configure"
3549  #include "confdefs.h"  #include "confdefs.h"
3550  #include <signal.h>  #include <signal.h>
3551                          long code;                            long code;  
# Line 3539  int main() { Line 3556  int main() {
3556                
3557  ; return 0; }  ; return 0; }
3558  EOF  EOF
3559  if { (eval echo configure:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3560    rm -rf conftest*    rm -rf conftest*
3561        
3562          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 3560  fi Line 3577  fi
3577  rm -f conftest*  rm -f conftest*
3578         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
3579         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
3580  #line 3564 "configure"  #line 3581 "configure"
3581  #include "confdefs.h"  #include "confdefs.h"
3582  #include <signal.h>  #include <signal.h>
3583               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 3577  int main() { Line 3594  int main() {
3594                    
3595  ; return 0; }  ; return 0; }
3596  EOF  EOF
3597  if { (eval echo configure:3581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3598    rm -rf conftest*    rm -rf conftest*
3599        
3600          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 3620  rm -f conftest* Line 3637  rm -f conftest*
3637  # Extract the first word of "emacs", so it can be a program name with args.  # Extract the first word of "emacs", so it can be a program name with args.
3638  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
3639  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3640  echo "configure:3624: checking for $ac_word" >&5  echo "configure:3641: checking for $ac_word" >&5
3641  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
3642    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3643  else  else
# Line 3668  cat >> conftest.el <<EOF Line 3685  cat >> conftest.el <<EOF
3685  EOF  EOF
3686    
3687  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
3688  echo "configure:3672: checking emacs site lisp directory" >&5  echo "configure:3689: checking emacs site lisp directory" >&5
3689  #EMACS_SITE_LISP=unknown  #EMACS_SITE_LISP=unknown
3690  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3691          EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `          EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
# Line 3691  cat >> conftest.el <<EOF Line 3708  cat >> conftest.el <<EOF
3708  EOF  EOF
3709    
3710  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
3711  echo "configure:3695: checking emacs default.el" >&5  echo "configure:3712: checking emacs default.el" >&5
3712  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3713          EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `          EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
3714  else  else
# Line 3720  cat >> conftest.el <<EOF Line 3737  cat >> conftest.el <<EOF
3737  EOF  EOF
3738    
3739  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
3740  echo "configure:3724: checking emacs info/dir" >&5  echo "configure:3741: checking emacs info/dir" >&5
3741  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3742          INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `          INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
3743  fi  fi
# Line 3734  echo "$ac_t""$INFO_DIR" 1>&6 Line 3751  echo "$ac_t""$INFO_DIR" 1>&6
3751    
3752    
3753  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
3754  echo "configure:3738: checking for tcl/tk" >&5  echo "configure:3755: checking for tcl/tk" >&5
3755    
3756    
3757  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 3757  EOF Line 3774  EOF
3774  # Extract the first word of "tclsh", so it can be a program name with args.  # Extract the first word of "tclsh", so it can be a program name with args.
3775  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
3776  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3777  echo "configure:3761: checking for $ac_word" >&5  echo "configure:3778: checking for $ac_word" >&5
3778  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
3779    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3780  else  else
# Line 3857  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 3874  if test -f ${TCL_CONFIG_PREFIX}/../inclu
3874    fi    fi
3875  fi  fi
3876  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
3877  echo "configure:3861: checking for main in -llieee" >&5  echo "configure:3878: checking for main in -llieee" >&5
3878  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
3879  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3880    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3865  else Line 3882  else
3882    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3883  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
3884  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3885  #line 3869 "configure"  #line 3886 "configure"
3886  #include "confdefs.h"  #include "confdefs.h"
3887    
3888  int main() {  int main() {
3889  main()  main()
3890  ; return 0; }  ; return 0; }
3891  EOF  EOF
3892  if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3893    rm -rf conftest*    rm -rf conftest*
3894    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3895  else  else
# Line 3937  NOTIFY=$enable_notify Line 3954  NOTIFY=$enable_notify
3954  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
3955    
3956  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
3957  echo "configure:3941: checking alloca" >&5  echo "configure:3958: checking alloca" >&5
3958  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3959    gcl_ok=no    gcl_ok=no
3960  else  else
3961    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3962  #line 3946 "configure"  #line 3963 "configure"
3963  #include "confdefs.h"  #include "confdefs.h"
3964  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
3965  EOF  EOF
3966  if { (eval echo configure:3950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3967  then  then
3968    :    :
3969  else  else
# Line 3969  else Line 3986  else
3986    gcl_ok=no    gcl_ok=no
3987  else  else
3988    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3989  #line 3973 "configure"  #line 3990 "configure"
3990  #include "confdefs.h"  #include "confdefs.h"
3991  #include <alloca.h>  #include <alloca.h>
3992    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
3993  EOF  EOF
3994  if { (eval echo configure:3978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3995  then  then
3996    :    :
3997  else  else
# Line 4035  if test $gcl_ok = no ; then     echo "$a Line 4052  if test $gcl_ok = no ; then     echo "$a
4052  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
4053  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
4054  echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6  echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6
4055  echo "configure:4039: checking Checking for buggy gcc version from redhat" >&5  echo "configure:4056: checking Checking for buggy gcc version from redhat" >&5
4056  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
4057     then     then
4058          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26