/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.22 by camm, Fri Feb 15 20:46:15 2002 UTC revision 1.23 by camm, Fri Feb 15 21:06:17 2002 UTC
# Line 14  ac_default_prefix=/usr/local Line 14  ac_default_prefix=/usr/local
14  ac_help="$ac_help  ac_help="$ac_help
15   --enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each) "   --enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each) "
16  ac_help="$ac_help  ac_help="$ac_help
17     --enable-vssize=XXXX will compile in a value stack of size XXX "
18    ac_help="$ac_help
19   --enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs "   --enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs "
20  ac_help="$ac_help  ac_help="$ac_help
21   --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes) "   --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes) "
# Line 544  fi Line 546  fi
546    
547    
548  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
549  echo "configure:548: checking system version (for dynamic loading)" >&5  echo "configure:550: checking system version (for dynamic loading)" >&5
550  if machine=`uname -m` ; then true; else machine=unknown ; fi  if machine=`uname -m` ; then true; else machine=unknown ; fi
551    
552  if test -f /usr/lib/NextStep/software_version; then  if test -f /usr/lib/NextStep/software_version; then
# Line 575  fi Line 577  fi
577  # 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.
578  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
579  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
580  echo "configure:579: checking for $ac_word" >&5  echo "configure:581: checking for $ac_word" >&5
581  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
582    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
583  else  else
# Line 605  if test -z "$CC"; then Line 607  if test -z "$CC"; then
607    # 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.
608  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
609  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
610  echo "configure:609: checking for $ac_word" >&5  echo "configure:611: checking for $ac_word" >&5
611  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
612    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
613  else  else
# Line 656  fi Line 658  fi
658        # 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.
659  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
660  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
661  echo "configure:660: checking for $ac_word" >&5  echo "configure:662: checking for $ac_word" >&5
662  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
663    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
664  else  else
# Line 688  fi Line 690  fi
690  fi  fi
691    
692  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
693  echo "configure:692: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:694: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
694    
695  ac_ext=c  ac_ext=c
696  # 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 699  cross_compiling=$ac_cv_prog_cc_cross Line 701  cross_compiling=$ac_cv_prog_cc_cross
701    
702  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
703    
704  #line 703 "configure"  #line 705 "configure"
705  #include "confdefs.h"  #include "confdefs.h"
706    
707  main(){return(0);}  main(){return(0);}
708  EOF  EOF
709  if { (eval echo configure:708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
710    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
711    # 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.
712    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 730  if test $ac_cv_prog_cc_works = no; then Line 732  if test $ac_cv_prog_cc_works = no; then
732    { 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; }
733  fi  fi
734  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
735  echo "configure:734: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:736: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
736  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
737  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
738    
739  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
740  echo "configure:739: checking whether we are using GNU C" >&5  echo "configure:741: checking whether we are using GNU C" >&5
741  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
742    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
743  else  else
# Line 744  else Line 746  else
746    yes;    yes;
747  #endif  #endif
748  EOF  EOF
749  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:748: \"$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:750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
750    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
751  else  else
752    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 763  ac_test_CFLAGS="${CFLAGS+set}" Line 765  ac_test_CFLAGS="${CFLAGS+set}"
765  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
766  CFLAGS=  CFLAGS=
767  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
768  echo "configure:767: checking whether ${CC-cc} accepts -g" >&5  echo "configure:769: checking whether ${CC-cc} accepts -g" >&5
769  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
770    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
771  else  else
# Line 807  fi Line 809  fi
809    
810    
811  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
812  echo "configure:811: checking "finding DBEGIN"" >&5  echo "configure:813: checking "finding DBEGIN"" >&5
813  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
814    dbegin=0    dbegin=0
815  else  else
816    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
817  #line 816 "configure"  #line 818 "configure"
818  #include "confdefs.h"  #include "confdefs.h"
819  #include <stdio.h>  #include <stdio.h>
820  main()  main()
# Line 824  main() Line 826  main()
826    return 0;    return 0;
827  }  }
828  EOF  EOF
829  if { (eval echo configure:828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
830  then  then
831    dbegin=`cat conftest1`    dbegin=`cat conftest1`
832  else  else
# Line 846  echo "$ac_t""got $dbegin" 1>&6 Line 848  echo "$ac_t""got $dbegin" 1>&6
848    
849    
850  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
851  echo "configure:850: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:852: checking "finding CSTACK_ADDRESS"" >&5
852  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
853    cstack_address=0    cstack_address=0
854  else  else
855    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
856  #line 855 "configure"  #line 857 "configure"
857  #include "confdefs.h"  #include "confdefs.h"
858  #include <stdio.h>  #include <stdio.h>
859  main()  main()
# Line 863  main() Line 865  main()
865    return 0;    return 0;
866  }  }
867  EOF  EOF
868  if { (eval echo configure:867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
869  then  then
870    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
871  else  else
# Line 885  echo "$ac_t""got $cstack_address" 1>&6 Line 887  echo "$ac_t""got $cstack_address" 1>&6
887    
888    
889  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
890  echo "configure:889: checking "sizeof long long int"" >&5  echo "configure:891: checking "sizeof long long int"" >&5
891  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
892    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
893    
894  else  else
895    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
896  #line 895 "configure"  #line 897 "configure"
897  #include "confdefs.h"  #include "confdefs.h"
898  #include <stdio.h>  #include <stdio.h>
899  main()  main()
# Line 901  main() Line 903  main()
903  }  }
904    
905  EOF  EOF
906  if { (eval echo configure:905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
907  then  then
908    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
909  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 936  EOF Line 938  EOF
938  fi  fi
939    
940    
941    # Check whether --enable-vssize or --disable-vssize was given.
942    if test "${enable_vssize+set}" = set; then
943      enableval="$enable_vssize"
944      cat >> confdefs.h <<EOF
945    #define VSSIZE $enable_vssize
946    EOF
947    
948    
949    fi
950    
951    
952  # Check whether --enable-machine or --disable-machine was given.  # Check whether --enable-machine or --disable-machine was given.
953  if test "${enable_machine+set}" = set; then  if test "${enable_machine+set}" = set; then
954    enableval="$enable_machine"    enableval="$enable_machine"
# Line 999  fi Line 1012  fi
1012  for ac_func in getcwd  for ac_func in getcwd
1013  do  do
1014  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1015  echo "configure:1003: checking for $ac_func" >&5  echo "configure:1016: checking for $ac_func" >&5
1016  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1017    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1018  else  else
1019    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1020  #line 1008 "configure"  #line 1021 "configure"
1021  #include "confdefs.h"  #include "confdefs.h"
1022  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1023      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 1027  $ac_func(); Line 1040  $ac_func();
1040    
1041  ; return 0; }  ; return 0; }
1042  EOF  EOF
1043  if { (eval echo configure:1031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1044    rm -rf conftest*    rm -rf conftest*
1045    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
1046  else  else
# Line 1054  done Line 1067  done
1067  for ac_func in getwd  for ac_func in getwd
1068  do  do
1069  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1070  echo "configure:1058: checking for $ac_func" >&5  echo "configure:1071: checking for $ac_func" >&5
1071  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1072    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1073  else  else
1074    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1075  #line 1063 "configure"  #line 1076 "configure"
1076  #include "confdefs.h"  #include "confdefs.h"
1077  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1078      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 1082  $ac_func(); Line 1095  $ac_func();
1095    
1096  ; return 0; }  ; return 0; }
1097  EOF  EOF
1098  if { (eval echo configure:1086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1099    rm -rf conftest*    rm -rf conftest*
1100    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
1101  else  else
# Line 1107  fi Line 1120  fi
1120  done  done
1121    
1122  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
1123  echo "configure:1111: checking for uname" >&5  echo "configure:1124: checking for uname" >&5
1124  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
1125    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1126  else  else
1127    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1128  #line 1116 "configure"  #line 1129 "configure"
1129  #include "confdefs.h"  #include "confdefs.h"
1130  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1131      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 1135  uname(); Line 1148  uname();
1148    
1149  ; return 0; }  ; return 0; }
1150  EOF  EOF
1151  if { (eval echo configure:1139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1152    rm -rf conftest*    rm -rf conftest*
1153    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
1154  else  else
# Line 1159  EOF Line 1172  EOF
1172  fi  fi
1173    
1174  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
1175  echo "configure:1163: checking for gettimeofday" >&5  echo "configure:1176: checking for gettimeofday" >&5
1176  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
1177    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1178  else  else
1179    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1180  #line 1168 "configure"  #line 1181 "configure"
1181  #include "confdefs.h"  #include "confdefs.h"
1182  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1183      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 1187  gettimeofday(); Line 1200  gettimeofday();
1200    
1201  ; return 0; }  ; return 0; }
1202  EOF  EOF
1203  if { (eval echo configure:1191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1204    rm -rf conftest*    rm -rf conftest*
1205    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
1206  else  else
# Line 1213  fi Line 1226  fi
1226    
1227    
1228  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
1229  echo "configure:1217: checking how to run the C preprocessor" >&5  echo "configure:1230: checking how to run the C preprocessor" >&5
1230  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1231  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1232    CPP=    CPP=
# Line 1228  else Line 1241  else
1241    # 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,
1242    # not just through cpp.    # not just through cpp.
1243    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1244  #line 1232 "configure"  #line 1245 "configure"
1245  #include "confdefs.h"  #include "confdefs.h"
1246  #include <assert.h>  #include <assert.h>
1247  Syntax Error  Syntax Error
1248  EOF  EOF
1249  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1250  { (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1251  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1252  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1253    :    :
# Line 1245  else Line 1258  else
1258    rm -rf conftest*    rm -rf conftest*
1259    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1260    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1261  #line 1249 "configure"  #line 1262 "configure"
1262  #include "confdefs.h"  #include "confdefs.h"
1263  #include <assert.h>  #include <assert.h>
1264  Syntax Error  Syntax Error
1265  EOF  EOF
1266  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1267  { (eval echo configure:1255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1268  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1269  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1270    :    :
# Line 1262  else Line 1275  else
1275    rm -rf conftest*    rm -rf conftest*
1276    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1277    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1278  #line 1266 "configure"  #line 1279 "configure"
1279  #include "confdefs.h"  #include "confdefs.h"
1280  #include <assert.h>  #include <assert.h>
1281  Syntax Error  Syntax Error
1282  EOF  EOF
1283  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1284  { (eval echo configure:1272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1285  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1286  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1287    :    :
# Line 1296  for ac_hdr in sys/ioctl.h Line 1309  for ac_hdr in sys/ioctl.h
1309  do  do
1310  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1311  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1312  echo "configure:1300: checking for $ac_hdr" >&5  echo "configure:1313: checking for $ac_hdr" >&5
1313  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1314    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1315  else  else
1316    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1317  #line 1305 "configure"  #line 1318 "configure"
1318  #include "confdefs.h"  #include "confdefs.h"
1319  #include <$ac_hdr>  #include <$ac_hdr>
1320  EOF  EOF
1321  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1322  { (eval echo configure:1310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1323  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1324  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1325    rm -rf conftest*    rm -rf conftest*
# Line 1346  done Line 1359  done
1359  #--------------------------------------------------------------------  #--------------------------------------------------------------------
1360    
1361  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
1362  echo "configure:1350: checking for BSDgettimeofday" >&5  echo "configure:1363: checking for BSDgettimeofday" >&5
1363  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
1364    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1365  else  else
1366    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1367  #line 1355 "configure"  #line 1368 "configure"
1368  #include "confdefs.h"  #include "confdefs.h"
1369  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1370      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 1374  BSDgettimeofday(); Line 1387  BSDgettimeofday();
1387    
1388  ; return 0; }  ; return 0; }
1389  EOF  EOF
1390  if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1391    rm -rf conftest*    rm -rf conftest*
1392    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
1393  else  else
# Line 1395  EOF Line 1408  EOF
1408  else  else
1409    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1410  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
1411  echo "configure:1399: checking for gettimeofday" >&5  echo "configure:1412: checking for gettimeofday" >&5
1412  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
1413    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1414  else  else
1415    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1416  #line 1404 "configure"  #line 1417 "configure"
1417  #include "confdefs.h"  #include "confdefs.h"
1418  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1419      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 1423  gettimeofday(); Line 1436  gettimeofday();
1436    
1437  ; return 0; }  ; return 0; }
1438  EOF  EOF
1439  if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1440    rm -rf conftest*    rm -rf conftest*
1441    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
1442  else  else
# Line 1449  fi Line 1462  fi
1462  fi  fi
1463    
1464  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
1465  echo "configure:1453: checking for gettimeofday declaration" >&5  echo "configure:1466: checking for gettimeofday declaration" >&5
1466  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1467  #line 1455 "configure"  #line 1468 "configure"
1468  #include "confdefs.h"  #include "confdefs.h"
1469  #include <sys/time.h>  #include <sys/time.h>
1470  EOF  EOF
# Line 1474  rm -f conftest* Line 1487  rm -f conftest*
1487    
1488    
1489  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
1490  echo "configure:1478: checking for sin in -lm" >&5  echo "configure:1491: checking for sin in -lm" >&5
1491  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
1492  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
1493    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1482  else Line 1495  else
1495    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1496  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
1497  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1498  #line 1486 "configure"  #line 1499 "configure"
1499  #include "confdefs.h"  #include "confdefs.h"
1500  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1501  /* 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 1493  int main() { Line 1506  int main() {
1506  sin()  sin()
1507  ; return 0; }  ; return 0; }
1508  EOF  EOF
1509  if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1510    rm -rf conftest*    rm -rf conftest*
1511    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1512  else  else
# Line 1522  for ac_hdr in math.h Line 1535  for ac_hdr in math.h
1535  do  do
1536  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1537  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1538  echo "configure:1526: checking for $ac_hdr" >&5  echo "configure:1539: checking for $ac_hdr" >&5
1539  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1540    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1541  else  else
1542    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1543  #line 1531 "configure"  #line 1544 "configure"
1544  #include "confdefs.h"  #include "confdefs.h"
1545  #include <$ac_hdr>  #include <$ac_hdr>
1546  EOF  EOF
1547  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1548  { (eval echo configure:1536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1549  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1550  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1551    rm -rf conftest*    rm -rf conftest*
# Line 1580  done Line 1593  done
1593  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
1594  #--------------------------------------------------------------------  #--------------------------------------------------------------------
1595  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
1596  echo "configure:1584: checking for sockets" >&5  echo "configure:1597: checking for sockets" >&5
1597  tcl_checkBoth=0  tcl_checkBoth=0
1598  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
1599  echo "configure:1587: checking for connect" >&5  echo "configure:1600: checking for connect" >&5
1600  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1601    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1602  else  else
1603    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1604  #line 1592 "configure"  #line 1605 "configure"
1605  #include "confdefs.h"  #include "confdefs.h"
1606  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1607      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 1611  connect(); Line 1624  connect();
1624    
1625  ; return 0; }  ; return 0; }
1626  EOF  EOF
1627  if { (eval echo configure:1615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1628    rm -rf conftest*    rm -rf conftest*
1629    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
1630  else  else
# Line 1633  fi Line 1646  fi
1646    
1647  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
1648      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
1649  echo "configure:1637: checking for main in -lsocket" >&5  echo "configure:1650: checking for main in -lsocket" >&5
1650  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
1651  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
1652    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1641  else Line 1654  else
1654    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1655  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
1656  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1657  #line 1645 "configure"  #line 1658 "configure"
1658  #include "confdefs.h"  #include "confdefs.h"
1659    
1660  int main() {  int main() {
1661  main()  main()
1662  ; return 0; }  ; return 0; }
1663  EOF  EOF
1664  if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1665    rm -rf conftest*    rm -rf conftest*
1666    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1667  else  else
# Line 1676  if test "$tcl_checkBoth" = 1; then Line 1689  if test "$tcl_checkBoth" = 1; then
1689      tk_oldLibs=$LIBS      tk_oldLibs=$LIBS
1690      LIBS="$LIBS -lsocket -lnsl"      LIBS="$LIBS -lsocket -lnsl"
1691      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
1692  echo "configure:1680: checking for accept" >&5  echo "configure:1693: checking for accept" >&5
1693  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
1694    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1695  else  else
1696    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1697  #line 1685 "configure"  #line 1698 "configure"
1698  #include "confdefs.h"  #include "confdefs.h"
1699  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1700      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 1704  accept(); Line 1717  accept();
1717    
1718  ; return 0; }  ; return 0; }
1719  EOF  EOF
1720  if { (eval echo configure:1708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1721    rm -rf conftest*    rm -rf conftest*
1722    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
1723  else  else
# Line 1726  fi Line 1739  fi
1739    
1740  fi  fi
1741  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1742  echo "configure:1730: checking for gethostbyname" >&5  echo "configure:1743: checking for gethostbyname" >&5
1743  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1744    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1745  else  else
1746    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1747  #line 1735 "configure"  #line 1748 "configure"
1748  #include "confdefs.h"  #include "confdefs.h"
1749  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1750      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 1754  gethostbyname(); Line 1767  gethostbyname();
1767    
1768  ; return 0; }  ; return 0; }
1769  EOF  EOF
1770  if { (eval echo configure:1758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1771    rm -rf conftest*    rm -rf conftest*
1772    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
1773  else  else
# Line 1772  if eval "test \"`echo '$ac_cv_func_'geth Line 1785  if eval "test \"`echo '$ac_cv_func_'geth
1785  else  else
1786    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1787  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
1788  echo "configure:1776: checking for main in -lnsl" >&5  echo "configure:1789: checking for main in -lnsl" >&5
1789  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
1790  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
1791    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1780  else Line 1793  else
1793    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1794  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
1795  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1796  #line 1784 "configure"  #line 1797 "configure"
1797  #include "confdefs.h"  #include "confdefs.h"
1798    
1799  int main() {  int main() {
1800  main()  main()
1801  ; return 0; }  ; return 0; }
1802  EOF  EOF
1803  if { (eval echo configure:1791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1804    rm -rf conftest*    rm -rf conftest*
1805    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1806  else  else
# Line 1811  fi Line 1824  fi
1824    
1825    
1826  echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6  echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
1827  echo "configure:1815: checking for main in -lreadline" >&5  echo "configure:1828: checking for main in -lreadline" >&5
1828  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
1829  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
1830    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1819  else Line 1832  else
1832    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1833  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
1834  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1835  #line 1823 "configure"  #line 1836 "configure"
1836  #include "confdefs.h"  #include "confdefs.h"
1837    
1838  int main() {  int main() {
1839  main()  main()
1840  ; return 0; }  ; return 0; }
1841  EOF  EOF
1842  if { (eval echo configure:1830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1843    rm -rf conftest*    rm -rf conftest*
1844    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1845  else  else
# Line 1855  fi Line 1868  fi
1868    
1869  ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`  ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
1870  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
1871  echo "configure:1859: checking for bfd.h" >&5  echo "configure:1872: checking for bfd.h" >&5
1872  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1873    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1874  else  else
1875    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1876  #line 1864 "configure"  #line 1877 "configure"
1877  #include "confdefs.h"  #include "confdefs.h"
1878  #include <bfd.h>  #include <bfd.h>
1879  EOF  EOF
1880  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1881  { (eval echo configure:1869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1882  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1883  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1884    rm -rf conftest*    rm -rf conftest*
# Line 1882  fi Line 1895  fi
1895  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1896    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1897    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
1898  echo "configure:1886: checking for bfd_init in -lbfd" >&5  echo "configure:1899: checking for bfd_init in -lbfd" >&5
1899  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
1900  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
1901    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1890  else Line 1903  else
1903    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1904  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
1905  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1906  #line 1894 "configure"  #line 1907 "configure"
1907  #include "confdefs.h"  #include "confdefs.h"
1908  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1909  /* 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 1901  int main() { Line 1914  int main() {
1914  bfd_init()  bfd_init()
1915  ; return 0; }  ; return 0; }
1916  EOF  EOF
1917  if { (eval echo configure:1905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1918    rm -rf conftest*    rm -rf conftest*
1919    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1920  else  else
# Line 1936  fi Line 1949  fi
1949    
1950    
1951  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
1952  echo "configure:1940: checking For network code for nsocket.c" >&5  echo "configure:1953: checking For network code for nsocket.c" >&5
1953  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1954  #line 1942 "configure"  #line 1955 "configure"
1955  #include "confdefs.h"  #include "confdefs.h"
1956    
1957  #include <sys/time.h>  #include <sys/time.h>
# Line 1965  int main() { Line 1978  int main() {
1978                    
1979  ; return 0; }  ; return 0; }
1980  EOF  EOF
1981  if { (eval echo configure:1969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1982    rm -rf conftest*    rm -rf conftest*
1983    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1984  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 1982  rm -f conftest* Line 1995  rm -f conftest*
1995    
1996    
1997  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
1998  echo "configure:1986: checking check for listen using fcntl" >&5  echo "configure:1999: checking check for listen using fcntl" >&5
1999  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2000  #line 1988 "configure"  #line 2001 "configure"
2001  #include "confdefs.h"  #include "confdefs.h"
2002  #include <stdio.h>  #include <stdio.h>
2003  #include <fcntl.h>  #include <fcntl.h>
# Line 1997  FILE *fp=fopen("configure.in","r"); Line 2010  FILE *fp=fopen("configure.in","r");
2010    
2011  ; return 0; }  ; return 0; }
2012  EOF  EOF
2013  if { (eval echo configure:2001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2014    rm -rf conftest*    rm -rf conftest*
2015    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2016  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 2016  rm -f conftest* Line 2029  rm -f conftest*
2029    
2030    
2031  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
2032  echo "configure:2020: checking for profil" >&5  echo "configure:2033: checking for profil" >&5
2033  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
2034    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2035  else  else
2036    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2037  #line 2025 "configure"  #line 2038 "configure"
2038  #include "confdefs.h"  #include "confdefs.h"
2039  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2040      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 2044  profil(); Line 2057  profil();
2057    
2058  ; return 0; }  ; return 0; }
2059  EOF  EOF
2060  if { (eval echo configure:2048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2061    rm -rf conftest*    rm -rf conftest*
2062    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
2063  else  else
# Line 2069  fi Line 2082  fi
2082    
2083    
2084  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
2085  echo "configure:2073: checking for setenv" >&5  echo "configure:2086: checking for setenv" >&5
2086  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
2087    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2088  else  else
2089    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2090  #line 2078 "configure"  #line 2091 "configure"
2091  #include "confdefs.h"  #include "confdefs.h"
2092  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2093      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 2097  setenv(); Line 2110  setenv();
2110    
2111  ; return 0; }  ; return 0; }
2112  EOF  EOF
2113  if { (eval echo configure:2101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2114    rm -rf conftest*    rm -rf conftest*
2115    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
2116  else  else
# Line 2123  fi Line 2136  fi
2136    
2137  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
2138  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
2139  echo "configure:2127: checking for putenv" >&5  echo "configure:2140: checking for putenv" >&5
2140  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
2141    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2142  else  else
2143    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2144  #line 2132 "configure"  #line 2145 "configure"
2145  #include "confdefs.h"  #include "confdefs.h"
2146  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2147      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 2151  putenv(); Line 2164  putenv();
2164    
2165  ; return 0; }  ; return 0; }
2166  EOF  EOF
2167  if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2168    rm -rf conftest*    rm -rf conftest*
2169    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
2170  else  else
# Line 2177  fi Line 2190  fi
2190  fi  fi
2191    
2192  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
2193  echo "configure:2181: checking for _cleanup" >&5  echo "configure:2194: checking for _cleanup" >&5
2194  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
2195    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2196  else  else
2197    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2198  #line 2186 "configure"  #line 2199 "configure"
2199  #include "confdefs.h"  #include "confdefs.h"
2200  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2201      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 2205  _cleanup(); Line 2218  _cleanup();
2218    
2219  ; return 0; }  ; return 0; }
2220  EOF  EOF
2221  if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2222    rm -rf conftest*    rm -rf conftest*
2223    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
2224  else  else
# Line 2231  fi Line 2244  fi
2244  gcl_ok=no  gcl_ok=no
2245    
2246  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2247  #line 2235 "configure"  #line 2248 "configure"
2248  #include "confdefs.h"  #include "confdefs.h"
2249  #include <ctype.h>  #include <ctype.h>
2250  EOF  EOF
# Line 2259  fi Line 2272  fi
2272    
2273  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
2274  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
2275  echo "configure:2263: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:2276: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
2276    
2277  case $system in  case $system in
2278         OSF*)         OSF*)
# Line 2315  else { echo "configure: error: can not r Line 2328  else { echo "configure: error: can not r
2328  fi  fi
2329    
2330  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
2331  echo "configure:2319: checking host system type" >&5  echo "configure:2332: checking host system type" >&5
2332    
2333  host_alias=$host  host_alias=$host
2334  case "$host_alias" in  case "$host_alias" in
# Line 2485  case $canonical in Line 2498  case $canonical in
2498    
2499  esac  esac
2500  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
2501  echo "configure:2489: checking check for SV_ONSTACK" >&5  echo "configure:2502: checking check for SV_ONSTACK" >&5
2502  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2503  #line 2491 "configure"  #line 2504 "configure"
2504  #include "confdefs.h"  #include "confdefs.h"
2505  #include <signal.h>  #include <signal.h>
2506  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 2496  int main() { Line 2509  int main() {
2509    
2510  ; return 0; }  ; return 0; }
2511  EOF  EOF
2512  if { (eval echo configure:2500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2513    rm -rf conftest*    rm -rf conftest*
2514    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2515  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 2514  rm -f conftest* Line 2527  rm -f conftest*
2527    
2528    
2529  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
2530  echo "configure:2518: checking check for SIGSYS" >&5  echo "configure:2531: checking check for SIGSYS" >&5
2531  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2532  #line 2520 "configure"  #line 2533 "configure"
2533  #include "confdefs.h"  #include "confdefs.h"
2534  #include <signal.h>  #include <signal.h>
2535  int joe=SIGSYS;  int joe=SIGSYS;
# Line 2525  int main() { Line 2538  int main() {
2538    
2539  ; return 0; }  ; return 0; }
2540  EOF  EOF
2541  if { (eval echo configure:2529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2542    rm -rf conftest*    rm -rf conftest*
2543    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2544  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 2543  rm -f conftest* Line 2556  rm -f conftest*
2556    
2557    
2558  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
2559  echo "configure:2547: checking check for SIGEMT" >&5  echo "configure:2560: checking check for SIGEMT" >&5
2560  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2561  #line 2549 "configure"  #line 2562 "configure"
2562  #include "confdefs.h"  #include "confdefs.h"
2563  #include <signal.h>  #include <signal.h>
2564  int joe=SIGEMT;  int joe=SIGEMT;
# Line 2554  int main() { Line 2567  int main() {
2567    
2568  ; return 0; }  ; return 0; }
2569  EOF  EOF
2570  if { (eval echo configure:2558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2571    rm -rf conftest*    rm -rf conftest*
2572    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2573  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 2578  rm -f conftest* Line 2591  rm -f conftest*
2591  do  do
2592  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2593  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2594  echo "configure:2582: checking for $ac_hdr" >&5  echo "configure:2595: checking for $ac_hdr" >&5
2595  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2596    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2597  else  else
2598    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2599  #line 2587 "configure"  #line 2600 "configure"
2600  #include "confdefs.h"  #include "confdefs.h"
2601  #include <$ac_hdr>  #include <$ac_hdr>
2602  EOF  EOF
2603  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2604  { (eval echo configure:2592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2605  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2606  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2607    rm -rf conftest*    rm -rf conftest*
# Line 2618  done Line 2631  done
2631  do  do
2632  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2633  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2634  echo "configure:2622: checking for $ac_hdr" >&5  echo "configure:2635: checking for $ac_hdr" >&5
2635  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2636    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2637  else  else
2638    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2639  #line 2627 "configure"  #line 2640 "configure"
2640  #include "confdefs.h"  #include "confdefs.h"
2641  #include <$ac_hdr>  #include <$ac_hdr>
2642  EOF  EOF
2643  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2644  { (eval echo configure:2632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2645  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2646  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2647    rm -rf conftest*    rm -rf conftest*
# Line 2655  fi Line 2668  fi
2668  done  done
2669    
2670          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2671  #line 2659 "configure"  #line 2672 "configure"
2672  #include "confdefs.h"  #include "confdefs.h"
2673  #include <signal.h>  #include <signal.h>
2674                          long code;                            long code;  
# Line 2666  int main() { Line 2679  int main() {
2679                
2680  ; return 0; }  ; return 0; }
2681  EOF  EOF
2682  if { (eval echo configure:2670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2683    rm -rf conftest*    rm -rf conftest*
2684        
2685          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 2687  fi Line 2700  fi
2700  rm -f conftest*  rm -f conftest*
2701         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
2702         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
2703  #line 2691 "configure"  #line 2704 "configure"
2704  #include "confdefs.h"  #include "confdefs.h"
2705  #include <signal.h>  #include <signal.h>
2706               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 2704  int main() { Line 2717  int main() {
2717                    
2718  ; return 0; }  ; return 0; }
2719  EOF  EOF
2720  if { (eval echo configure:2708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2721    rm -rf conftest*    rm -rf conftest*
2722        
2723          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 2747  rm -f conftest* Line 2760  rm -f conftest*
2760  # 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.
2761  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
2762  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2763  echo "configure:2751: checking for $ac_word" >&5  echo "configure:2764: checking for $ac_word" >&5
2764  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
2765    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2766  else  else
# Line 2795  cat >> conftest.el <<EOF Line 2808  cat >> conftest.el <<EOF
2808  EOF  EOF
2809    
2810  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
2811  echo "configure:2799: checking emacs site lisp directory" >&5  echo "configure:2812: checking emacs site lisp directory" >&5
2812  #EMACS_SITE_LISP=unknown  #EMACS_SITE_LISP=unknown
2813  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
2814          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 2818  cat >> conftest.el <<EOF Line 2831  cat >> conftest.el <<EOF
2831  EOF  EOF
2832    
2833  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
2834  echo "configure:2822: checking emacs default.el" >&5  echo "configure:2835: checking emacs default.el" >&5
2835  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
2836          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 `
2837  else  else
# Line 2847  cat >> conftest.el <<EOF Line 2860  cat >> conftest.el <<EOF
2860  EOF  EOF
2861    
2862  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
2863  echo "configure:2851: checking emacs info/dir" >&5  echo "configure:2864: checking emacs info/dir" >&5
2864  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
2865          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 `
2866  fi  fi
# Line 2861  echo "$ac_t""$INFO_DIR" 1>&6 Line 2874  echo "$ac_t""$INFO_DIR" 1>&6
2874    
2875    
2876  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
2877  echo "configure:2865: checking for tcl/tk" >&5  echo "configure:2878: checking for tcl/tk" >&5
2878    
2879    
2880  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 2884  cp conftest.tcl foo.tcl Line 2897  cp conftest.tcl foo.tcl
2897  # 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.
2898  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
2899  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2900  echo "configure:2888: checking for $ac_word" >&5  echo "configure:2901: checking for $ac_word" >&5
2901  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
2902    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2903  else  else
# Line 2942  cp conftest.tcl foo.tcl Line 2955  cp conftest.tcl foo.tcl
2955  # Extract the first word of "wish", so it can be a program name with args.  # Extract the first word of "wish", so it can be a program name with args.
2956  set dummy wish; ac_word=$2  set dummy wish; ac_word=$2
2957  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2958  echo "configure:2946: checking for $ac_word" >&5  echo "configure:2959: checking for $ac_word" >&5
2959  if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TKSH'+set}'`\" = set"; then
2960    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2961  else  else
# Line 3008  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 3021  if test -f ${TCL_CONFIG_PREFIX}/../inclu
3021    fi    fi
3022  fi  fi
3023  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
3024  echo "configure:3012: checking for main in -llieee" >&5  echo "configure:3025: checking for main in -llieee" >&5
3025  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
3026  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
3027    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3016  else Line 3029  else
3029    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3030  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
3031  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3032  #line 3020 "configure"  #line 3033 "configure"
3033  #include "confdefs.h"  #include "confdefs.h"
3034    
3035  int main() {  int main() {
3036  main()  main()
3037  ; return 0; }  ; return 0; }
3038  EOF  EOF
3039  if { (eval echo configure:3027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3040    rm -rf conftest*    rm -rf conftest*
3041    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3042  else  else
# Line 3048  if test "$have_ieee" = "0" ; then Line 3061  if test "$have_ieee" = "0" ; then
3061   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
3062  fi  fi
3063  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
3064  echo "configure:3052: checking for dlopen in -ldl" >&5  echo "configure:3065: checking for dlopen in -ldl" >&5
3065  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
3066  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
3067    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3056  else Line 3069  else
3069    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3070  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
3071  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3072  #line 3060 "configure"  #line 3073 "configure"
3073  #include "confdefs.h"  #include "confdefs.h"
3074  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3075  /* 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 3067  int main() { Line 3080  int main() {
3080  dlopen()  dlopen()
3081  ; return 0; }  ; return 0; }
3082  EOF  EOF
3083  if { (eval echo configure:3071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3084    rm -rf conftest*    rm -rf conftest*
3085    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3086  else  else
# Line 3149  echo "$ac_t""use=$use" 1>&6 Line 3162  echo "$ac_t""use=$use" 1>&6
3162  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
3163    
3164  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
3165  echo "configure:3153: checking alloca" >&5  echo "configure:3166: checking alloca" >&5
3166  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3167    gcl_ok=no    gcl_ok=no
3168  else  else
3169    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3170  #line 3158 "configure"  #line 3171 "configure"
3171  #include "confdefs.h"  #include "confdefs.h"
3172  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
3173  EOF  EOF
3174  if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3175  then  then
3176    :    :
3177  else  else
# Line 3181  else Line 3194  else
3194    gcl_ok=no    gcl_ok=no
3195  else  else
3196    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3197  #line 3185 "configure"  #line 3198 "configure"
3198  #include "confdefs.h"  #include "confdefs.h"
3199  #include <alloca.h>  #include <alloca.h>
3200    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
3201  EOF  EOF
3202  if { (eval echo configure:3190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3203  then  then
3204    :    :
3205  else  else
# Line 3248  rm -f makedefsafter Line 3261  rm -f makedefsafter
3261    
3262  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
3263   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
3264  echo "configure:3252: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:3265: checking use_gmp=yes, doing configure in gmp directory" >&5
3265   case "${canonical}" in   case "${canonical}" in
3266     i[5-9]86* | pentium* | k6* | athlon*)     i[5-9]86* | pentium* | k6* | athlon*)
3267        (cd gmp ; ./configure --target=i486) ;;        (cd gmp ; ./configure --target=i486) ;;
# Line 3270  fi Line 3283  fi
3283  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
3284  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
3285  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
3286  echo "configure:3274: checking Checking for buggy gcc version from redhat" >&5  echo "configure:3287: checking Checking for buggy gcc version from redhat" >&5
3287  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
3288     then     then
3289          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1
# Line 3687  else Line 3700  else
3700    echo "Unable to guess machine type"    echo "Unable to guess machine type"
3701    echo use configure --enable-machine=XXX,  for XXX such that h/XXX.defs exists, ie in h/*.defs    echo use configure --enable-machine=XXX,  for XXX such that h/XXX.defs exists, ie in h/*.defs
3702  fi  fi
   
   
   
   
   
   
   
   

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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