/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.107.4.1.2.2.2.14 by camm, Mon Nov 17 01:17:18 2003 UTC revision 1.107.4.1.2.2.2.15 by camm, Mon Nov 17 14:53:56 2003 UTC
# Line 24  ac_help="$ac_help Line 24  ac_help="$ac_help
24  ac_help="$ac_help  ac_help="$ac_help
25   --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 "
26  ac_help="$ac_help  ac_help="$ac_help
  --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes) "  
 ac_help="$ac_help  
27   --enable-notify=no will disable the automatic notification of gcl maintainers of successful builds/problems "   --enable-notify=no will disable the automatic notification of gcl maintainers of successful builds/problems "
28  ac_help="$ac_help  ac_help="$ac_help
29   --enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX as place to look for tkConfig.sh and tclConfig.sh  "   --enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX as place to look for tkConfig.sh and tclConfig.sh  "
# Line 658  else Line 656  else
656  fi  fi
657    
658    
659  # Check whether --enable-gmp or --disable-gmp was given.  #AC_ARG_ENABLE(gmp,[ --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes)] ,
660  if test "${enable_gmp+set}" = set; then  #[use_gmp=$enableval],[use_gmp="yes"])
   enableval="$enable_gmp"  
   use_gmp=$enableval  
 else  
   use_gmp="yes"  
 fi  
661    
662    use_gmp="yes"
663    
664  # Check whether --enable-notify or --disable-notify was given.  # Check whether --enable-notify or --disable-notify was given.
665  if test "${enable_notify+set}" = set; then  if test "${enable_notify+set}" = set; then
# Line 771  else { echo "configure: error: can not r Line 765  else { echo "configure: error: can not r
765  fi  fi
766    
767  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
768  echo "configure:775: checking host system type" >&5  echo "configure:769: checking host system type" >&5
769    
770  host_alias=$host  host_alias=$host
771  case "$host_alias" in  case "$host_alias" in
# Line 1137  echo "$ac_t""use=$use" 1>&6 Line 1131  echo "$ac_t""use=$use" 1>&6
1131  # 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.
1132  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1133  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1134  echo "configure:1141: checking for $ac_word" >&5  echo "configure:1135: checking for $ac_word" >&5
1135  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1136    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1137  else  else
# Line 1167  if test -z "$CC"; then Line 1161  if test -z "$CC"; then
1161    # 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.
1162  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1163  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1164  echo "configure:1171: checking for $ac_word" >&5  echo "configure:1165: checking for $ac_word" >&5
1165  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1166    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1167  else  else
# Line 1218  fi Line 1212  fi
1212        # 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.
1213  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
1214  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1215  echo "configure:1222: checking for $ac_word" >&5  echo "configure:1216: checking for $ac_word" >&5
1216  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1217    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1218  else  else
# Line 1250  fi Line 1244  fi
1244  fi  fi
1245    
1246  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
1247  echo "configure:1254: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1248: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1248    
1249  ac_ext=c  ac_ext=c
1250  # 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 1261  cross_compiling=$ac_cv_prog_cc_cross Line 1255  cross_compiling=$ac_cv_prog_cc_cross
1255    
1256  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
1257    
1258  #line 1265 "configure"  #line 1259 "configure"
1259  #include "confdefs.h"  #include "confdefs.h"
1260    
1261  main(){return(0);}  main(){return(0);}
1262  EOF  EOF
1263  if { (eval echo configure:1270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1264    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
1265    # 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.
1266    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 1292  if test $ac_cv_prog_cc_works = no; then Line 1286  if test $ac_cv_prog_cc_works = no; then
1286    { 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; }
1287  fi  fi
1288  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
1289  echo "configure:1296: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1290: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1290  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1291  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1292    
1293  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
1294  echo "configure:1301: checking whether we are using GNU C" >&5  echo "configure:1295: checking whether we are using GNU C" >&5
1295  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1296    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1297  else  else
# Line 1306  else Line 1300  else
1300    yes;    yes;
1301  #endif  #endif
1302  EOF  EOF
1303  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1310: \"$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:1304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1304    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
1305  else  else
1306    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 1325  ac_test_CFLAGS="${CFLAGS+set}" Line 1319  ac_test_CFLAGS="${CFLAGS+set}"
1319  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
1320  CFLAGS=  CFLAGS=
1321  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
1322  echo "configure:1329: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1323: checking whether ${CC-cc} accepts -g" >&5
1323  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1324    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1325  else  else
# Line 1357  else Line 1351  else
1351  fi  fi
1352    
1353  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
1354  echo "configure:1361: checking how to run the C preprocessor" >&5  echo "configure:1355: checking how to run the C preprocessor" >&5
1355  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1356  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1357    CPP=    CPP=
# Line 1372  else Line 1366  else
1366    # 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,
1367    # not just through cpp.    # not just through cpp.
1368    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1369  #line 1376 "configure"  #line 1370 "configure"
1370  #include "confdefs.h"  #include "confdefs.h"
1371  #include <assert.h>  #include <assert.h>
1372  Syntax Error  Syntax Error
1373  EOF  EOF
1374  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1375  { (eval echo configure:1382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1376  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1377  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1378    :    :
# Line 1389  else Line 1383  else
1383    rm -rf conftest*    rm -rf conftest*
1384    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1385    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1386  #line 1393 "configure"  #line 1387 "configure"
1387  #include "confdefs.h"  #include "confdefs.h"
1388  #include <assert.h>  #include <assert.h>
1389  Syntax Error  Syntax Error
1390  EOF  EOF
1391  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1392  { (eval echo configure:1399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1393  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1394  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1395    :    :
# Line 1406  else Line 1400  else
1400    rm -rf conftest*    rm -rf conftest*
1401    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1402    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1403  #line 1410 "configure"  #line 1404 "configure"
1404  #include "confdefs.h"  #include "confdefs.h"
1405  #include <assert.h>  #include <assert.h>
1406  Syntax Error  Syntax Error
1407  EOF  EOF
1408  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1409  { (eval echo configure:1416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1410  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1411  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1412    :    :
# Line 1471  do Line 1465  do
1465  # 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.
1466  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1467  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1468  echo "configure:1475: checking for $ac_word" >&5  echo "configure:1469: checking for $ac_word" >&5
1469  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1470    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1471  else  else
# Line 1544  fi Line 1538  fi
1538  # there are a few systems, like Next, where this doesn't work.  # there are a few systems, like Next, where this doesn't work.
1539    
1540  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
1541  echo "configure:1548: checking system version (for dynamic loading)" >&5  echo "configure:1542: checking system version (for dynamic loading)" >&5
1542  if machine=`uname -m` ; then true; else machine=unknown ; fi  if machine=`uname -m` ; then true; else machine=unknown ; fi
1543    
1544  for ac_prog in makeinfo  for ac_prog in makeinfo
# Line 1552  do Line 1546  do
1546  # 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.
1547  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1548  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1549  echo "configure:1556: checking for $ac_word" >&5  echo "configure:1550: checking for $ac_word" >&5
1550  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1551    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1552  else  else
# Line 1617  MP_INLCUDE="" Line 1611  MP_INLCUDE=""
1611  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
1612    
1613   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
1614  echo "configure:1621: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:1615: checking use_gmp=yes, doing configure in gmp directory" >&5
1615   echo   echo
1616   echo "#"   echo "#"
1617   echo "#"   echo "#"
# Line 1650  echo "configure:1621: checking use_gmp=y Line 1644  echo "configure:1621: checking use_gmp=y
1644   if test "$enable_dynsysgmp" = "yes" ; then   if test "$enable_dynsysgmp" = "yes" ; then
1645          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
1646  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
1647  echo "configure:1654: checking for gmp.h" >&5  echo "configure:1648: checking for gmp.h" >&5
1648  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1649    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1650  else  else
1651    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1652  #line 1659 "configure"  #line 1653 "configure"
1653  #include "confdefs.h"  #include "confdefs.h"
1654  #include <gmp.h>  #include <gmp.h>
1655  EOF  EOF
1656  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1657  { (eval echo configure:1664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1658  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1659  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1660    rm -rf conftest*    rm -rf conftest*
# Line 1677  fi Line 1671  fi
1671  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1672    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1673    echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6    echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6
1674  echo "configure:1681: checking for __gmpz_init in -lgmp" >&5  echo "configure:1675: checking for __gmpz_init in -lgmp" >&5
1675  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
1676  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
1677    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1685  else Line 1679  else
1679    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1680  LIBS="-lgmp  $LIBS"  LIBS="-lgmp  $LIBS"
1681  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1682  #line 1689 "configure"  #line 1683 "configure"
1683  #include "confdefs.h"  #include "confdefs.h"
1684  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1685  /* 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 1696  int main() { Line 1690  int main() {
1690  __gmpz_init()  __gmpz_init()
1691  ; return 0; }  ; return 0; }
1692  EOF  EOF
1693  if { (eval echo configure:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1694    rm -rf conftest*    rm -rf conftest*
1695    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1696  else  else
# Line 1712  fi Line 1706  fi
1706  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1707    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1708    echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6    echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6
1709  echo "configure:1716: checking "for external gmp version"" >&5  echo "configure:1710: checking "for external gmp version"" >&5
1710                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
1711    echo "Cannot use dynamic gmp lib"    echo "Cannot use dynamic gmp lib"
1712  else  else
1713    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1714  #line 1721 "configure"  #line 1715 "configure"
1715  #include "confdefs.h"  #include "confdefs.h"
1716  #include <gmp.h>  #include <gmp.h>
1717                                      int main() {                                      int main() {
# Line 1728  else Line 1722  else
1722                                      #endif                                      #endif
1723                                      }                                      }
1724  EOF  EOF
1725  if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1726  then  then
1727    MPFILES=$GMPDIR/mpn/mul_n.o    MPFILES=$GMPDIR/mpn/mul_n.o
1728                                  PATCHED_SYMBOLS=__gmpn_toom3_mul_n                                  PATCHED_SYMBOLS=__gmpn_toom3_mul_n
# Line 1771  if test "$MP_INCLUDE" = "" ; then Line 1765  if test "$MP_INCLUDE" = "" ; then
1765  fi  fi
1766    
1767   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
1768  echo "configure:1775: checking "for size of gmp limbs"" >&5  echo "configure:1769: checking "for size of gmp limbs"" >&5
1769   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1770    mpsize=0    mpsize=0
1771  else  else
1772    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1773  #line 1780 "configure"  #line 1774 "configure"
1774  #include "confdefs.h"  #include "confdefs.h"
1775  #include <stdio.h>  #include <stdio.h>
1776          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1787  else Line 1781  else
1781          return 0;          return 0;
1782          }          }
1783  EOF  EOF
1784  if { (eval echo configure:1791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1785  then  then
1786    mpsize=`cat conftest1`    mpsize=`cat conftest1`
1787  else  else
# Line 1810  EOF Line 1804  EOF
1804   echo "$ac_t""$mpsize" 1>&6   echo "$ac_t""$mpsize" 1>&6
1805    
1806   echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6   echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6
1807  echo "configure:1814: checking "_SHORT_LIMB"" >&5  echo "configure:1808: checking "_SHORT_LIMB"" >&5
1808   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1809    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1810  else  else
1811    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1812  #line 1819 "configure"  #line 1813 "configure"
1813  #include "confdefs.h"  #include "confdefs.h"
1814  #include <stdio.h>  #include <stdio.h>
1815          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1827  else Line 1821  else
1821          #endif          #endif
1822          }          }
1823  EOF  EOF
1824  if { (eval echo configure:1831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1825  then  then
1826    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1827  #define __SHORT_LIMB 1  #define __SHORT_LIMB 1
# Line 1843  rm -fr conftest* Line 1837  rm -fr conftest*
1837  fi  fi
1838    
1839   echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6   echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6
1840  echo "configure:1847: checking "_LONG_LONG_LIMB"" >&5  echo "configure:1841: checking "_LONG_LONG_LIMB"" >&5
1841   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1842    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1843  else  else
1844    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1845  #line 1852 "configure"  #line 1846 "configure"
1846  #include "confdefs.h"  #include "confdefs.h"
1847  #include <stdio.h>  #include <stdio.h>
1848          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1860  else Line 1854  else
1854          #endif          #endif
1855          }          }
1856  EOF  EOF
1857  if { (eval echo configure:1864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1858  then  then
1859    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1860  #define __LONG_LONG_LIMB 1  #define __LONG_LONG_LIMB 1
# Line 1899  fi Line 1893  fi
1893  # Uses ac_ vars as temps to allow command line to override cache and checks.  # Uses ac_ vars as temps to allow command line to override cache and checks.
1894  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
1895  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
1896  echo "configure:1903: checking for X" >&5  echo "configure:1897: checking for X" >&5
1897    
1898  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
1899  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 1961  if test "$ac_x_includes" = NO; then Line 1955  if test "$ac_x_includes" = NO; then
1955    
1956    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
1957  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1958  #line 1965 "configure"  #line 1959 "configure"
1959  #include "confdefs.h"  #include "confdefs.h"
1960  #include <$x_direct_test_include>  #include <$x_direct_test_include>
1961  EOF  EOF
1962  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1963  { (eval echo configure:1970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1964  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1965  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1966    rm -rf conftest*    rm -rf conftest*
# Line 2035  if test "$ac_x_libraries" = NO; then Line 2029  if test "$ac_x_libraries" = NO; then
2029    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2030    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
2031  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2032  #line 2039 "configure"  #line 2033 "configure"
2033  #include "confdefs.h"  #include "confdefs.h"
2034    
2035  int main() {  int main() {
2036  ${x_direct_test_function}()  ${x_direct_test_function}()
2037  ; return 0; }  ; return 0; }
2038  EOF  EOF
2039  if { (eval echo configure:2046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2040    rm -rf conftest*    rm -rf conftest*
2041    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
2042  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 2148  else Line 2142  else
2142      case "`(uname -sr) 2>/dev/null`" in      case "`(uname -sr) 2>/dev/null`" in
2143      "SunOS 5"*)      "SunOS 5"*)
2144        echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6        echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
2145  echo "configure:2152: checking whether -R must be followed by a space" >&5  echo "configure:2146: checking whether -R must be followed by a space" >&5
2146        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
2147        cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
2148  #line 2155 "configure"  #line 2149 "configure"
2149  #include "confdefs.h"  #include "confdefs.h"
2150    
2151  int main() {  int main() {
2152    
2153  ; return 0; }  ; return 0; }
2154  EOF  EOF
2155  if { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2156    rm -rf conftest*    rm -rf conftest*
2157    ac_R_nospace=yes    ac_R_nospace=yes
2158  else  else
# Line 2174  rm -f conftest* Line 2168  rm -f conftest*
2168        else        else
2169          LIBS="$ac_xsave_LIBS -R $x_libraries"          LIBS="$ac_xsave_LIBS -R $x_libraries"
2170          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2171  #line 2178 "configure"  #line 2172 "configure"
2172  #include "confdefs.h"  #include "confdefs.h"
2173    
2174  int main() {  int main() {
2175    
2176  ; return 0; }  ; return 0; }
2177  EOF  EOF
2178  if { (eval echo configure:2185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2179    rm -rf conftest*    rm -rf conftest*
2180    ac_R_space=yes    ac_R_space=yes
2181  else  else
# Line 2213  rm -f conftest* Line 2207  rm -f conftest*
2207      # libraries were built with DECnet support.  And karl@cs.umb.edu says      # libraries were built with DECnet support.  And karl@cs.umb.edu says
2208      # the Alpha needs dnet_stub (dnet does not exist).      # the Alpha needs dnet_stub (dnet does not exist).
2209      echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6      echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
2210  echo "configure:2217: checking for dnet_ntoa in -ldnet" >&5  echo "configure:2211: checking for dnet_ntoa in -ldnet" >&5
2211  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2212  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
2213    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2221  else Line 2215  else
2215    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2216  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
2217  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2218  #line 2225 "configure"  #line 2219 "configure"
2219  #include "confdefs.h"  #include "confdefs.h"
2220  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2221  /* 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 2232  int main() { Line 2226  int main() {
2226  dnet_ntoa()  dnet_ntoa()
2227  ; return 0; }  ; return 0; }
2228  EOF  EOF
2229  if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2230    rm -rf conftest*    rm -rf conftest*
2231    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2232  else  else
# Line 2254  fi Line 2248  fi
2248    
2249      if test $ac_cv_lib_dnet_dnet_ntoa = no; then      if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2250        echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6        echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
2251  echo "configure:2258: checking for dnet_ntoa in -ldnet_stub" >&5  echo "configure:2252: checking for dnet_ntoa in -ldnet_stub" >&5
2252  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2253  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
2254    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2262  else Line 2256  else
2256    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2257  LIBS="-ldnet_stub  $LIBS"  LIBS="-ldnet_stub  $LIBS"
2258  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2259  #line 2266 "configure"  #line 2260 "configure"
2260  #include "confdefs.h"  #include "confdefs.h"
2261  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2262  /* 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 2273  int main() { Line 2267  int main() {
2267  dnet_ntoa()  dnet_ntoa()
2268  ; return 0; }  ; return 0; }
2269  EOF  EOF
2270  if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2271    rm -rf conftest*    rm -rf conftest*
2272    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2273  else  else
# Line 2302  fi Line 2296  fi
2296      # The nsl library prevents programs from opening the X display      # The nsl library prevents programs from opening the X display
2297      # on Irix 5.2, according to dickey@clark.net.      # on Irix 5.2, according to dickey@clark.net.
2298      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
2299  echo "configure:2306: checking for gethostbyname" >&5  echo "configure:2300: checking for gethostbyname" >&5
2300  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
2301    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2302  else  else
2303    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2304  #line 2311 "configure"  #line 2305 "configure"
2305  #include "confdefs.h"  #include "confdefs.h"
2306  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2307      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 2330  gethostbyname(); Line 2324  gethostbyname();
2324    
2325  ; return 0; }  ; return 0; }
2326  EOF  EOF
2327  if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2328    rm -rf conftest*    rm -rf conftest*
2329    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
2330  else  else
# Line 2351  fi Line 2345  fi
2345    
2346      if test $ac_cv_func_gethostbyname = no; then      if test $ac_cv_func_gethostbyname = no; then
2347        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
2348  echo "configure:2355: checking for gethostbyname in -lnsl" >&5  echo "configure:2349: checking for gethostbyname in -lnsl" >&5
2349  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
2350  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
2351    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2359  else Line 2353  else
2353    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2354  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2355  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2356  #line 2363 "configure"  #line 2357 "configure"
2357  #include "confdefs.h"  #include "confdefs.h"
2358  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2359  /* 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 2370  int main() { Line 2364  int main() {
2364  gethostbyname()  gethostbyname()
2365  ; return 0; }  ; return 0; }
2366  EOF  EOF
2367  if { (eval echo configure:2374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2368    rm -rf conftest*    rm -rf conftest*
2369    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2370  else  else
# Line 2400  fi Line 2394  fi
2394      # -lsocket must be given before -lnsl if both are needed.      # -lsocket must be given before -lnsl if both are needed.
2395      # We assume that if connect needs -lnsl, so does gethostbyname.      # We assume that if connect needs -lnsl, so does gethostbyname.
2396      echo $ac_n "checking for connect""... $ac_c" 1>&6      echo $ac_n "checking for connect""... $ac_c" 1>&6
2397  echo "configure:2404: checking for connect" >&5  echo "configure:2398: checking for connect" >&5
2398  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2399    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2400  else  else
2401    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2402  #line 2409 "configure"  #line 2403 "configure"
2403  #include "confdefs.h"  #include "confdefs.h"
2404  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2405      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 2428  connect(); Line 2422  connect();
2422    
2423  ; return 0; }  ; return 0; }
2424  EOF  EOF
2425  if { (eval echo configure:2432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2426    rm -rf conftest*    rm -rf conftest*
2427    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
2428  else  else
# Line 2449  fi Line 2443  fi
2443    
2444      if test $ac_cv_func_connect = no; then      if test $ac_cv_func_connect = no; then
2445        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2446  echo "configure:2453: checking for connect in -lsocket" >&5  echo "configure:2447: checking for connect in -lsocket" >&5
2447  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2448  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
2449    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2457  else Line 2451  else
2451    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2452  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
2453  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2454  #line 2461 "configure"  #line 2455 "configure"
2455  #include "confdefs.h"  #include "confdefs.h"
2456  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2457  /* 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 2468  int main() { Line 2462  int main() {
2462  connect()  connect()
2463  ; return 0; }  ; return 0; }
2464  EOF  EOF
2465  if { (eval echo configure:2472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2466    rm -rf conftest*    rm -rf conftest*
2467    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2468  else  else
# Line 2492  fi Line 2486  fi
2486    
2487      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2488      echo $ac_n "checking for remove""... $ac_c" 1>&6      echo $ac_n "checking for remove""... $ac_c" 1>&6
2489  echo "configure:2496: checking for remove" >&5  echo "configure:2490: checking for remove" >&5
2490  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2491    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2492  else  else
2493    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2494  #line 2501 "configure"  #line 2495 "configure"
2495  #include "confdefs.h"  #include "confdefs.h"
2496  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2497      which can conflict with char remove(); below.  */      which can conflict with char remove(); below.  */
# Line 2520  remove(); Line 2514  remove();
2514    
2515  ; return 0; }  ; return 0; }
2516  EOF  EOF
2517  if { (eval echo configure:2524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2518    rm -rf conftest*    rm -rf conftest*
2519    eval "ac_cv_func_remove=yes"    eval "ac_cv_func_remove=yes"
2520  else  else
# Line 2541  fi Line 2535  fi
2535    
2536      if test $ac_cv_func_remove = no; then      if test $ac_cv_func_remove = no; then
2537        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2538  echo "configure:2545: checking for remove in -lposix" >&5  echo "configure:2539: checking for remove in -lposix" >&5
2539  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2540  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
2541    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2549  else Line 2543  else
2543    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2544  LIBS="-lposix  $LIBS"  LIBS="-lposix  $LIBS"
2545  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2546  #line 2553 "configure"  #line 2547 "configure"
2547  #include "confdefs.h"  #include "confdefs.h"
2548  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2549  /* 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 2560  int main() { Line 2554  int main() {
2554  remove()  remove()
2555  ; return 0; }  ; return 0; }
2556  EOF  EOF
2557  if { (eval echo configure:2564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2558    rm -rf conftest*    rm -rf conftest*
2559    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2560  else  else
# Line 2584  fi Line 2578  fi
2578    
2579      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2580      echo $ac_n "checking for shmat""... $ac_c" 1>&6      echo $ac_n "checking for shmat""... $ac_c" 1>&6
2581  echo "configure:2588: checking for shmat" >&5  echo "configure:2582: checking for shmat" >&5
2582  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2583    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2584  else  else
2585    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2586  #line 2593 "configure"  #line 2587 "configure"
2587  #include "confdefs.h"  #include "confdefs.h"
2588  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2589      which can conflict with char shmat(); below.  */      which can conflict with char shmat(); below.  */
# Line 2612  shmat(); Line 2606  shmat();
2606    
2607  ; return 0; }  ; return 0; }
2608  EOF  EOF
2609  if { (eval echo configure:2616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2610    rm -rf conftest*    rm -rf conftest*
2611    eval "ac_cv_func_shmat=yes"    eval "ac_cv_func_shmat=yes"
2612  else  else
# Line 2633  fi Line 2627  fi
2627    
2628      if test $ac_cv_func_shmat = no; then      if test $ac_cv_func_shmat = no; then
2629        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2630  echo "configure:2637: checking for shmat in -lipc" >&5  echo "configure:2631: checking for shmat in -lipc" >&5
2631  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2632  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
2633    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2641  else Line 2635  else
2635    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2636  LIBS="-lipc  $LIBS"  LIBS="-lipc  $LIBS"
2637  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2638  #line 2645 "configure"  #line 2639 "configure"
2639  #include "confdefs.h"  #include "confdefs.h"
2640  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2641  /* 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 2652  int main() { Line 2646  int main() {
2646  shmat()  shmat()
2647  ; return 0; }  ; return 0; }
2648  EOF  EOF
2649  if { (eval echo configure:2656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2650    rm -rf conftest*    rm -rf conftest*
2651    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2652  else  else
# Line 2685  fi Line 2679  fi
2679    # libraries we check for below, so use a different variable.    # libraries we check for below, so use a different variable.
2680    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2681    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2682  echo "configure:2689: checking for IceConnectionNumber in -lICE" >&5  echo "configure:2683: checking for IceConnectionNumber in -lICE" >&5
2683  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2684  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
2685    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2693  else Line 2687  else
2687    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2688  LIBS="-lICE $X_EXTRA_LIBS $LIBS"  LIBS="-lICE $X_EXTRA_LIBS $LIBS"
2689  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2690  #line 2697 "configure"  #line 2691 "configure"
2691  #include "confdefs.h"  #include "confdefs.h"
2692  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2693  /* 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 2704  int main() { Line 2698  int main() {
2698  IceConnectionNumber()  IceConnectionNumber()
2699  ; return 0; }  ; return 0; }
2700  EOF  EOF
2701  if { (eval echo configure:2708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2702    rm -rf conftest*    rm -rf conftest*
2703    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2704  else  else
# Line 2735  echo $X_PRE_LIBS Line 2729  echo $X_PRE_LIBS
2729    
2730  miss=0  miss=0
2731  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6
2732  echo "configure:2739: checking for main in -lXmu" >&5  echo "configure:2733: checking for main in -lXmu" >&5
2733  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`
2734  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
2735    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2743  else Line 2737  else
2737    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2738  LIBS="-lXmu $X_LIBS $LIBS"  LIBS="-lXmu $X_LIBS $LIBS"
2739  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2740  #line 2747 "configure"  #line 2741 "configure"
2741  #include "confdefs.h"  #include "confdefs.h"
2742    
2743  int main() {  int main() {
2744  main()  main()
2745  ; return 0; }  ; return 0; }
2746  EOF  EOF
2747  if { (eval echo configure:2754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2748    rm -rf conftest*    rm -rf conftest*
2749    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2750  else  else
# Line 2772  miss=1 Line 2766  miss=1
2766  fi  fi
2767    
2768  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6
2769  echo "configure:2776: checking for main in -lXt" >&5  echo "configure:2770: checking for main in -lXt" >&5
2770  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`
2771  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
2772    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2780  else Line 2774  else
2774    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2775  LIBS="-lXt $X_LIBS $LIBS"  LIBS="-lXt $X_LIBS $LIBS"
2776  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2777  #line 2784 "configure"  #line 2778 "configure"
2778  #include "confdefs.h"  #include "confdefs.h"
2779    
2780  int main() {  int main() {
2781  main()  main()
2782  ; return 0; }  ; return 0; }
2783  EOF  EOF
2784  if { (eval echo configure:2791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2785    rm -rf conftest*    rm -rf conftest*
2786    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2787  else  else
# Line 2809  miss=1 Line 2803  miss=1
2803  fi  fi
2804    
2805  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6
2806  echo "configure:2813: checking for main in -lXext" >&5  echo "configure:2807: checking for main in -lXext" >&5
2807  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`
2808  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
2809    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2817  else Line 2811  else
2811    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2812  LIBS="-lXext $X_LIBS $LIBS"  LIBS="-lXext $X_LIBS $LIBS"
2813  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2814  #line 2821 "configure"  #line 2815 "configure"
2815  #include "confdefs.h"  #include "confdefs.h"
2816    
2817  int main() {  int main() {
2818  main()  main()
2819  ; return 0; }  ; return 0; }
2820  EOF  EOF
2821  if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2822    rm -rf conftest*    rm -rf conftest*
2823    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2824  else  else
# Line 2846  miss=1 Line 2840  miss=1
2840  fi  fi
2841    
2842  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6
2843  echo "configure:2850: checking for main in -lXaw" >&5  echo "configure:2844: checking for main in -lXaw" >&5
2844  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`
2845  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
2846    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2854  else Line 2848  else
2848    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2849  LIBS="-lXaw $X_LIBS $LIBS"  LIBS="-lXaw $X_LIBS $LIBS"
2850  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2851  #line 2858 "configure"  #line 2852 "configure"
2852  #include "confdefs.h"  #include "confdefs.h"
2853    
2854  int main() {  int main() {
2855  main()  main()
2856  ; return 0; }  ; return 0; }
2857  EOF  EOF
2858  if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2859    rm -rf conftest*    rm -rf conftest*
2860    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2861  else  else
# Line 2883  miss=1 Line 2877  miss=1
2877  fi  fi
2878    
2879  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6
2880  echo "configure:2887: checking for main in -lX11" >&5  echo "configure:2881: checking for main in -lX11" >&5
2881  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`
2882  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
2883    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2891  else Line 2885  else
2885    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2886  LIBS="-lX11 $X_LIBS $LIBS"  LIBS="-lX11 $X_LIBS $LIBS"
2887  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2888  #line 2895 "configure"  #line 2889 "configure"
2889  #include "confdefs.h"  #include "confdefs.h"
2890    
2891  int main() {  int main() {
2892  main()  main()
2893  ; return 0; }  ; return 0; }
2894  EOF  EOF
2895  if { (eval echo configure:2902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2896    rm -rf conftest*    rm -rf conftest*
2897    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2898  else  else
# Line 2937  fi Line 2931  fi
2931  if test "$enable_dlopen" = "yes" ; then  if test "$enable_dlopen" = "yes" ; then
2932    
2933          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2934  echo "configure:2941: checking for dlopen in -ldl" >&5  echo "configure:2935: checking for dlopen in -ldl" >&5
2935  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2936  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
2937    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2945  else Line 2939  else
2939    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2940  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
2941  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2942  #line 2949 "configure"  #line 2943 "configure"
2943  #include "confdefs.h"  #include "confdefs.h"
2944  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2945  /* 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 2956  int main() { Line 2950  int main() {
2950  dlopen()  dlopen()
2951  ; return 0; }  ; return 0; }
2952  EOF  EOF
2953  if { (eval echo configure:2960: \"$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 2992  fi Line 2986  fi
2986  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then
2987          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
2988  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
2989  echo "configure:2996: checking for bfd.h" >&5  echo "configure:2990: checking for bfd.h" >&5
2990  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2991    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2992  else  else
2993    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2994  #line 3001 "configure"  #line 2995 "configure"
2995  #include "confdefs.h"  #include "confdefs.h"
2996  #include <bfd.h>  #include <bfd.h>
2997  EOF  EOF
2998  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2999  { (eval echo configure:3006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3000  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3001  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3002    rm -rf conftest*    rm -rf conftest*
# Line 3019  fi Line 3013  fi
3013  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3014    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
3015    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
3016  echo "configure:3023: checking for bfd_init in -lbfd" >&5  echo "configure:3017: checking for bfd_init in -lbfd" >&5
3017  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
3018  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
3019    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3027  else Line 3021  else
3021    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3022  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
3023  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3024  #line 3031 "configure"  #line 3025 "configure"
3025  #include "confdefs.h"  #include "confdefs.h"
3026  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3027  /* 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 3038  int main() { Line 3032  int main() {
3032  bfd_init()  bfd_init()
3033  ; return 0; }  ; return 0; }
3034  EOF  EOF
3035  if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3036    rm -rf conftest*    rm -rf conftest*
3037    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3038  else  else
# Line 3057  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 3051  if eval "test \"`echo '$ac_cv_lib_'$ac_l
3051                  # Old binutils appear to need CONST defined to const                  # Old binutils appear to need CONST defined to const
3052                  #                  #
3053                          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
3054  echo "configure:3061: checking if need to define CONST for bfd" >&5  echo "configure:3055: checking if need to define CONST for bfd" >&5
3055                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
3056    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
3057  else  else
3058    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3059  #line 3066 "configure"  #line 3060 "configure"
3060  #include "confdefs.h"  #include "confdefs.h"
3061  #define IN_GCC  #define IN_GCC
3062                                      #include <bfd.h>                                      #include <bfd.h>
3063                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
3064  EOF  EOF
3065  if { (eval echo configure:3072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3066  then  then
3067    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3068  else  else
# Line 3079  else Line 3073  else
3073    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
3074  else  else
3075    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3076  #line 3083 "configure"  #line 3077 "configure"
3077  #include "confdefs.h"  #include "confdefs.h"
3078  #define CONST const  #define CONST const
3079                                              #define IN_GCC                                              #define IN_GCC
3080                                              #include <bfd.h>                                              #include <bfd.h>
3081                                              int main() {symbol_info t; return 0;}                                              int main() {symbol_info t; return 0;}
3082  EOF  EOF
3083  if { (eval echo configure:3090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3084  then  then
3085    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
3086                                          cat >> confdefs.h <<\EOF                                          cat >> confdefs.h <<\EOF
# Line 3126  EOF Line 3120  EOF
3120  #  #
3121    
3122          echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6          echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6
3123  echo "configure:3130: checking for useable bfd_boolean" >&5  echo "configure:3124: checking for useable bfd_boolean" >&5
3124          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
3125    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3126  else  else
3127    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3128  #line 3135 "configure"  #line 3129 "configure"
3129  #include "confdefs.h"  #include "confdefs.h"
3130  #define IN_GCC  #define IN_GCC
3131                      #include <bfd.h>                      #include <bfd.h>
3132                      bfd_boolean foo() {return FALSE;}                      bfd_boolean foo() {return FALSE;}
3133                      int main() {return 0;}                      int main() {return 0;}
3134  EOF  EOF
3135  if { (eval echo configure:3142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3136  then  then
3137    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
3138                  cat >> confdefs.h <<\EOF                  cat >> confdefs.h <<\EOF
# Line 3225  fi Line 3219  fi
3219  # addresses, in calculating a page for an address in the heap.  # addresses, in calculating a page for an address in the heap.
3220    
3221  echo $ac_n "checking size of long""... $ac_c" 1>&6  echo $ac_n "checking size of long""... $ac_c" 1>&6
3222  echo "configure:3229: checking size of long" >&5  echo "configure:3223: checking size of long" >&5
3223  if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3224    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3225  else  else
# Line 3233  else Line 3227  else
3227    ac_cv_sizeof_long=0    ac_cv_sizeof_long=0
3228  else  else
3229    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3230  #line 3237 "configure"  #line 3231 "configure"
3231  #include "confdefs.h"  #include "confdefs.h"
3232  #include <stdio.h>  #include <stdio.h>
3233  #include <sys/types.h>  #include <sys/types.h>
# Line 3245  main() Line 3239  main()
3239    exit(0);    exit(0);
3240  }  }
3241  EOF  EOF
3242  if { (eval echo configure:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3243  then  then
3244    ac_cv_sizeof_long=`cat conftestval`    ac_cv_sizeof_long=`cat conftestval`
3245  else  else
# Line 3265  EOF Line 3259  EOF
3259    
3260    
3261  echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6  echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6
3262  echo "configure:3269: checking sizeof struct contblock" >&5  echo "configure:3263: checking sizeof struct contblock" >&5
3263    
3264  # work around MSYS pwd result incompatibility  # work around MSYS pwd result incompatibility
3265  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
# Line 3273  if test "$cross_compiling" = yes; then Line 3267  if test "$cross_compiling" = yes; then
3267    echo Cannot find sizeof struct contblock;exit 1    echo Cannot find sizeof struct contblock;exit 1
3268  else  else
3269    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3270  #line 3277 "configure"  #line 3271 "configure"
3271  #include "confdefs.h"  #include "confdefs.h"
3272  #include <stdio.h>  #include <stdio.h>
3273          #define EXTER          #define EXTER
# Line 3287  else Line 3281  else
3281          return 0;          return 0;
3282          }          }
3283  EOF  EOF
3284  if { (eval echo configure:3291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3285  then  then
3286    sizeof_contblock=`cat conftest1`    sizeof_contblock=`cat conftest1`
3287  else  else
# Line 3304  if test "$cross_compiling" = yes; then Line 3298  if test "$cross_compiling" = yes; then
3298    echo Cannot find sizeof struct contblock;exit 1    echo Cannot find sizeof struct contblock;exit 1
3299  else  else
3300    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3301  #line 3308 "configure"  #line 3302 "configure"
3302  #include "confdefs.h"  #include "confdefs.h"
3303  #include <stdio.h>  #include <stdio.h>
3304          #define EXTER          #define EXTER
# Line 3318  else Line 3312  else
3312          return 0;          return 0;
3313          }          }
3314  EOF  EOF
3315  if { (eval echo configure:3322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3316  then  then
3317    sizeof_contblock=`cat conftest1`    sizeof_contblock=`cat conftest1`
3318  else  else
# Line 3343  for ac_hdr in endian.h Line 3337  for ac_hdr in endian.h
3337  do  do
3338  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3339  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3340  echo "configure:3347: checking for $ac_hdr" >&5  echo "configure:3341: checking for $ac_hdr" >&5
3341  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3342    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3343  else  else
3344    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3345  #line 3352 "configure"  #line 3346 "configure"
3346  #include "confdefs.h"  #include "confdefs.h"
3347  #include <$ac_hdr>  #include <$ac_hdr>
3348  EOF  EOF
3349  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3350  { (eval echo configure:3357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3351  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3352  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3353    rm -rf conftest*    rm -rf conftest*
# Line 3374  if eval "test \"`echo '$ac_cv_header_'$a Line 3368  if eval "test \"`echo '$ac_cv_header_'$a
3368  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
3369  EOF  EOF
3370   echo $ac_n "checking "endianness"""... $ac_c" 1>&6   echo $ac_n "checking "endianness"""... $ac_c" 1>&6
3371  echo "configure:3378: checking "endianness"" >&5  echo "configure:3372: checking "endianness"" >&5
3372          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
3373    echo "$ac_t""big" 1>&6    echo "$ac_t""big" 1>&6
3374  else  else
3375    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3376  #line 3383 "configure"  #line 3377 "configure"
3377  #include "confdefs.h"  #include "confdefs.h"
3378  #define __ARMEB__  #define __ARMEB__
3379                  #include <endian.h>                  #include <endian.h>
3380                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
3381  EOF  EOF
3382  if { (eval echo configure:3389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3383  then  then
3384    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3385  #define LITTLE_END 1  #define LITTLE_END 1
# Line 3408  done Line 3402  done
3402    
3403    
3404  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
3405  echo "configure:3412: checking "finding DBEGIN"" >&5  echo "configure:3406: checking "finding DBEGIN"" >&5
3406  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3407    dbegin=0    dbegin=0
3408  else  else
3409    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3410  #line 3417 "configure"  #line 3411 "configure"
3411  #include "confdefs.h"  #include "confdefs.h"
3412  #include <stdio.h>  #include <stdio.h>
3413              #include <stdlib.h>              #include <stdlib.h>
# Line 3430  main() Line 3424  main()
3424    return 0;    return 0;
3425  }  }
3426  EOF  EOF
3427  if { (eval echo configure:3434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3428  then  then
3429    dbegin=`cat conftest1`    dbegin=`cat conftest1`
3430  else  else
# Line 3452  echo "$ac_t""got $dbegin" 1>&6 Line 3446  echo "$ac_t""got $dbegin" 1>&6
3446    
3447    
3448  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
3449  echo "configure:3456: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:3450: checking "finding CSTACK_ADDRESS"" >&5
3450  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3451    cstack_address=0    cstack_address=0
3452  else  else
3453    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3454  #line 3461 "configure"  #line 3455 "configure"
3455  #include "confdefs.h"  #include "confdefs.h"
3456  #include <stdio.h>  #include <stdio.h>
3457  main()  main()
# Line 3469  main() Line 3463  main()
3463    return 0;    return 0;
3464  }  }
3465  EOF  EOF
3466  if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3467  then  then
3468    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
3469  else  else
# Line 3491  echo "$ac_t""got $cstack_address" 1>&6 Line 3485  echo "$ac_t""got $cstack_address" 1>&6
3485    
3486    
3487  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
3488  echo "configure:3495: checking "sizeof long long int"" >&5  echo "configure:3489: checking "sizeof long long int"" >&5
3489  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3490    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3491    
3492  else  else
3493    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3494  #line 3501 "configure"  #line 3495 "configure"
3495  #include "confdefs.h"  #include "confdefs.h"
3496  #include <stdio.h>  #include <stdio.h>
3497  main()  main()
# Line 3507  main() Line 3501  main()
3501  }  }
3502    
3503  EOF  EOF
3504  if { (eval echo configure:3511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3505  then  then
3506    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3507  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 3562  FLISP="saved_$SYSTEM" Line 3556  FLISP="saved_$SYSTEM"
3556    
3557  # pagewidth  # pagewidth
3558  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
3559  echo "configure:3566: checking for pagewidth" >&5  echo "configure:3560: checking for pagewidth" >&5
3560  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3561    PAGEWIDTH=0    PAGEWIDTH=0
3562  else  else
3563    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3564  #line 3571 "configure"  #line 3565 "configure"
3565  #include "confdefs.h"  #include "confdefs.h"
3566  #include <stdio.h>  #include <stdio.h>
3567              #include <unistd.h>              #include <unistd.h>
# Line 3577  int main() {size_t i=getpagesize(),j; Line 3571  int main() {size_t i=getpagesize(),j;
3571              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
3572              return 0;}              return 0;}
3573  EOF  EOF
3574  if { (eval echo configure:3581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3575  then  then
3576    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
3577  else  else
# Line 3604  EOF Line 3598  EOF
3598  for ac_func in getcwd  for ac_func in getcwd
3599  do  do
3600  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3601  echo "configure:3608: checking for $ac_func" >&5  echo "configure:3602: checking for $ac_func" >&5
3602  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3603    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3604  else  else
3605    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3606  #line 3613 "configure"  #line 3607 "configure"
3607  #include "confdefs.h"  #include "confdefs.h"
3608  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3609      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 3632  $ac_func(); Line 3626  $ac_func();
3626    
3627  ; return 0; }  ; return 0; }
3628  EOF  EOF
3629  if { (eval echo configure:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3630    rm -rf conftest*    rm -rf conftest*
3631    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
3632  else  else
# Line 3659  done Line 3653  done
3653  for ac_func in getwd  for ac_func in getwd
3654  do  do
3655  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3656  echo "configure:3663: checking for $ac_func" >&5  echo "configure:3657: checking for $ac_func" >&5
3657  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3658    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3659  else  else
3660    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3661  #line 3668 "configure"  #line 3662 "configure"
3662  #include "confdefs.h"  #include "confdefs.h"
3663  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3664      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 3687  $ac_func(); Line 3681  $ac_func();
3681    
3682  ; return 0; }  ; return 0; }
3683  EOF  EOF
3684  if { (eval echo configure:3691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3685    rm -rf conftest*    rm -rf conftest*
3686    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
3687  else  else
# Line 3712  fi Line 3706  fi
3706  done  done
3707    
3708  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
3709  echo "configure:3716: checking for uname" >&5  echo "configure:3710: checking for uname" >&5
3710  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
3711    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3712  else  else
3713    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3714  #line 3721 "configure"  #line 3715 "configure"
3715  #include "confdefs.h"  #include "confdefs.h"
3716  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3717      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 3740  uname(); Line 3734  uname();
3734    
3735  ; return 0; }  ; return 0; }
3736  EOF  EOF
3737  if { (eval echo configure:3744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3738    rm -rf conftest*    rm -rf conftest*
3739    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
3740  else  else
# Line 3764  EOF Line 3758  EOF
3758  fi  fi
3759    
3760  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
3761  echo "configure:3768: checking for gettimeofday" >&5  echo "configure:3762: checking for gettimeofday" >&5
3762  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
3763    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3764  else  else
3765    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3766  #line 3773 "configure"  #line 3767 "configure"
3767  #include "confdefs.h"  #include "confdefs.h"
3768  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3769      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 3792  gettimeofday(); Line 3786  gettimeofday();
3786    
3787  ; return 0; }  ; return 0; }
3788  EOF  EOF
3789  if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3790    rm -rf conftest*    rm -rf conftest*
3791    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
3792  else  else
# Line 3821  for ac_hdr in sys/ioctl.h Line 3815  for ac_hdr in sys/ioctl.h
3815  do  do
3816  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3817  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3818  echo "configure:3825: checking for $ac_hdr" >&5  echo "configure:3819: checking for $ac_hdr" >&5
3819  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3820    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3821  else  else
3822    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3823  #line 3830 "configure"  #line 3824 "configure"
3824  #include "confdefs.h"  #include "confdefs.h"
3825  #include <$ac_hdr>  #include <$ac_hdr>
3826  EOF  EOF
3827  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3828  { (eval echo configure:3835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3829  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3830  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3831    rm -rf conftest*    rm -rf conftest*
# Line 3871  done Line 3865  done
3865  #--------------------------------------------------------------------  #--------------------------------------------------------------------
3866    
3867  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
3868  echo "configure:3875: checking for BSDgettimeofday" >&5  echo "configure:3869: checking for BSDgettimeofday" >&5
3869  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
3870    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3871  else  else
3872    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3873  #line 3880 "configure"  #line 3874 "configure"
3874  #include "confdefs.h"  #include "confdefs.h"
3875  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3876      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 3899  BSDgettimeofday(); Line 3893  BSDgettimeofday();
3893    
3894  ; return 0; }  ; return 0; }
3895  EOF  EOF
3896  if { (eval echo configure:3903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3897    rm -rf conftest*    rm -rf conftest*
3898    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
3899  else  else
# Line 3920  EOF Line 3914  EOF
3914  else  else
3915    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3916  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
3917  echo "configure:3924: checking for gettimeofday" >&5  echo "configure:3918: checking for gettimeofday" >&5
3918  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
3919    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3920  else  else
3921    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3922  #line 3929 "configure"  #line 3923 "configure"
3923  #include "confdefs.h"  #include "confdefs.h"
3924  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3925      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 3948  gettimeofday(); Line 3942  gettimeofday();
3942    
3943  ; return 0; }  ; return 0; }
3944  EOF  EOF
3945  if { (eval echo configure:3952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3946    rm -rf conftest*    rm -rf conftest*
3947    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
3948  else  else
# Line 3975  fi Line 3969  fi
3969    
3970    
3971  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
3972  echo "configure:3979: checking for gettimeofday declaration" >&5  echo "configure:3973: checking for gettimeofday declaration" >&5
3973    
3974  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3975  #line 3982 "configure"  #line 3976 "configure"
3976  #include "confdefs.h"  #include "confdefs.h"
3977  #include <sys/time.h>  #include <sys/time.h>
3978  EOF  EOF
# Line 3999  rm -f conftest* Line 3993  rm -f conftest*
3993    
3994    
3995  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
3996  echo "configure:4003: checking for sin in -lm" >&5  echo "configure:3997: checking for sin in -lm" >&5
3997  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
3998  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
3999    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4007  else Line 4001  else
4001    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4002  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
4003  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4004  #line 4011 "configure"  #line 4005 "configure"
4005  #include "confdefs.h"  #include "confdefs.h"
4006  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4007  /* 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 4018  int main() { Line 4012  int main() {
4012  sin()  sin()
4013  ; return 0; }  ; return 0; }
4014  EOF  EOF
4015  if { (eval echo configure:4022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4016    rm -rf conftest*    rm -rf conftest*
4017    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4018  else  else
# Line 4040  true Line 4034  true
4034  fi  fi
4035    
4036  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
4037  echo "configure:4044: checking for main in -lmingwex" >&5  echo "configure:4038: checking for main in -lmingwex" >&5
4038  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
4039  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
4040    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4048  else Line 4042  else
4042    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4043  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
4044  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4045  #line 4052 "configure"  #line 4046 "configure"
4046  #include "confdefs.h"  #include "confdefs.h"
4047    
4048  int main() {  int main() {
4049  main()  main()
4050  ; return 0; }  ; return 0; }
4051  EOF  EOF
4052  if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4053    rm -rf conftest*    rm -rf conftest*
4054    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4055  else  else
# Line 4083  if test "$try_japi" = "yes" ; then Line 4077  if test "$try_japi" = "yes" ; then
4077  do  do
4078  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4079  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4080  echo "configure:4087: checking for $ac_hdr" >&5  echo "configure:4081: checking for $ac_hdr" >&5
4081  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4082    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4083  else  else
4084    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4085  #line 4092 "configure"  #line 4086 "configure"
4086  #include "confdefs.h"  #include "confdefs.h"
4087  #include <$ac_hdr>  #include <$ac_hdr>
4088  EOF  EOF
4089  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4090  { (eval echo configure:4097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4091  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4092  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4093    rm -rf conftest*    rm -rf conftest*
# Line 4131  if test "$use" = "mingw" ; then Line 4125  if test "$use" = "mingw" ; then
4125  do  do
4126  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4127  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4128  echo "configure:4135: checking for $ac_hdr" >&5  echo "configure:4129: checking for $ac_hdr" >&5
4129  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4130    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4131  else  else
4132    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4133  #line 4140 "configure"  #line 4134 "configure"
4134  #include "confdefs.h"  #include "confdefs.h"
4135  #include <$ac_hdr>  #include <$ac_hdr>
4136  EOF  EOF
4137  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4138  { (eval echo configure:4145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4139  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4140  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4141    rm -rf conftest*    rm -rf conftest*
# Line 4178  else Line 4172  else
4172  do  do
4173  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4174  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4175  echo "configure:4182: checking for $ac_hdr" >&5  echo "configure:4176: checking for $ac_hdr" >&5
4176  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4177    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4178  else  else
4179    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4180  #line 4187 "configure"  #line 4181 "configure"
4181  #include "confdefs.h"  #include "confdefs.h"
4182  #include <$ac_hdr>  #include <$ac_hdr>
4183  EOF  EOF
4184  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4185  { (eval echo configure:4192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4186  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4187  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4188    rm -rf conftest*    rm -rf conftest*
# Line 4228  for ac_hdr in math.h Line 4222  for ac_hdr in math.h
4222  do  do
4223  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4224  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4225  echo "configure:4232: checking for $ac_hdr" >&5  echo "configure:4226: checking for $ac_hdr" >&5
4226  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4227    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4228  else  else
4229    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4230  #line 4237 "configure"  #line 4231 "configure"
4231  #include "confdefs.h"  #include "confdefs.h"
4232  #include <$ac_hdr>  #include <$ac_hdr>
4233  EOF  EOF
4234  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4235  { (eval echo configure:4242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4236  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4237  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4238    rm -rf conftest*    rm -rf conftest*
# Line 4275  for ac_hdr in values.h Line 4269  for ac_hdr in values.h
4269  do  do
4270  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4271  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4272  echo "configure:4279: checking for $ac_hdr" >&5  echo "configure:4273: checking for $ac_hdr" >&5
4273  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4274    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4275  else  else
4276    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4277  #line 4284 "configure"  #line 4278 "configure"
4278  #include "confdefs.h"  #include "confdefs.h"
4279  #include <$ac_hdr>  #include <$ac_hdr>
4280  EOF  EOF
4281  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4282  { (eval echo configure:4289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4283  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4284  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4285    rm -rf conftest*    rm -rf conftest*
# Line 4322  for ac_hdr in float.h Line 4316  for ac_hdr in float.h
4316  do  do
4317  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4318  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4319  echo "configure:4326: checking for $ac_hdr" >&5  echo "configure:4320: checking for $ac_hdr" >&5
4320  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4321    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4322  else  else
4323    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4324  #line 4331 "configure"  #line 4325 "configure"
4325  #include "confdefs.h"  #include "confdefs.h"
4326  #include <$ac_hdr>  #include <$ac_hdr>
4327  EOF  EOF
4328  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4329  { (eval echo configure:4336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4330  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4331  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4332    rm -rf conftest*    rm -rf conftest*
# Line 4368  done Line 4362  done
4362  # test makes sense.  CM  # test makes sense.  CM
4363  #  #
4364  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
4365  echo "configure:4372: checking for isnormal" >&5  echo "configure:4366: checking for isnormal" >&5
4366  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4367    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
4368  else  else
4369    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4370  #line 4377 "configure"  #line 4371 "configure"
4371  #include "confdefs.h"  #include "confdefs.h"
4372  #define _GNU_SOURCE  #define _GNU_SOURCE
4373              #include <math.h>              #include <math.h>
# Line 4382  else Line 4376  else
4376                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
4377                  }                  }
4378  EOF  EOF
4379  if { (eval echo configure:4386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4380  then  then
4381    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4382  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 4393  else Line 4387  else
4387    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
4388    rm -fr conftest*    rm -fr conftest*
4389    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
4390  echo "configure:4397: checking for fpclass in ieeefp.h" >&5  echo "configure:4391: checking for fpclass in ieeefp.h" >&5
4391                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
4392    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
4393  else  else
4394    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4395  #line 4402 "configure"  #line 4396 "configure"
4396  #include "confdefs.h"  #include "confdefs.h"
4397  #include <ieeefp.h>  #include <ieeefp.h>
4398                              int main() {                              int main() {
# Line 4406  else Line 4400  else
4400                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
4401                                  }                                  }
4402  EOF  EOF
4403  if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4404  then  then
4405    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4406  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 4428  fi Line 4422  fi
4422    
4423    
4424  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
4425  echo "configure:4432: checking for isfinite" >&5  echo "configure:4426: checking for isfinite" >&5
4426  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4427    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
4428  else  else
4429    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4430  #line 4437 "configure"  #line 4431 "configure"
4431  #include "confdefs.h"  #include "confdefs.h"
4432  #define _GNU_SOURCE  #define _GNU_SOURCE
4433              #include <math.h>              #include <math.h>
# Line 4442  else Line 4436  else
4436                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
4437                  }                  }
4438  EOF  EOF
4439  if { (eval echo configure:4446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4440  then  then
4441    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4442  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 4453  else Line 4447  else
4447    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
4448    rm -fr conftest*    rm -fr conftest*
4449    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
4450  echo "configure:4457: checking for finite()" >&5  echo "configure:4451: checking for finite()" >&5
4451                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
4452    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
4453  else  else
4454    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4455  #line 4462 "configure"  #line 4456 "configure"
4456  #include "confdefs.h"  #include "confdefs.h"
4457  #include <math.h>  #include <math.h>
4458                              #include <ieeefp.h>                              #include <ieeefp.h>
# Line 4467  else Line 4461  else
4461                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
4462                                  }                                  }
4463  EOF  EOF
4464  if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4465  then  then
4466    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4467  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 4508  fi Line 4502  fi
4502  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
4503  #--------------------------------------------------------------------  #--------------------------------------------------------------------
4504  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
4505  echo "configure:4512: checking for sockets" >&5  echo "configure:4506: checking for sockets" >&5
4506  tcl_checkBoth=0  tcl_checkBoth=0
4507  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
4508  echo "configure:4515: checking for connect" >&5  echo "configure:4509: checking for connect" >&5
4509  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
4510    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4511  else  else
4512    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4513  #line 4520 "configure"  #line 4514 "configure"
4514  #include "confdefs.h"  #include "confdefs.h"
4515  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4516      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 4539  connect(); Line 4533  connect();
4533    
4534  ; return 0; }  ; return 0; }
4535  EOF  EOF
4536  if { (eval echo configure:4543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4537    rm -rf conftest*    rm -rf conftest*
4538    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
4539  else  else
# Line 4561  fi Line 4555  fi
4555    
4556  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
4557      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
4558  echo "configure:4565: checking for main in -lsocket" >&5  echo "configure:4559: checking for main in -lsocket" >&5
4559  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
4560  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
4561    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4569  else Line 4563  else
4563    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4564  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
4565  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4566  #line 4573 "configure"  #line 4567 "configure"
4567  #include "confdefs.h"  #include "confdefs.h"
4568    
4569  int main() {  int main() {
4570  main()  main()
4571  ; return 0; }  ; return 0; }
4572  EOF  EOF
4573  if { (eval echo configure:4580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4574    rm -rf conftest*    rm -rf conftest*
4575    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4576  else  else
# Line 4604  if test "$tcl_checkBoth" = 1; then Line 4598  if test "$tcl_checkBoth" = 1; then
4598      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
4599      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
4600      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
4601  echo "configure:4608: checking for accept" >&5  echo "configure:4602: checking for accept" >&5
4602  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
4603    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4604  else  else
4605    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4606  #line 4613 "configure"  #line 4607 "configure"
4607  #include "confdefs.h"  #include "confdefs.h"
4608  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4609      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 4632  accept(); Line 4626  accept();
4626    
4627  ; return 0; }  ; return 0; }
4628  EOF  EOF
4629  if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4630    rm -rf conftest*    rm -rf conftest*
4631    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
4632  else  else
# Line 4654  fi Line 4648  fi
4648    
4649  fi  fi
4650  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4651  echo "configure:4658: checking for gethostbyname" >&5  echo "configure:4652: checking for gethostbyname" >&5
4652  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
4653    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4654  else  else
4655    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4656  #line 4663 "configure"  #line 4657 "configure"
4657  #include "confdefs.h"  #include "confdefs.h"
4658  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4659      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 4682  gethostbyname(); Line 4676  gethostbyname();
4676    
4677  ; return 0; }  ; return 0; }
4678  EOF  EOF
4679  if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4680    rm -rf conftest*    rm -rf conftest*
4681    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
4682  else  else
# Line 4700  if eval "test \"`echo '$ac_cv_func_'geth Line 4694  if eval "test \"`echo '$ac_cv_func_'geth
4694  else  else
4695    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4696  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
4697  echo "configure:4704: checking for main in -lnsl" >&5  echo "configure:4698: checking for main in -lnsl" >&5
4698  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
4699  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
4700    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4708  else Line 4702  else
4702    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4703  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
4704  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4705  #line 4712 "configure"  #line 4706 "configure"
4706  #include "confdefs.h"  #include "confdefs.h"
4707    
4708  int main() {  int main() {
4709  main()  main()
4710  ; return 0; }  ; return 0; }
4711  EOF  EOF
4712  if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4713    rm -rf conftest*    rm -rf conftest*
4714    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4715  else  else
# Line 4743  if test "$enable_readline" = "yes" ; the Line 4737  if test "$enable_readline" = "yes" ; the
4737  do  do
4738  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4739  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4740  echo "configure:4747: checking for $ac_hdr" >&5  echo "configure:4741: checking for $ac_hdr" >&5
4741  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4742    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4743  else  else
4744    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4745  #line 4752 "configure"  #line 4746 "configure"
4746  #include "confdefs.h"  #include "confdefs.h"
4747  #include <$ac_hdr>  #include <$ac_hdr>
4748  EOF  EOF
4749  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4750  { (eval echo configure:4757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4751  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4752  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4753    rm -rf conftest*    rm -rf conftest*
# Line 4774  if eval "test \"`echo '$ac_cv_header_'$a Line 4768  if eval "test \"`echo '$ac_cv_header_'$a
4768  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
4769  EOF  EOF
4770   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
4771  echo "configure:4778: checking for main in -lreadline" >&5  echo "configure:4772: checking for main in -lreadline" >&5
4772  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
4773  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
4774    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4782  else Line 4776  else
4776    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4777  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
4778  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4779  #line 4786 "configure"  #line 4780 "configure"
4780  #include "confdefs.h"  #include "confdefs.h"
4781    
4782  int main() {  int main() {
4783  main()  main()
4784  ; return 0; }  ; return 0; }
4785  EOF  EOF
4786  if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4787    rm -rf conftest*    rm -rf conftest*
4788    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4789  else  else
# Line 4826  fi Line 4820  fi
4820    
4821    
4822  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
4823  echo "configure:4830: checking For network code for nsocket.c" >&5  echo "configure:4824: checking For network code for nsocket.c" >&5
4824  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4825  #line 4832 "configure"  #line 4826 "configure"
4826  #include "confdefs.h"  #include "confdefs.h"
4827    
4828  #include <sys/time.h>  #include <sys/time.h>
# Line 4855  int main() { Line 4849  int main() {
4849                    
4850  ; return 0; }  ; return 0; }
4851  EOF  EOF
4852  if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4853    rm -rf conftest*    rm -rf conftest*
4854    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4855  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 4872  rm -f conftest* Line 4866  rm -f conftest*
4866    
4867    
4868  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
4869  echo "configure:4876: checking check for listen using fcntl" >&5  echo "configure:4870: checking check for listen using fcntl" >&5
4870  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4871  #line 4878 "configure"  #line 4872 "configure"
4872  #include "confdefs.h"  #include "confdefs.h"
4873  #include <stdio.h>  #include <stdio.h>
4874  #include <fcntl.h>  #include <fcntl.h>
# Line 4887  FILE *fp=fopen("configure.in","r"); Line 4881  FILE *fp=fopen("configure.in","r");
4881    
4882  ; return 0; }  ; return 0; }
4883  EOF  EOF
4884  if { (eval echo configure:4891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4885    rm -rf conftest*    rm -rf conftest*
4886    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4887  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 4906  rm -f conftest* Line 4900  rm -f conftest*
4900    
4901    
4902  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
4903  echo "configure:4910: checking for profil" >&5  echo "configure:4904: checking for profil" >&5
4904  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
4905    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4906  else  else
4907    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4908  #line 4915 "configure"  #line 4909 "configure"
4909  #include "confdefs.h"  #include "confdefs.h"
4910  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4911      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 4934  profil(); Line 4928  profil();
4928    
4929  ; return 0; }  ; return 0; }
4930  EOF  EOF
4931  if { (eval echo configure:4938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4932    rm -rf conftest*    rm -rf conftest*
4933    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
4934  else  else
# Line 4959  fi Line 4953  fi
4953    
4954    
4955  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
4956  echo "configure:4963: checking for setenv" >&5  echo "configure:4957: checking for setenv" >&5
4957  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
4958    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4959  else  else
4960    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4961  #line 4968 "configure"  #line 4962 "configure"
4962  #include "confdefs.h"  #include "confdefs.h"
4963  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4964      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 4987  setenv(); Line 4981  setenv();
4981    
4982  ; return 0; }  ; return 0; }
4983  EOF  EOF
4984  if { (eval echo configure:4991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4985    rm -rf conftest*    rm -rf conftest*
4986    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
4987  else  else
# Line 5013  fi Line 5007  fi
5007    
5008  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
5009  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
5010  echo "configure:5017: checking for putenv" >&5  echo "configure:5011: checking for putenv" >&5
5011  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
5012    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5013  else  else
5014    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5015  #line 5022 "configure"  #line 5016 "configure"
5016  #include "confdefs.h"  #include "confdefs.h"
5017  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5018      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 5041  putenv(); Line 5035  putenv();
5035    
5036  ; return 0; }  ; return 0; }
5037  EOF  EOF
5038  if { (eval echo configure:5045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5039    rm -rf conftest*    rm -rf conftest*
5040    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
5041  else  else
# Line 5067  fi Line 5061  fi
5061  fi  fi
5062    
5063  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
5064  echo "configure:5071: checking for _cleanup" >&5  echo "configure:5065: checking for _cleanup" >&5
5065  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
5066    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5067  else  else
5068    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5069  #line 5076 "configure"  #line 5070 "configure"
5070  #include "confdefs.h"  #include "confdefs.h"
5071  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5072      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 5095  _cleanup(); Line 5089  _cleanup();
5089    
5090  ; return 0; }  ; return 0; }
5091  EOF  EOF
5092  if { (eval echo configure:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5093    rm -rf conftest*    rm -rf conftest*
5094    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
5095  else  else
# Line 5121  fi Line 5115  fi
5115  gcl_ok=no  gcl_ok=no
5116    
5117  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5118  #line 5125 "configure"  #line 5119 "configure"
5119  #include "confdefs.h"  #include "confdefs.h"
5120  #include <ctype.h>  #include <ctype.h>
5121  EOF  EOF
# Line 5149  fi Line 5143  fi
5143    
5144  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
5145  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
5146  echo "configure:5153: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:5147: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
5147    
5148  case $system in  case $system in
5149         OSF*)         OSF*)
# Line 5180  esac Line 5174  esac
5174    
5175    
5176  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
5177  echo "configure:5184: checking check for SV_ONSTACK" >&5  echo "configure:5178: checking check for SV_ONSTACK" >&5
5178  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5179  #line 5186 "configure"  #line 5180 "configure"
5180  #include "confdefs.h"  #include "confdefs.h"
5181  #include <signal.h>  #include <signal.h>
5182  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 5191  int main() { Line 5185  int main() {
5185    
5186  ; return 0; }  ; return 0; }
5187  EOF  EOF
5188  if { (eval echo configure:5195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5189    rm -rf conftest*    rm -rf conftest*
5190    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5191  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 5208  fi Line 5202  fi
5202  rm -f conftest*  rm -f conftest*
5203    
5204  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
5205  echo "configure:5212: checking check for SIGSYS" >&5  echo "configure:5206: checking check for SIGSYS" >&5
5206  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5207  #line 5214 "configure"  #line 5208 "configure"
5208  #include "confdefs.h"  #include "confdefs.h"
5209  #include <signal.h>  #include <signal.h>
5210  int joe=SIGSYS;  int joe=SIGSYS;
# Line 5219  int main() { Line 5213  int main() {
5213    
5214  ; return 0; }  ; return 0; }
5215  EOF  EOF
5216  if { (eval echo configure:5223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5217    rm -rf conftest*    rm -rf conftest*
5218    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5219  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 5237  rm -f conftest* Line 5231  rm -f conftest*
5231    
5232    
5233  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
5234  echo "configure:5241: checking check for SIGEMT" >&5  echo "configure:5235: checking check for SIGEMT" >&5
5235  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5236  #line 5243 "configure"  #line 5237 "configure"
5237  #include "confdefs.h"  #include "confdefs.h"
5238  #include <signal.h>  #include <signal.h>
5239  int joe=SIGEMT;  int joe=SIGEMT;
# Line 5248  int main() { Line 5242  int main() {
5242    
5243  ; return 0; }  ; return 0; }
5244  EOF  EOF
5245  if { (eval echo configure:5252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5246    rm -rf conftest*    rm -rf conftest*
5247    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5248  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 5272  rm -f conftest* Line 5266  rm -f conftest*
5266  do  do
5267  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5268  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5269  echo "configure:5276: checking for $ac_hdr" >&5  echo "configure:5270: checking for $ac_hdr" >&5
5270  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5271    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5272  else  else
5273    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5274  #line 5281 "configure"  #line 5275 "configure"
5275  #include "confdefs.h"  #include "confdefs.h"
5276  #include <$ac_hdr>  #include <$ac_hdr>
5277  EOF  EOF
5278  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5279  { (eval echo configure:5286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5280  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5281  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5282    rm -rf conftest*    rm -rf conftest*
# Line 5312  done Line 5306  done
5306  do  do
5307  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5308  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5309  echo "configure:5316: checking for $ac_hdr" >&5  echo "configure:5310: checking for $ac_hdr" >&5
5310  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5311    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5312  else  else
5313    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5314  #line 5321 "configure"  #line 5315 "configure"
5315  #include "confdefs.h"  #include "confdefs.h"
5316  #include <$ac_hdr>  #include <$ac_hdr>
5317  EOF  EOF
5318  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5319  { (eval echo configure:5326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5320  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5321  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5322    rm -rf conftest*    rm -rf conftest*
# Line 5349  fi Line 5343  fi
5343  done  done
5344    
5345          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
5346  #line 5353 "configure"  #line 5347 "configure"
5347  #include "confdefs.h"  #include "confdefs.h"
5348  #include <signal.h>  #include <signal.h>
5349                          long code;                            long code;  
# Line 5360  int main() { Line 5354  int main() {
5354                
5355  ; return 0; }  ; return 0; }
5356  EOF  EOF
5357  if { (eval echo configure:5364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5358    rm -rf conftest*    rm -rf conftest*
5359        
5360          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 5381  fi Line 5375  fi
5375  rm -f conftest*  rm -f conftest*
5376         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
5377         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
5378  #line 5385 "configure"  #line 5379 "configure"
5379  #include "confdefs.h"  #include "confdefs.h"
5380  #include <signal.h>  #include <signal.h>
5381               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 5398  int main() { Line 5392  int main() {
5392                    
5393  ; return 0; }  ; return 0; }
5394  EOF  EOF
5395  if { (eval echo configure:5402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5396    rm -rf conftest*    rm -rf conftest*
5397        
5398          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 5441  rm -f conftest* Line 5435  rm -f conftest*
5435  # 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.
5436  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
5437  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5438  echo "configure:5445: checking for $ac_word" >&5  echo "configure:5439: checking for $ac_word" >&5
5439  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
5440    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5441  else  else
# Line 5489  cat >> conftest.el <<EOF Line 5483  cat >> conftest.el <<EOF
5483  EOF  EOF
5484    
5485  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
5486  echo "configure:5493: checking emacs site lisp directory" >&5  echo "configure:5487: checking emacs site lisp directory" >&5
5487  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then
5488          if [ "$EMACS" != "" ] ; then          if [ "$EMACS" != "" ] ; then
5489                  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 5513  cat >> conftest.el <<EOF Line 5507  cat >> conftest.el <<EOF
5507  EOF  EOF
5508    
5509  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
5510  echo "configure:5517: checking emacs default.el" >&5  echo "configure:5511: checking emacs default.el" >&5
5511  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
5512          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 `
5513  else  else
# Line 5542  cat >> conftest.el <<EOF Line 5536  cat >> conftest.el <<EOF
5536  EOF  EOF
5537    
5538  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
5539  echo "configure:5546: checking emacs info/dir" >&5  echo "configure:5540: checking emacs info/dir" >&5
5540  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
5541      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/
5542  else  else
# Line 5560  echo "$ac_t""$INFO_DIR" 1>&6 Line 5554  echo "$ac_t""$INFO_DIR" 1>&6
5554    
5555    
5556  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
5557  echo "configure:5564: checking for tcl/tk" >&5  echo "configure:5558: checking for tcl/tk" >&5
5558    
5559    
5560  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 5583  EOF Line 5577  EOF
5577  # 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.
5578  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
5579  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5580  echo "configure:5587: checking for $ac_word" >&5  echo "configure:5581: checking for $ac_word" >&5
5581  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
5582    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5583  else  else
# Line 5683  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 5677  if test -f ${TCL_CONFIG_PREFIX}/../inclu
5677    fi    fi
5678  fi  fi
5679  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
5680  echo "configure:5687: checking for main in -llieee" >&5  echo "configure:5681: checking for main in -llieee" >&5
5681  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
5682  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
5683    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5691  else Line 5685  else
5685    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5686  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
5687  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5688  #line 5695 "configure"  #line 5689 "configure"
5689  #include "confdefs.h"  #include "confdefs.h"
5690    
5691  int main() {  int main() {
5692  main()  main()
5693  ; return 0; }  ; return 0; }
5694  EOF  EOF
5695  if { (eval echo configure:5702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5696    rm -rf conftest*    rm -rf conftest*
5697    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5698  else  else
# Line 5763  NOTIFY=$enable_notify Line 5757  NOTIFY=$enable_notify
5757  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
5758    
5759  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
5760  echo "configure:5767: checking alloca" >&5  echo "configure:5761: checking alloca" >&5
5761  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5762    gcl_ok=no    gcl_ok=no
5763  else  else
5764    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5765  #line 5772 "configure"  #line 5766 "configure"
5766  #include "confdefs.h"  #include "confdefs.h"
5767  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
5768  EOF  EOF
5769  if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5770  then  then
5771    :    :
5772  else  else
# Line 5795  else Line 5789  else
5789    gcl_ok=no    gcl_ok=no
5790  else  else
5791    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5792  #line 5799 "configure"  #line 5793 "configure"
5793  #include "confdefs.h"  #include "confdefs.h"
5794  #include <alloca.h>  #include <alloca.h>
5795    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
5796  EOF  EOF
5797  if { (eval echo configure:5804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5798  then  then
5799    :    :
5800  else  else
# Line 5861  if test $gcl_ok = no ; then     echo "$a Line 5855  if test $gcl_ok = no ; then     echo "$a
5855  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
5856  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
5857  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
5858  echo "configure:5865: checking Checking for buggy gcc version from redhat" >&5  echo "configure:5859: checking Checking for buggy gcc version from redhat" >&5
5859  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
5860     then     then
5861          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.107.4.1.2.2.2.14  
changed lines
  Added in v.1.107.4.1.2.2.2.15

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