/[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.15 by camm, Mon Nov 17 14:53:56 2003 UTC revision 1.107.4.1.2.2.2.16 by camm, Mon Nov 17 18:05:43 2003 UTC
# Line 697  else Line 697  else
697    INFO_DIR="unknown"    INFO_DIR="unknown"
698  fi  fi
699    
700    INFO_DIR=`eval echo $INFO_DIR/`
701    
702  # Check whether --enable-emacsdir or --disable-emacsdir was given.  # Check whether --enable-emacsdir or --disable-emacsdir was given.
703  if test "${enable_emacsdir+set}" = set; then  if test "${enable_emacsdir+set}" = set; then
# Line 706  else Line 707  else
707    EMACS_SITE_LISP="unknown"    EMACS_SITE_LISP="unknown"
708  fi  fi
709    
710    EMACS_SITE_LISP=`eval echo $EMACS_SITE_LISP`
711    
712  # Check whether --enable-common-binary or --disable-common-binary was given.  # Check whether --enable-common-binary or --disable-common-binary was given.
713  if test "${enable_common_binary+set}" = set; then  if test "${enable_common_binary+set}" = set; then
# Line 765  else { echo "configure: error: can not r Line 767  else { echo "configure: error: can not r
767  fi  fi
768    
769  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
770  echo "configure:769: checking host system type" >&5  echo "configure:771: checking host system type" >&5
771    
772  host_alias=$host  host_alias=$host
773  case "$host_alias" in  case "$host_alias" in
# Line 1131  echo "$ac_t""use=$use" 1>&6 Line 1133  echo "$ac_t""use=$use" 1>&6
1133  # 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.
1134  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1135  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1136  echo "configure:1135: checking for $ac_word" >&5  echo "configure:1137: checking for $ac_word" >&5
1137  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1138    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1139  else  else
# Line 1161  if test -z "$CC"; then Line 1163  if test -z "$CC"; then
1163    # 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.
1164  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1165  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1166  echo "configure:1165: checking for $ac_word" >&5  echo "configure:1167: checking for $ac_word" >&5
1167  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1168    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1169  else  else
# Line 1212  fi Line 1214  fi
1214        # 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.
1215  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
1216  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1217  echo "configure:1216: checking for $ac_word" >&5  echo "configure:1218: checking for $ac_word" >&5
1218  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1219    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1220  else  else
# Line 1244  fi Line 1246  fi
1246  fi  fi
1247    
1248  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
1249  echo "configure:1248: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1250: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1250    
1251  ac_ext=c  ac_ext=c
1252  # 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 1255  cross_compiling=$ac_cv_prog_cc_cross Line 1257  cross_compiling=$ac_cv_prog_cc_cross
1257    
1258  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
1259    
1260  #line 1259 "configure"  #line 1261 "configure"
1261  #include "confdefs.h"  #include "confdefs.h"
1262    
1263  main(){return(0);}  main(){return(0);}
1264  EOF  EOF
1265  if { (eval echo configure:1264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1266    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
1267    # 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.
1268    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 1286  if test $ac_cv_prog_cc_works = no; then Line 1288  if test $ac_cv_prog_cc_works = no; then
1288    { 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; }
1289  fi  fi
1290  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
1291  echo "configure:1290: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1292: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1292  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1293  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1294    
1295  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
1296  echo "configure:1295: checking whether we are using GNU C" >&5  echo "configure:1297: checking whether we are using GNU C" >&5
1297  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1298    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1299  else  else
# Line 1300  else Line 1302  else
1302    yes;    yes;
1303  #endif  #endif
1304  EOF  EOF
1305  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  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1306    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
1307  else  else
1308    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 1319  ac_test_CFLAGS="${CFLAGS+set}" Line 1321  ac_test_CFLAGS="${CFLAGS+set}"
1321  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
1322  CFLAGS=  CFLAGS=
1323  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
1324  echo "configure:1323: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1325: checking whether ${CC-cc} accepts -g" >&5
1325  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1326    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1327  else  else
# Line 1351  else Line 1353  else
1353  fi  fi
1354    
1355  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
1356  echo "configure:1355: checking how to run the C preprocessor" >&5  echo "configure:1357: checking how to run the C preprocessor" >&5
1357  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1358  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1359    CPP=    CPP=
# Line 1366  else Line 1368  else
1368    # 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,
1369    # not just through cpp.    # not just through cpp.
1370    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1371  #line 1370 "configure"  #line 1372 "configure"
1372  #include "confdefs.h"  #include "confdefs.h"
1373  #include <assert.h>  #include <assert.h>
1374  Syntax Error  Syntax Error
1375  EOF  EOF
1376  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1377  { (eval echo configure:1376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1378  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1379  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1380    :    :
# Line 1383  else Line 1385  else
1385    rm -rf conftest*    rm -rf conftest*
1386    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1387    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1388  #line 1387 "configure"  #line 1389 "configure"
1389  #include "confdefs.h"  #include "confdefs.h"
1390  #include <assert.h>  #include <assert.h>
1391  Syntax Error  Syntax Error
1392  EOF  EOF
1393  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1394  { (eval echo configure:1393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1395  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1396  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1397    :    :
# Line 1400  else Line 1402  else
1402    rm -rf conftest*    rm -rf conftest*
1403    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1404    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1405  #line 1404 "configure"  #line 1406 "configure"
1406  #include "confdefs.h"  #include "confdefs.h"
1407  #include <assert.h>  #include <assert.h>
1408  Syntax Error  Syntax Error
1409  EOF  EOF
1410  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1411  { (eval echo configure:1410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1412  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1413  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1414    :    :
# Line 1465  do Line 1467  do
1467  # 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.
1468  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1469  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1470  echo "configure:1469: checking for $ac_word" >&5  echo "configure:1471: checking for $ac_word" >&5
1471  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1472    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1473  else  else
# Line 1538  fi Line 1540  fi
1540  # there are a few systems, like Next, where this doesn't work.  # there are a few systems, like Next, where this doesn't work.
1541    
1542  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
1543  echo "configure:1542: checking system version (for dynamic loading)" >&5  echo "configure:1544: checking system version (for dynamic loading)" >&5
1544  if machine=`uname -m` ; then true; else machine=unknown ; fi  if machine=`uname -m` ; then true; else machine=unknown ; fi
1545    
1546  for ac_prog in makeinfo  for ac_prog in makeinfo
# Line 1546  do Line 1548  do
1548  # 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.
1549  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1550  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1551  echo "configure:1550: checking for $ac_word" >&5  echo "configure:1552: checking for $ac_word" >&5
1552  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1553    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1554  else  else
# Line 1611  MP_INLCUDE="" Line 1613  MP_INLCUDE=""
1613  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
1614    
1615   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
1616  echo "configure:1615: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:1617: checking use_gmp=yes, doing configure in gmp directory" >&5
1617   echo   echo
1618   echo "#"   echo "#"
1619   echo "#"   echo "#"
# Line 1644  echo "configure:1615: checking use_gmp=y Line 1646  echo "configure:1615: checking use_gmp=y
1646   if test "$enable_dynsysgmp" = "yes" ; then   if test "$enable_dynsysgmp" = "yes" ; then
1647          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
1648  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
1649  echo "configure:1648: checking for gmp.h" >&5  echo "configure:1650: checking for gmp.h" >&5
1650  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1651    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1652  else  else
1653    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1654  #line 1653 "configure"  #line 1655 "configure"
1655  #include "confdefs.h"  #include "confdefs.h"
1656  #include <gmp.h>  #include <gmp.h>
1657  EOF  EOF
1658  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1659  { (eval echo configure:1658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1660  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1661  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1662    rm -rf conftest*    rm -rf conftest*
# Line 1671  fi Line 1673  fi
1673  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1674    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1675    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
1676  echo "configure:1675: checking for __gmpz_init in -lgmp" >&5  echo "configure:1677: checking for __gmpz_init in -lgmp" >&5
1677  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
1678  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
1679    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1679  else Line 1681  else
1681    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1682  LIBS="-lgmp  $LIBS"  LIBS="-lgmp  $LIBS"
1683  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1684  #line 1683 "configure"  #line 1685 "configure"
1685  #include "confdefs.h"  #include "confdefs.h"
1686  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1687  /* 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 1690  int main() { Line 1692  int main() {
1692  __gmpz_init()  __gmpz_init()
1693  ; return 0; }  ; return 0; }
1694  EOF  EOF
1695  if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1696    rm -rf conftest*    rm -rf conftest*
1697    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1698  else  else
# Line 1706  fi Line 1708  fi
1708  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1709    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1710    echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6    echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6
1711  echo "configure:1710: checking "for external gmp version"" >&5  echo "configure:1712: checking "for external gmp version"" >&5
1712                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
1713    echo "Cannot use dynamic gmp lib"    echo "Cannot use dynamic gmp lib"
1714  else  else
1715    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1716  #line 1715 "configure"  #line 1717 "configure"
1717  #include "confdefs.h"  #include "confdefs.h"
1718  #include <gmp.h>  #include <gmp.h>
1719                                      int main() {                                      int main() {
# Line 1722  else Line 1724  else
1724                                      #endif                                      #endif
1725                                      }                                      }
1726  EOF  EOF
1727  if { (eval echo configure:1726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1728  then  then
1729    MPFILES=$GMPDIR/mpn/mul_n.o    MPFILES=$GMPDIR/mpn/mul_n.o
1730                                  PATCHED_SYMBOLS=__gmpn_toom3_mul_n                                  PATCHED_SYMBOLS=__gmpn_toom3_mul_n
# Line 1765  if test "$MP_INCLUDE" = "" ; then Line 1767  if test "$MP_INCLUDE" = "" ; then
1767  fi  fi
1768    
1769   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
1770  echo "configure:1769: checking "for size of gmp limbs"" >&5  echo "configure:1771: checking "for size of gmp limbs"" >&5
1771   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1772    mpsize=0    mpsize=0
1773  else  else
1774    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1775  #line 1774 "configure"  #line 1776 "configure"
1776  #include "confdefs.h"  #include "confdefs.h"
1777  #include <stdio.h>  #include <stdio.h>
1778          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1781  else Line 1783  else
1783          return 0;          return 0;
1784          }          }
1785  EOF  EOF
1786  if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1787  then  then
1788    mpsize=`cat conftest1`    mpsize=`cat conftest1`
1789  else  else
# Line 1804  EOF Line 1806  EOF
1806   echo "$ac_t""$mpsize" 1>&6   echo "$ac_t""$mpsize" 1>&6
1807    
1808   echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6   echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6
1809  echo "configure:1808: checking "_SHORT_LIMB"" >&5  echo "configure:1810: checking "_SHORT_LIMB"" >&5
1810   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1811    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1812  else  else
1813    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1814  #line 1813 "configure"  #line 1815 "configure"
1815  #include "confdefs.h"  #include "confdefs.h"
1816  #include <stdio.h>  #include <stdio.h>
1817          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1821  else Line 1823  else
1823          #endif          #endif
1824          }          }
1825  EOF  EOF
1826  if { (eval echo configure:1825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1827  then  then
1828    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1829  #define __SHORT_LIMB 1  #define __SHORT_LIMB 1
# Line 1837  rm -fr conftest* Line 1839  rm -fr conftest*
1839  fi  fi
1840    
1841   echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6   echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6
1842  echo "configure:1841: checking "_LONG_LONG_LIMB"" >&5  echo "configure:1843: checking "_LONG_LONG_LIMB"" >&5
1843   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1844    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1845  else  else
1846    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1847  #line 1846 "configure"  #line 1848 "configure"
1848  #include "confdefs.h"  #include "confdefs.h"
1849  #include <stdio.h>  #include <stdio.h>
1850          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1854  else Line 1856  else
1856          #endif          #endif
1857          }          }
1858  EOF  EOF
1859  if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1860  then  then
1861    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1862  #define __LONG_LONG_LIMB 1  #define __LONG_LONG_LIMB 1
# Line 1893  fi Line 1895  fi
1895  # 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.
1896  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
1897  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
1898  echo "configure:1897: checking for X" >&5  echo "configure:1899: checking for X" >&5
1899    
1900  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
1901  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 1955  if test "$ac_x_includes" = NO; then Line 1957  if test "$ac_x_includes" = NO; then
1957    
1958    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
1959  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1960  #line 1959 "configure"  #line 1961 "configure"
1961  #include "confdefs.h"  #include "confdefs.h"
1962  #include <$x_direct_test_include>  #include <$x_direct_test_include>
1963  EOF  EOF
1964  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1965  { (eval echo configure:1964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1966  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1967  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1968    rm -rf conftest*    rm -rf conftest*
# Line 2029  if test "$ac_x_libraries" = NO; then Line 2031  if test "$ac_x_libraries" = NO; then
2031    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2032    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
2033  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2034  #line 2033 "configure"  #line 2035 "configure"
2035  #include "confdefs.h"  #include "confdefs.h"
2036    
2037  int main() {  int main() {
2038  ${x_direct_test_function}()  ${x_direct_test_function}()
2039  ; return 0; }  ; return 0; }
2040  EOF  EOF
2041  if { (eval echo configure:2040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2042    rm -rf conftest*    rm -rf conftest*
2043    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
2044  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 2142  else Line 2144  else
2144      case "`(uname -sr) 2>/dev/null`" in      case "`(uname -sr) 2>/dev/null`" in
2145      "SunOS 5"*)      "SunOS 5"*)
2146        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
2147  echo "configure:2146: checking whether -R must be followed by a space" >&5  echo "configure:2148: checking whether -R must be followed by a space" >&5
2148        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
2149        cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
2150  #line 2149 "configure"  #line 2151 "configure"
2151  #include "confdefs.h"  #include "confdefs.h"
2152    
2153  int main() {  int main() {
2154    
2155  ; return 0; }  ; return 0; }
2156  EOF  EOF
2157  if { (eval echo configure:2156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2158    rm -rf conftest*    rm -rf conftest*
2159    ac_R_nospace=yes    ac_R_nospace=yes
2160  else  else
# Line 2168  rm -f conftest* Line 2170  rm -f conftest*
2170        else        else
2171          LIBS="$ac_xsave_LIBS -R $x_libraries"          LIBS="$ac_xsave_LIBS -R $x_libraries"
2172          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2173  #line 2172 "configure"  #line 2174 "configure"
2174  #include "confdefs.h"  #include "confdefs.h"
2175    
2176  int main() {  int main() {
2177    
2178  ; return 0; }  ; return 0; }
2179  EOF  EOF
2180  if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2181    rm -rf conftest*    rm -rf conftest*
2182    ac_R_space=yes    ac_R_space=yes
2183  else  else
# Line 2207  rm -f conftest* Line 2209  rm -f conftest*
2209      # libraries were built with DECnet support.  And karl@cs.umb.edu says      # libraries were built with DECnet support.  And karl@cs.umb.edu says
2210      # the Alpha needs dnet_stub (dnet does not exist).      # the Alpha needs dnet_stub (dnet does not exist).
2211      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
2212  echo "configure:2211: checking for dnet_ntoa in -ldnet" >&5  echo "configure:2213: checking for dnet_ntoa in -ldnet" >&5
2213  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2214  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
2215    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2215  else Line 2217  else
2217    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2218  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
2219  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2220  #line 2219 "configure"  #line 2221 "configure"
2221  #include "confdefs.h"  #include "confdefs.h"
2222  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2223  /* 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 2226  int main() { Line 2228  int main() {
2228  dnet_ntoa()  dnet_ntoa()
2229  ; return 0; }  ; return 0; }
2230  EOF  EOF
2231  if { (eval echo configure:2230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2232    rm -rf conftest*    rm -rf conftest*
2233    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2234  else  else
# Line 2248  fi Line 2250  fi
2250    
2251      if test $ac_cv_lib_dnet_dnet_ntoa = no; then      if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2252        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
2253  echo "configure:2252: checking for dnet_ntoa in -ldnet_stub" >&5  echo "configure:2254: checking for dnet_ntoa in -ldnet_stub" >&5
2254  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2255  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
2256    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2256  else Line 2258  else
2258    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2259  LIBS="-ldnet_stub  $LIBS"  LIBS="-ldnet_stub  $LIBS"
2260  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2261  #line 2260 "configure"  #line 2262 "configure"
2262  #include "confdefs.h"  #include "confdefs.h"
2263  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2264  /* 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 2267  int main() { Line 2269  int main() {
2269  dnet_ntoa()  dnet_ntoa()
2270  ; return 0; }  ; return 0; }
2271  EOF  EOF
2272  if { (eval echo configure:2271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2273    rm -rf conftest*    rm -rf conftest*
2274    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2275  else  else
# Line 2296  fi Line 2298  fi
2298      # The nsl library prevents programs from opening the X display      # The nsl library prevents programs from opening the X display
2299      # on Irix 5.2, according to dickey@clark.net.      # on Irix 5.2, according to dickey@clark.net.
2300      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
2301  echo "configure:2300: checking for gethostbyname" >&5  echo "configure:2302: checking for gethostbyname" >&5
2302  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
2303    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2304  else  else
2305    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2306  #line 2305 "configure"  #line 2307 "configure"
2307  #include "confdefs.h"  #include "confdefs.h"
2308  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2309      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 2324  gethostbyname(); Line 2326  gethostbyname();
2326    
2327  ; return 0; }  ; return 0; }
2328  EOF  EOF
2329  if { (eval echo configure:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2330    rm -rf conftest*    rm -rf conftest*
2331    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
2332  else  else
# Line 2345  fi Line 2347  fi
2347    
2348      if test $ac_cv_func_gethostbyname = no; then      if test $ac_cv_func_gethostbyname = no; then
2349        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
2350  echo "configure:2349: checking for gethostbyname in -lnsl" >&5  echo "configure:2351: checking for gethostbyname in -lnsl" >&5
2351  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
2352  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
2353    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2353  else Line 2355  else
2355    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2356  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2357  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2358  #line 2357 "configure"  #line 2359 "configure"
2359  #include "confdefs.h"  #include "confdefs.h"
2360  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2361  /* 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 2364  int main() { Line 2366  int main() {
2366  gethostbyname()  gethostbyname()
2367  ; return 0; }  ; return 0; }
2368  EOF  EOF
2369  if { (eval echo configure:2368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2370    rm -rf conftest*    rm -rf conftest*
2371    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2372  else  else
# Line 2394  fi Line 2396  fi
2396      # -lsocket must be given before -lnsl if both are needed.      # -lsocket must be given before -lnsl if both are needed.
2397      # We assume that if connect needs -lnsl, so does gethostbyname.      # We assume that if connect needs -lnsl, so does gethostbyname.
2398      echo $ac_n "checking for connect""... $ac_c" 1>&6      echo $ac_n "checking for connect""... $ac_c" 1>&6
2399  echo "configure:2398: checking for connect" >&5  echo "configure:2400: checking for connect" >&5
2400  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2401    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2402  else  else
2403    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2404  #line 2403 "configure"  #line 2405 "configure"
2405  #include "confdefs.h"  #include "confdefs.h"
2406  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2407      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 2422  connect(); Line 2424  connect();
2424    
2425  ; return 0; }  ; return 0; }
2426  EOF  EOF
2427  if { (eval echo configure:2426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2428    rm -rf conftest*    rm -rf conftest*
2429    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
2430  else  else
# Line 2443  fi Line 2445  fi
2445    
2446      if test $ac_cv_func_connect = no; then      if test $ac_cv_func_connect = no; then
2447        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2448  echo "configure:2447: checking for connect in -lsocket" >&5  echo "configure:2449: checking for connect in -lsocket" >&5
2449  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2450  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
2451    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2451  else Line 2453  else
2453    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2454  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
2455  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2456  #line 2455 "configure"  #line 2457 "configure"
2457  #include "confdefs.h"  #include "confdefs.h"
2458  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2459  /* 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 2462  int main() { Line 2464  int main() {
2464  connect()  connect()
2465  ; return 0; }  ; return 0; }
2466  EOF  EOF
2467  if { (eval echo configure:2466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2468    rm -rf conftest*    rm -rf conftest*
2469    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2470  else  else
# Line 2486  fi Line 2488  fi
2488    
2489      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2490      echo $ac_n "checking for remove""... $ac_c" 1>&6      echo $ac_n "checking for remove""... $ac_c" 1>&6
2491  echo "configure:2490: checking for remove" >&5  echo "configure:2492: checking for remove" >&5
2492  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2493    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2494  else  else
2495    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2496  #line 2495 "configure"  #line 2497 "configure"
2497  #include "confdefs.h"  #include "confdefs.h"
2498  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2499      which can conflict with char remove(); below.  */      which can conflict with char remove(); below.  */
# Line 2514  remove(); Line 2516  remove();
2516    
2517  ; return 0; }  ; return 0; }
2518  EOF  EOF
2519  if { (eval echo configure:2518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2520    rm -rf conftest*    rm -rf conftest*
2521    eval "ac_cv_func_remove=yes"    eval "ac_cv_func_remove=yes"
2522  else  else
# Line 2535  fi Line 2537  fi
2537    
2538      if test $ac_cv_func_remove = no; then      if test $ac_cv_func_remove = no; then
2539        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2540  echo "configure:2539: checking for remove in -lposix" >&5  echo "configure:2541: checking for remove in -lposix" >&5
2541  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2542  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
2543    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2543  else Line 2545  else
2545    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2546  LIBS="-lposix  $LIBS"  LIBS="-lposix  $LIBS"
2547  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2548  #line 2547 "configure"  #line 2549 "configure"
2549  #include "confdefs.h"  #include "confdefs.h"
2550  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2551  /* 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 2554  int main() { Line 2556  int main() {
2556  remove()  remove()
2557  ; return 0; }  ; return 0; }
2558  EOF  EOF
2559  if { (eval echo configure:2558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2560    rm -rf conftest*    rm -rf conftest*
2561    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2562  else  else
# Line 2578  fi Line 2580  fi
2580    
2581      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2582      echo $ac_n "checking for shmat""... $ac_c" 1>&6      echo $ac_n "checking for shmat""... $ac_c" 1>&6
2583  echo "configure:2582: checking for shmat" >&5  echo "configure:2584: checking for shmat" >&5
2584  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2585    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2586  else  else
2587    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2588  #line 2587 "configure"  #line 2589 "configure"
2589  #include "confdefs.h"  #include "confdefs.h"
2590  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2591      which can conflict with char shmat(); below.  */      which can conflict with char shmat(); below.  */
# Line 2606  shmat(); Line 2608  shmat();
2608    
2609  ; return 0; }  ; return 0; }
2610  EOF  EOF
2611  if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2612    rm -rf conftest*    rm -rf conftest*
2613    eval "ac_cv_func_shmat=yes"    eval "ac_cv_func_shmat=yes"
2614  else  else
# Line 2627  fi Line 2629  fi
2629    
2630      if test $ac_cv_func_shmat = no; then      if test $ac_cv_func_shmat = no; then
2631        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2632  echo "configure:2631: checking for shmat in -lipc" >&5  echo "configure:2633: checking for shmat in -lipc" >&5
2633  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2634  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
2635    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2635  else Line 2637  else
2637    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2638  LIBS="-lipc  $LIBS"  LIBS="-lipc  $LIBS"
2639  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2640  #line 2639 "configure"  #line 2641 "configure"
2641  #include "confdefs.h"  #include "confdefs.h"
2642  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2643  /* 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 2646  int main() { Line 2648  int main() {
2648  shmat()  shmat()
2649  ; return 0; }  ; return 0; }
2650  EOF  EOF
2651  if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2652    rm -rf conftest*    rm -rf conftest*
2653    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2654  else  else
# Line 2679  fi Line 2681  fi
2681    # libraries we check for below, so use a different variable.    # libraries we check for below, so use a different variable.
2682    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2683    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2684  echo "configure:2683: checking for IceConnectionNumber in -lICE" >&5  echo "configure:2685: checking for IceConnectionNumber in -lICE" >&5
2685  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2686  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
2687    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2687  else Line 2689  else
2689    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2690  LIBS="-lICE $X_EXTRA_LIBS $LIBS"  LIBS="-lICE $X_EXTRA_LIBS $LIBS"
2691  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2692  #line 2691 "configure"  #line 2693 "configure"
2693  #include "confdefs.h"  #include "confdefs.h"
2694  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2695  /* 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 2698  int main() { Line 2700  int main() {
2700  IceConnectionNumber()  IceConnectionNumber()
2701  ; return 0; }  ; return 0; }
2702  EOF  EOF
2703  if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2704    rm -rf conftest*    rm -rf conftest*
2705    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2706  else  else
# Line 2729  echo $X_PRE_LIBS Line 2731  echo $X_PRE_LIBS
2731    
2732  miss=0  miss=0
2733  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6
2734  echo "configure:2733: checking for main in -lXmu" >&5  echo "configure:2735: checking for main in -lXmu" >&5
2735  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`
2736  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
2737    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2737  else Line 2739  else
2739    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2740  LIBS="-lXmu $X_LIBS $LIBS"  LIBS="-lXmu $X_LIBS $LIBS"
2741  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2742  #line 2741 "configure"  #line 2743 "configure"
2743  #include "confdefs.h"  #include "confdefs.h"
2744    
2745  int main() {  int main() {
2746  main()  main()
2747  ; return 0; }  ; return 0; }
2748  EOF  EOF
2749  if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2750    rm -rf conftest*    rm -rf conftest*
2751    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2752  else  else
# Line 2766  miss=1 Line 2768  miss=1
2768  fi  fi
2769    
2770  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6
2771  echo "configure:2770: checking for main in -lXt" >&5  echo "configure:2772: checking for main in -lXt" >&5
2772  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`
2773  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
2774    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2774  else Line 2776  else
2776    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2777  LIBS="-lXt $X_LIBS $LIBS"  LIBS="-lXt $X_LIBS $LIBS"
2778  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2779  #line 2778 "configure"  #line 2780 "configure"
2780  #include "confdefs.h"  #include "confdefs.h"
2781    
2782  int main() {  int main() {
2783  main()  main()
2784  ; return 0; }  ; return 0; }
2785  EOF  EOF
2786  if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2787    rm -rf conftest*    rm -rf conftest*
2788    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2789  else  else
# Line 2803  miss=1 Line 2805  miss=1
2805  fi  fi
2806    
2807  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6
2808  echo "configure:2807: checking for main in -lXext" >&5  echo "configure:2809: checking for main in -lXext" >&5
2809  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`
2810  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
2811    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2811  else Line 2813  else
2813    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2814  LIBS="-lXext $X_LIBS $LIBS"  LIBS="-lXext $X_LIBS $LIBS"
2815  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2816  #line 2815 "configure"  #line 2817 "configure"
2817  #include "confdefs.h"  #include "confdefs.h"
2818    
2819  int main() {  int main() {
2820  main()  main()
2821  ; return 0; }  ; return 0; }
2822  EOF  EOF
2823  if { (eval echo configure:2822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2824    rm -rf conftest*    rm -rf conftest*
2825    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2826  else  else
# Line 2840  miss=1 Line 2842  miss=1
2842  fi  fi
2843    
2844  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6
2845  echo "configure:2844: checking for main in -lXaw" >&5  echo "configure:2846: checking for main in -lXaw" >&5
2846  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`
2847  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
2848    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2848  else Line 2850  else
2850    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2851  LIBS="-lXaw $X_LIBS $LIBS"  LIBS="-lXaw $X_LIBS $LIBS"
2852  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2853  #line 2852 "configure"  #line 2854 "configure"
2854  #include "confdefs.h"  #include "confdefs.h"
2855    
2856  int main() {  int main() {
2857  main()  main()
2858  ; return 0; }  ; return 0; }
2859  EOF  EOF
2860  if { (eval echo configure:2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2861    rm -rf conftest*    rm -rf conftest*
2862    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2863  else  else
# Line 2877  miss=1 Line 2879  miss=1
2879  fi  fi
2880    
2881  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6
2882  echo "configure:2881: checking for main in -lX11" >&5  echo "configure:2883: checking for main in -lX11" >&5
2883  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`
2884  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
2885    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2885  else Line 2887  else
2887    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2888  LIBS="-lX11 $X_LIBS $LIBS"  LIBS="-lX11 $X_LIBS $LIBS"
2889  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2890  #line 2889 "configure"  #line 2891 "configure"
2891  #include "confdefs.h"  #include "confdefs.h"
2892    
2893  int main() {  int main() {
2894  main()  main()
2895  ; return 0; }  ; return 0; }
2896  EOF  EOF
2897  if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2898    rm -rf conftest*    rm -rf conftest*
2899    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2900  else  else
# Line 2931  fi Line 2933  fi
2933  if test "$enable_dlopen" = "yes" ; then  if test "$enable_dlopen" = "yes" ; then
2934    
2935          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2936  echo "configure:2935: checking for dlopen in -ldl" >&5  echo "configure:2937: checking for dlopen in -ldl" >&5
2937  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2938  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
2939    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2939  else Line 2941  else
2941    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2942  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
2943  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2944  #line 2943 "configure"  #line 2945 "configure"
2945  #include "confdefs.h"  #include "confdefs.h"
2946  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2947  /* 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 2950  int main() { Line 2952  int main() {
2952  dlopen()  dlopen()
2953  ; return 0; }  ; return 0; }
2954  EOF  EOF
2955  if { (eval echo configure:2954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2956    rm -rf conftest*    rm -rf conftest*
2957    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2958  else  else
# Line 2986  fi Line 2988  fi
2988  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then
2989          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
2990  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
2991  echo "configure:2990: checking for bfd.h" >&5  echo "configure:2992: checking for bfd.h" >&5
2992  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2993    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2994  else  else
2995    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2996  #line 2995 "configure"  #line 2997 "configure"
2997  #include "confdefs.h"  #include "confdefs.h"
2998  #include <bfd.h>  #include <bfd.h>
2999  EOF  EOF
3000  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3001  { (eval echo configure:3000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3002  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3003  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3004    rm -rf conftest*    rm -rf conftest*
# Line 3013  fi Line 3015  fi
3015  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3016    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
3017    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
3018  echo "configure:3017: checking for bfd_init in -lbfd" >&5  echo "configure:3019: checking for bfd_init in -lbfd" >&5
3019  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
3020  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
3021    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3021  else Line 3023  else
3023    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3024  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
3025  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3026  #line 3025 "configure"  #line 3027 "configure"
3027  #include "confdefs.h"  #include "confdefs.h"
3028  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3029  /* 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 3032  int main() { Line 3034  int main() {
3034  bfd_init()  bfd_init()
3035  ; return 0; }  ; return 0; }
3036  EOF  EOF
3037  if { (eval echo configure:3036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3038    rm -rf conftest*    rm -rf conftest*
3039    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3040  else  else
# Line 3051  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 3053  if eval "test \"`echo '$ac_cv_lib_'$ac_l
3053                  # Old binutils appear to need CONST defined to const                  # Old binutils appear to need CONST defined to const
3054                  #                  #
3055                          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
3056  echo "configure:3055: checking if need to define CONST for bfd" >&5  echo "configure:3057: checking if need to define CONST for bfd" >&5
3057                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
3058    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
3059  else  else
3060    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3061  #line 3060 "configure"  #line 3062 "configure"
3062  #include "confdefs.h"  #include "confdefs.h"
3063  #define IN_GCC  #define IN_GCC
3064                                      #include <bfd.h>                                      #include <bfd.h>
3065                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
3066  EOF  EOF
3067  if { (eval echo configure:3066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3068  then  then
3069    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3070  else  else
# Line 3073  else Line 3075  else
3075    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
3076  else  else
3077    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3078  #line 3077 "configure"  #line 3079 "configure"
3079  #include "confdefs.h"  #include "confdefs.h"
3080  #define CONST const  #define CONST const
3081                                              #define IN_GCC                                              #define IN_GCC
3082                                              #include <bfd.h>                                              #include <bfd.h>
3083                                              int main() {symbol_info t; return 0;}                                              int main() {symbol_info t; return 0;}
3084  EOF  EOF
3085  if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3086  then  then
3087    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
3088                                          cat >> confdefs.h <<\EOF                                          cat >> confdefs.h <<\EOF
# Line 3120  EOF Line 3122  EOF
3122  #  #
3123    
3124          echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6          echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6
3125  echo "configure:3124: checking for useable bfd_boolean" >&5  echo "configure:3126: checking for useable bfd_boolean" >&5
3126          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
3127    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3128  else  else
3129    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3130  #line 3129 "configure"  #line 3131 "configure"
3131  #include "confdefs.h"  #include "confdefs.h"
3132  #define IN_GCC  #define IN_GCC
3133                      #include <bfd.h>                      #include <bfd.h>
3134                      bfd_boolean foo() {return FALSE;}                      bfd_boolean foo() {return FALSE;}
3135                      int main() {return 0;}                      int main() {return 0;}
3136  EOF  EOF
3137  if { (eval echo configure:3136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3138  then  then
3139    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
3140                  cat >> confdefs.h <<\EOF                  cat >> confdefs.h <<\EOF
# Line 3219  fi Line 3221  fi
3221  # addresses, in calculating a page for an address in the heap.  # addresses, in calculating a page for an address in the heap.
3222    
3223  echo $ac_n "checking size of long""... $ac_c" 1>&6  echo $ac_n "checking size of long""... $ac_c" 1>&6
3224  echo "configure:3223: checking size of long" >&5  echo "configure:3225: checking size of long" >&5
3225  if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3226    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3227  else  else
# Line 3227  else Line 3229  else
3229    ac_cv_sizeof_long=0    ac_cv_sizeof_long=0
3230  else  else
3231    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3232  #line 3231 "configure"  #line 3233 "configure"
3233  #include "confdefs.h"  #include "confdefs.h"
3234  #include <stdio.h>  #include <stdio.h>
3235  #include <sys/types.h>  #include <sys/types.h>
# Line 3239  main() Line 3241  main()
3241    exit(0);    exit(0);
3242  }  }
3243  EOF  EOF
3244  if { (eval echo configure:3243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3245  then  then
3246    ac_cv_sizeof_long=`cat conftestval`    ac_cv_sizeof_long=`cat conftestval`
3247  else  else
# Line 3259  EOF Line 3261  EOF
3261    
3262    
3263  echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6  echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6
3264  echo "configure:3263: checking sizeof struct contblock" >&5  echo "configure:3265: checking sizeof struct contblock" >&5
3265    
3266  # work around MSYS pwd result incompatibility  # work around MSYS pwd result incompatibility
3267  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
# Line 3267  if test "$cross_compiling" = yes; then Line 3269  if test "$cross_compiling" = yes; then
3269    echo Cannot find sizeof struct contblock;exit 1    echo Cannot find sizeof struct contblock;exit 1
3270  else  else
3271    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3272  #line 3271 "configure"  #line 3273 "configure"
3273  #include "confdefs.h"  #include "confdefs.h"
3274  #include <stdio.h>  #include <stdio.h>
3275          #define EXTER          #define EXTER
# Line 3281  else Line 3283  else
3283          return 0;          return 0;
3284          }          }
3285  EOF  EOF
3286  if { (eval echo configure:3285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3287  then  then
3288    sizeof_contblock=`cat conftest1`    sizeof_contblock=`cat conftest1`
3289  else  else
# Line 3298  if test "$cross_compiling" = yes; then Line 3300  if test "$cross_compiling" = yes; then
3300    echo Cannot find sizeof struct contblock;exit 1    echo Cannot find sizeof struct contblock;exit 1
3301  else  else
3302    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3303  #line 3302 "configure"  #line 3304 "configure"
3304  #include "confdefs.h"  #include "confdefs.h"
3305  #include <stdio.h>  #include <stdio.h>
3306          #define EXTER          #define EXTER
# Line 3312  else Line 3314  else
3314          return 0;          return 0;
3315          }          }
3316  EOF  EOF
3317  if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3318  then  then
3319    sizeof_contblock=`cat conftest1`    sizeof_contblock=`cat conftest1`
3320  else  else
# Line 3337  for ac_hdr in endian.h Line 3339  for ac_hdr in endian.h
3339  do  do
3340  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3341  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3342  echo "configure:3341: checking for $ac_hdr" >&5  echo "configure:3343: checking for $ac_hdr" >&5
3343  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3344    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3345  else  else
3346    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3347  #line 3346 "configure"  #line 3348 "configure"
3348  #include "confdefs.h"  #include "confdefs.h"
3349  #include <$ac_hdr>  #include <$ac_hdr>
3350  EOF  EOF
3351  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3352  { (eval echo configure:3351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3353  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3354  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3355    rm -rf conftest*    rm -rf conftest*
# Line 3368  if eval "test \"`echo '$ac_cv_header_'$a Line 3370  if eval "test \"`echo '$ac_cv_header_'$a
3370  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
3371  EOF  EOF
3372   echo $ac_n "checking "endianness"""... $ac_c" 1>&6   echo $ac_n "checking "endianness"""... $ac_c" 1>&6
3373  echo "configure:3372: checking "endianness"" >&5  echo "configure:3374: checking "endianness"" >&5
3374          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
3375    echo "$ac_t""big" 1>&6    echo "$ac_t""big" 1>&6
3376  else  else
3377    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3378  #line 3377 "configure"  #line 3379 "configure"
3379  #include "confdefs.h"  #include "confdefs.h"
3380  #define __ARMEB__  #define __ARMEB__
3381                  #include <endian.h>                  #include <endian.h>
3382                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
3383  EOF  EOF
3384  if { (eval echo configure:3383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3385  then  then
3386    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3387  #define LITTLE_END 1  #define LITTLE_END 1
# Line 3402  done Line 3404  done
3404    
3405    
3406  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
3407  echo "configure:3406: checking "finding DBEGIN"" >&5  echo "configure:3408: checking "finding DBEGIN"" >&5
3408  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3409    dbegin=0    dbegin=0
3410  else  else
3411    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3412  #line 3411 "configure"  #line 3413 "configure"
3413  #include "confdefs.h"  #include "confdefs.h"
3414  #include <stdio.h>  #include <stdio.h>
3415              #include <stdlib.h>              #include <stdlib.h>
# Line 3424  main() Line 3426  main()
3426    return 0;    return 0;
3427  }  }
3428  EOF  EOF
3429  if { (eval echo configure:3428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3430  then  then
3431    dbegin=`cat conftest1`    dbegin=`cat conftest1`
3432  else  else
# Line 3446  echo "$ac_t""got $dbegin" 1>&6 Line 3448  echo "$ac_t""got $dbegin" 1>&6
3448    
3449    
3450  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
3451  echo "configure:3450: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:3452: checking "finding CSTACK_ADDRESS"" >&5
3452  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3453    cstack_address=0    cstack_address=0
3454  else  else
3455    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3456  #line 3455 "configure"  #line 3457 "configure"
3457  #include "confdefs.h"  #include "confdefs.h"
3458  #include <stdio.h>  #include <stdio.h>
3459  main()  main()
# Line 3463  main() Line 3465  main()
3465    return 0;    return 0;
3466  }  }
3467  EOF  EOF
3468  if { (eval echo configure:3467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3469  then  then
3470    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
3471  else  else
# Line 3485  echo "$ac_t""got $cstack_address" 1>&6 Line 3487  echo "$ac_t""got $cstack_address" 1>&6
3487    
3488    
3489  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
3490  echo "configure:3489: checking "sizeof long long int"" >&5  echo "configure:3491: checking "sizeof long long int"" >&5
3491  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3492    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3493    
3494  else  else
3495    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3496  #line 3495 "configure"  #line 3497 "configure"
3497  #include "confdefs.h"  #include "confdefs.h"
3498  #include <stdio.h>  #include <stdio.h>
3499  main()  main()
# Line 3501  main() Line 3503  main()
3503  }  }
3504    
3505  EOF  EOF
3506  if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3507  then  then
3508    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3509  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 3556  FLISP="saved_$SYSTEM" Line 3558  FLISP="saved_$SYSTEM"
3558    
3559  # pagewidth  # pagewidth
3560  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
3561  echo "configure:3560: checking for pagewidth" >&5  echo "configure:3562: checking for pagewidth" >&5
3562  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3563    PAGEWIDTH=0    PAGEWIDTH=0
3564  else  else
3565    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3566  #line 3565 "configure"  #line 3567 "configure"
3567  #include "confdefs.h"  #include "confdefs.h"
3568  #include <stdio.h>  #include <stdio.h>
3569              #include <unistd.h>              #include <unistd.h>
# Line 3571  int main() {size_t i=getpagesize(),j; Line 3573  int main() {size_t i=getpagesize(),j;
3573              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
3574              return 0;}              return 0;}
3575  EOF  EOF
3576  if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3577  then  then
3578    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
3579  else  else
# Line 3598  EOF Line 3600  EOF
3600  for ac_func in getcwd  for ac_func in getcwd
3601  do  do
3602  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3603  echo "configure:3602: checking for $ac_func" >&5  echo "configure:3604: checking for $ac_func" >&5
3604  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3605    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3606  else  else
3607    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3608  #line 3607 "configure"  #line 3609 "configure"
3609  #include "confdefs.h"  #include "confdefs.h"
3610  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3611      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 3626  $ac_func(); Line 3628  $ac_func();
3628    
3629  ; return 0; }  ; return 0; }
3630  EOF  EOF
3631  if { (eval echo configure:3630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3632    rm -rf conftest*    rm -rf conftest*
3633    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
3634  else  else
# Line 3653  done Line 3655  done
3655  for ac_func in getwd  for ac_func in getwd
3656  do  do
3657  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3658  echo "configure:3657: checking for $ac_func" >&5  echo "configure:3659: checking for $ac_func" >&5
3659  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3660    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3661  else  else
3662    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3663  #line 3662 "configure"  #line 3664 "configure"
3664  #include "confdefs.h"  #include "confdefs.h"
3665  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3666      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 3681  $ac_func(); Line 3683  $ac_func();
3683    
3684  ; return 0; }  ; return 0; }
3685  EOF  EOF
3686  if { (eval echo configure:3685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3687    rm -rf conftest*    rm -rf conftest*
3688    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
3689  else  else
# Line 3706  fi Line 3708  fi
3708  done  done
3709    
3710  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
3711  echo "configure:3710: checking for uname" >&5  echo "configure:3712: checking for uname" >&5
3712  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
3713    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3714  else  else
3715    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3716  #line 3715 "configure"  #line 3717 "configure"
3717  #include "confdefs.h"  #include "confdefs.h"
3718  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3719      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 3734  uname(); Line 3736  uname();
3736    
3737  ; return 0; }  ; return 0; }
3738  EOF  EOF
3739  if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3740    rm -rf conftest*    rm -rf conftest*
3741    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
3742  else  else
# Line 3758  EOF Line 3760  EOF
3760  fi  fi
3761    
3762  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
3763  echo "configure:3762: checking for gettimeofday" >&5  echo "configure:3764: checking for gettimeofday" >&5
3764  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
3765    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3766  else  else
3767    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3768  #line 3767 "configure"  #line 3769 "configure"
3769  #include "confdefs.h"  #include "confdefs.h"
3770  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3771      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 3786  gettimeofday(); Line 3788  gettimeofday();
3788    
3789  ; return 0; }  ; return 0; }
3790  EOF  EOF
3791  if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3792    rm -rf conftest*    rm -rf conftest*
3793    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
3794  else  else
# Line 3815  for ac_hdr in sys/ioctl.h Line 3817  for ac_hdr in sys/ioctl.h
3817  do  do
3818  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3819  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3820  echo "configure:3819: checking for $ac_hdr" >&5  echo "configure:3821: checking for $ac_hdr" >&5
3821  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3822    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3823  else  else
3824    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3825  #line 3824 "configure"  #line 3826 "configure"
3826  #include "confdefs.h"  #include "confdefs.h"
3827  #include <$ac_hdr>  #include <$ac_hdr>
3828  EOF  EOF
3829  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3830  { (eval echo configure:3829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3831  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3832  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3833    rm -rf conftest*    rm -rf conftest*
# Line 3865  done Line 3867  done
3867  #--------------------------------------------------------------------  #--------------------------------------------------------------------
3868    
3869  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
3870  echo "configure:3869: checking for BSDgettimeofday" >&5  echo "configure:3871: checking for BSDgettimeofday" >&5
3871  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
3872    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3873  else  else
3874    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3875  #line 3874 "configure"  #line 3876 "configure"
3876  #include "confdefs.h"  #include "confdefs.h"
3877  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3878      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 3893  BSDgettimeofday(); Line 3895  BSDgettimeofday();
3895    
3896  ; return 0; }  ; return 0; }
3897  EOF  EOF
3898  if { (eval echo configure:3897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3899    rm -rf conftest*    rm -rf conftest*
3900    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
3901  else  else
# Line 3914  EOF Line 3916  EOF
3916  else  else
3917    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3918  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
3919  echo "configure:3918: checking for gettimeofday" >&5  echo "configure:3920: checking for gettimeofday" >&5
3920  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
3921    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3922  else  else
3923    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3924  #line 3923 "configure"  #line 3925 "configure"
3925  #include "confdefs.h"  #include "confdefs.h"
3926  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3927      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 3942  gettimeofday(); Line 3944  gettimeofday();
3944    
3945  ; return 0; }  ; return 0; }
3946  EOF  EOF
3947  if { (eval echo configure:3946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3948    rm -rf conftest*    rm -rf conftest*
3949    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
3950  else  else
# Line 3969  fi Line 3971  fi
3971    
3972    
3973  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
3974  echo "configure:3973: checking for gettimeofday declaration" >&5  echo "configure:3975: checking for gettimeofday declaration" >&5
3975    
3976  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3977  #line 3976 "configure"  #line 3978 "configure"
3978  #include "confdefs.h"  #include "confdefs.h"
3979  #include <sys/time.h>  #include <sys/time.h>
3980  EOF  EOF
# Line 3993  rm -f conftest* Line 3995  rm -f conftest*
3995    
3996    
3997  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
3998  echo "configure:3997: checking for sin in -lm" >&5  echo "configure:3999: checking for sin in -lm" >&5
3999  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4000  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
4001    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4001  else Line 4003  else
4003    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4004  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
4005  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4006  #line 4005 "configure"  #line 4007 "configure"
4007  #include "confdefs.h"  #include "confdefs.h"
4008  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4009  /* 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 4012  int main() { Line 4014  int main() {
4014  sin()  sin()
4015  ; return 0; }  ; return 0; }
4016  EOF  EOF
4017  if { (eval echo configure:4016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4018    rm -rf conftest*    rm -rf conftest*
4019    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4020  else  else
# Line 4034  true Line 4036  true
4036  fi  fi
4037    
4038  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
4039  echo "configure:4038: checking for main in -lmingwex" >&5  echo "configure:4040: checking for main in -lmingwex" >&5
4040  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
4041  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
4042    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4042  else Line 4044  else
4044    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4045  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
4046  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4047  #line 4046 "configure"  #line 4048 "configure"
4048  #include "confdefs.h"  #include "confdefs.h"
4049    
4050  int main() {  int main() {
4051  main()  main()
4052  ; return 0; }  ; return 0; }
4053  EOF  EOF
4054  if { (eval echo configure:4053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4055    rm -rf conftest*    rm -rf conftest*
4056    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4057  else  else
# Line 4077  if test "$try_japi" = "yes" ; then Line 4079  if test "$try_japi" = "yes" ; then
4079  do  do
4080  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4081  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4082  echo "configure:4081: checking for $ac_hdr" >&5  echo "configure:4083: checking for $ac_hdr" >&5
4083  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4084    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4085  else  else
4086    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4087  #line 4086 "configure"  #line 4088 "configure"
4088  #include "confdefs.h"  #include "confdefs.h"
4089  #include <$ac_hdr>  #include <$ac_hdr>
4090  EOF  EOF
4091  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4092  { (eval echo configure:4091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4093  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4094  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4095    rm -rf conftest*    rm -rf conftest*
# Line 4125  if test "$use" = "mingw" ; then Line 4127  if test "$use" = "mingw" ; then
4127  do  do
4128  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4129  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4130  echo "configure:4129: checking for $ac_hdr" >&5  echo "configure:4131: checking for $ac_hdr" >&5
4131  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4132    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4133  else  else
4134    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4135  #line 4134 "configure"  #line 4136 "configure"
4136  #include "confdefs.h"  #include "confdefs.h"
4137  #include <$ac_hdr>  #include <$ac_hdr>
4138  EOF  EOF
4139  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4140  { (eval echo configure:4139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4141  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4142  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4143    rm -rf conftest*    rm -rf conftest*
# Line 4172  else Line 4174  else
4174  do  do
4175  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4176  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4177  echo "configure:4176: checking for $ac_hdr" >&5  echo "configure:4178: checking for $ac_hdr" >&5
4178  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4179    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4180  else  else
4181    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4182  #line 4181 "configure"  #line 4183 "configure"
4183  #include "confdefs.h"  #include "confdefs.h"
4184  #include <$ac_hdr>  #include <$ac_hdr>
4185  EOF  EOF
4186  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4187  { (eval echo configure:4186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4188  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4189  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4190    rm -rf conftest*    rm -rf conftest*
# Line 4222  for ac_hdr in math.h Line 4224  for ac_hdr in math.h
4224  do  do
4225  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4226  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4227  echo "configure:4226: checking for $ac_hdr" >&5  echo "configure:4228: checking for $ac_hdr" >&5
4228  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4229    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4230  else  else
4231    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4232  #line 4231 "configure"  #line 4233 "configure"
4233  #include "confdefs.h"  #include "confdefs.h"
4234  #include <$ac_hdr>  #include <$ac_hdr>
4235  EOF  EOF
4236  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4237  { (eval echo configure:4236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4238  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4239  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4240    rm -rf conftest*    rm -rf conftest*
# Line 4269  for ac_hdr in values.h Line 4271  for ac_hdr in values.h
4271  do  do
4272  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4273  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4274  echo "configure:4273: checking for $ac_hdr" >&5  echo "configure:4275: checking for $ac_hdr" >&5
4275  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4276    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4277  else  else
4278    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4279  #line 4278 "configure"  #line 4280 "configure"
4280  #include "confdefs.h"  #include "confdefs.h"
4281  #include <$ac_hdr>  #include <$ac_hdr>
4282  EOF  EOF
4283  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4284  { (eval echo configure:4283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4285  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4286  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4287    rm -rf conftest*    rm -rf conftest*
# Line 4316  for ac_hdr in float.h Line 4318  for ac_hdr in float.h
4318  do  do
4319  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4320  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4321  echo "configure:4320: checking for $ac_hdr" >&5  echo "configure:4322: checking for $ac_hdr" >&5
4322  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4323    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4324  else  else
4325    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4326  #line 4325 "configure"  #line 4327 "configure"
4327  #include "confdefs.h"  #include "confdefs.h"
4328  #include <$ac_hdr>  #include <$ac_hdr>
4329  EOF  EOF
4330  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4331  { (eval echo configure:4330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4332  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4333  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4334    rm -rf conftest*    rm -rf conftest*
# Line 4362  done Line 4364  done
4364  # test makes sense.  CM  # test makes sense.  CM
4365  #  #
4366  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
4367  echo "configure:4366: checking for isnormal" >&5  echo "configure:4368: checking for isnormal" >&5
4368  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4369    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
4370  else  else
4371    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4372  #line 4371 "configure"  #line 4373 "configure"
4373  #include "confdefs.h"  #include "confdefs.h"
4374  #define _GNU_SOURCE  #define _GNU_SOURCE
4375              #include <math.h>              #include <math.h>
# Line 4376  else Line 4378  else
4378                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
4379                  }                  }
4380  EOF  EOF
4381  if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4382  then  then
4383    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4384  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 4387  else Line 4389  else
4389    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
4390    rm -fr conftest*    rm -fr conftest*
4391    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
4392  echo "configure:4391: checking for fpclass in ieeefp.h" >&5  echo "configure:4393: checking for fpclass in ieeefp.h" >&5
4393                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
4394    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
4395  else  else
4396    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4397  #line 4396 "configure"  #line 4398 "configure"
4398  #include "confdefs.h"  #include "confdefs.h"
4399  #include <ieeefp.h>  #include <ieeefp.h>
4400                              int main() {                              int main() {
# Line 4400  else Line 4402  else
4402                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
4403                                  }                                  }
4404  EOF  EOF
4405  if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4406  then  then
4407    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4408  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 4422  fi Line 4424  fi
4424    
4425    
4426  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
4427  echo "configure:4426: checking for isfinite" >&5  echo "configure:4428: checking for isfinite" >&5
4428  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4429    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
4430  else  else
4431    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4432  #line 4431 "configure"  #line 4433 "configure"
4433  #include "confdefs.h"  #include "confdefs.h"
4434  #define _GNU_SOURCE  #define _GNU_SOURCE
4435              #include <math.h>              #include <math.h>
# Line 4436  else Line 4438  else
4438                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
4439                  }                  }
4440  EOF  EOF
4441  if { (eval echo configure:4440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4442  then  then
4443    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4444  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 4447  else Line 4449  else
4449    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
4450    rm -fr conftest*    rm -fr conftest*
4451    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
4452  echo "configure:4451: checking for finite()" >&5  echo "configure:4453: checking for finite()" >&5
4453                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
4454    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
4455  else  else
4456    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4457  #line 4456 "configure"  #line 4458 "configure"
4458  #include "confdefs.h"  #include "confdefs.h"
4459  #include <math.h>  #include <math.h>
4460                              #include <ieeefp.h>                              #include <ieeefp.h>
# Line 4461  else Line 4463  else
4463                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
4464                                  }                                  }
4465  EOF  EOF
4466  if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4467  then  then
4468    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4469  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 4502  fi Line 4504  fi
4504  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
4505  #--------------------------------------------------------------------  #--------------------------------------------------------------------
4506  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
4507  echo "configure:4506: checking for sockets" >&5  echo "configure:4508: checking for sockets" >&5
4508  tcl_checkBoth=0  tcl_checkBoth=0
4509  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
4510  echo "configure:4509: checking for connect" >&5  echo "configure:4511: checking for connect" >&5
4511  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
4512    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4513  else  else
4514    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4515  #line 4514 "configure"  #line 4516 "configure"
4516  #include "confdefs.h"  #include "confdefs.h"
4517  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4518      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 4533  connect(); Line 4535  connect();
4535    
4536  ; return 0; }  ; return 0; }
4537  EOF  EOF
4538  if { (eval echo configure:4537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4539    rm -rf conftest*    rm -rf conftest*
4540    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
4541  else  else
# Line 4555  fi Line 4557  fi
4557    
4558  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
4559      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
4560  echo "configure:4559: checking for main in -lsocket" >&5  echo "configure:4561: checking for main in -lsocket" >&5
4561  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
4562  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
4563    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4563  else Line 4565  else
4565    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4566  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
4567  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4568  #line 4567 "configure"  #line 4569 "configure"
4569  #include "confdefs.h"  #include "confdefs.h"
4570    
4571  int main() {  int main() {
4572  main()  main()
4573  ; return 0; }  ; return 0; }
4574  EOF  EOF
4575  if { (eval echo configure:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4576    rm -rf conftest*    rm -rf conftest*
4577    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4578  else  else
# Line 4598  if test "$tcl_checkBoth" = 1; then Line 4600  if test "$tcl_checkBoth" = 1; then
4600      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
4601      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
4602      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
4603  echo "configure:4602: checking for accept" >&5  echo "configure:4604: checking for accept" >&5
4604  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
4605    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4606  else  else
4607    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4608  #line 4607 "configure"  #line 4609 "configure"
4609  #include "confdefs.h"  #include "confdefs.h"
4610  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4611      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 4626  accept(); Line 4628  accept();
4628    
4629  ; return 0; }  ; return 0; }
4630  EOF  EOF
4631  if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4632    rm -rf conftest*    rm -rf conftest*
4633    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
4634  else  else
# Line 4648  fi Line 4650  fi
4650    
4651  fi  fi
4652  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4653  echo "configure:4652: checking for gethostbyname" >&5  echo "configure:4654: checking for gethostbyname" >&5
4654  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
4655    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4656  else  else
4657    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4658  #line 4657 "configure"  #line 4659 "configure"
4659  #include "confdefs.h"  #include "confdefs.h"
4660  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4661      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 4676  gethostbyname(); Line 4678  gethostbyname();
4678    
4679  ; return 0; }  ; return 0; }
4680  EOF  EOF
4681  if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4682    rm -rf conftest*    rm -rf conftest*
4683    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
4684  else  else
# Line 4694  if eval "test \"`echo '$ac_cv_func_'geth Line 4696  if eval "test \"`echo '$ac_cv_func_'geth
4696  else  else
4697    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4698  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
4699  echo "configure:4698: checking for main in -lnsl" >&5  echo "configure:4700: checking for main in -lnsl" >&5
4700  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
4701  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
4702    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4702  else Line 4704  else
4704    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4705  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
4706  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4707  #line 4706 "configure"  #line 4708 "configure"
4708  #include "confdefs.h"  #include "confdefs.h"
4709    
4710  int main() {  int main() {
4711  main()  main()
4712  ; return 0; }  ; return 0; }
4713  EOF  EOF
4714  if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4715    rm -rf conftest*    rm -rf conftest*
4716    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4717  else  else
# Line 4737  if test "$enable_readline" = "yes" ; the Line 4739  if test "$enable_readline" = "yes" ; the
4739  do  do
4740  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4741  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4742  echo "configure:4741: checking for $ac_hdr" >&5  echo "configure:4743: checking for $ac_hdr" >&5
4743  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4744    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4745  else  else
4746    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4747  #line 4746 "configure"  #line 4748 "configure"
4748  #include "confdefs.h"  #include "confdefs.h"
4749  #include <$ac_hdr>  #include <$ac_hdr>
4750  EOF  EOF
4751  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4752  { (eval echo configure:4751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4753  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4754  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4755    rm -rf conftest*    rm -rf conftest*
# Line 4768  if eval "test \"`echo '$ac_cv_header_'$a Line 4770  if eval "test \"`echo '$ac_cv_header_'$a
4770  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
4771  EOF  EOF
4772   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
4773  echo "configure:4772: checking for main in -lreadline" >&5  echo "configure:4774: checking for main in -lreadline" >&5
4774  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
4775  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
4776    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4776  else Line 4778  else
4778    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4779  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
4780  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4781  #line 4780 "configure"  #line 4782 "configure"
4782  #include "confdefs.h"  #include "confdefs.h"
4783    
4784  int main() {  int main() {
4785  main()  main()
4786  ; return 0; }  ; return 0; }
4787  EOF  EOF
4788  if { (eval echo configure:4787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4789    rm -rf conftest*    rm -rf conftest*
4790    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4791  else  else
# Line 4820  fi Line 4822  fi
4822    
4823    
4824  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
4825  echo "configure:4824: checking For network code for nsocket.c" >&5  echo "configure:4826: checking For network code for nsocket.c" >&5
4826  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4827  #line 4826 "configure"  #line 4828 "configure"
4828  #include "confdefs.h"  #include "confdefs.h"
4829    
4830  #include <sys/time.h>  #include <sys/time.h>
# Line 4849  int main() { Line 4851  int main() {
4851                    
4852  ; return 0; }  ; return 0; }
4853  EOF  EOF
4854  if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4855    rm -rf conftest*    rm -rf conftest*
4856    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4857  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 4866  rm -f conftest* Line 4868  rm -f conftest*
4868    
4869    
4870  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
4871  echo "configure:4870: checking check for listen using fcntl" >&5  echo "configure:4872: checking check for listen using fcntl" >&5
4872  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4873  #line 4872 "configure"  #line 4874 "configure"
4874  #include "confdefs.h"  #include "confdefs.h"
4875  #include <stdio.h>  #include <stdio.h>
4876  #include <fcntl.h>  #include <fcntl.h>
# Line 4881  FILE *fp=fopen("configure.in","r"); Line 4883  FILE *fp=fopen("configure.in","r");
4883    
4884  ; return 0; }  ; return 0; }
4885  EOF  EOF
4886  if { (eval echo configure:4885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4887    rm -rf conftest*    rm -rf conftest*
4888    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4889  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 4900  rm -f conftest* Line 4902  rm -f conftest*
4902    
4903    
4904  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
4905  echo "configure:4904: checking for profil" >&5  echo "configure:4906: checking for profil" >&5
4906  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
4907    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4908  else  else
4909    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4910  #line 4909 "configure"  #line 4911 "configure"
4911  #include "confdefs.h"  #include "confdefs.h"
4912  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4913      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 4928  profil(); Line 4930  profil();
4930    
4931  ; return 0; }  ; return 0; }
4932  EOF  EOF
4933  if { (eval echo configure:4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4934    rm -rf conftest*    rm -rf conftest*
4935    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
4936  else  else
# Line 4953  fi Line 4955  fi
4955    
4956    
4957  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
4958  echo "configure:4957: checking for setenv" >&5  echo "configure:4959: checking for setenv" >&5
4959  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
4960    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4961  else  else
4962    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4963  #line 4962 "configure"  #line 4964 "configure"
4964  #include "confdefs.h"  #include "confdefs.h"
4965  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4966      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 4981  setenv(); Line 4983  setenv();
4983    
4984  ; return 0; }  ; return 0; }
4985  EOF  EOF
4986  if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4987    rm -rf conftest*    rm -rf conftest*
4988    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
4989  else  else
# Line 5007  fi Line 5009  fi
5009    
5010  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
5011  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
5012  echo "configure:5011: checking for putenv" >&5  echo "configure:5013: checking for putenv" >&5
5013  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
5014    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5015  else  else
5016    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5017  #line 5016 "configure"  #line 5018 "configure"
5018  #include "confdefs.h"  #include "confdefs.h"
5019  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5020      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 5035  putenv(); Line 5037  putenv();
5037    
5038  ; return 0; }  ; return 0; }
5039  EOF  EOF
5040  if { (eval echo configure:5039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5041    rm -rf conftest*    rm -rf conftest*
5042    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
5043  else  else
# Line 5061  fi Line 5063  fi
5063  fi  fi
5064    
5065  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
5066  echo "configure:5065: checking for _cleanup" >&5  echo "configure:5067: checking for _cleanup" >&5
5067  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
5068    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5069  else  else
5070    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5071  #line 5070 "configure"  #line 5072 "configure"
5072  #include "confdefs.h"  #include "confdefs.h"
5073  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5074      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 5089  _cleanup(); Line 5091  _cleanup();
5091    
5092  ; return 0; }  ; return 0; }
5093  EOF  EOF
5094  if { (eval echo configure:5093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5095    rm -rf conftest*    rm -rf conftest*
5096    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
5097  else  else
# Line 5115  fi Line 5117  fi
5117  gcl_ok=no  gcl_ok=no
5118    
5119  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5120  #line 5119 "configure"  #line 5121 "configure"
5121  #include "confdefs.h"  #include "confdefs.h"
5122  #include <ctype.h>  #include <ctype.h>
5123  EOF  EOF
# Line 5143  fi Line 5145  fi
5145    
5146  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
5147  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
5148  echo "configure:5147: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:5149: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
5149    
5150  case $system in  case $system in
5151         OSF*)         OSF*)
# Line 5174  esac Line 5176  esac
5176    
5177    
5178  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
5179  echo "configure:5178: checking check for SV_ONSTACK" >&5  echo "configure:5180: checking check for SV_ONSTACK" >&5
5180  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5181  #line 5180 "configure"  #line 5182 "configure"
5182  #include "confdefs.h"  #include "confdefs.h"
5183  #include <signal.h>  #include <signal.h>
5184  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 5185  int main() { Line 5187  int main() {
5187    
5188  ; return 0; }  ; return 0; }
5189  EOF  EOF
5190  if { (eval echo configure:5189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5191    rm -rf conftest*    rm -rf conftest*
5192    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5193  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 5202  fi Line 5204  fi
5204  rm -f conftest*  rm -f conftest*
5205    
5206  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
5207  echo "configure:5206: checking check for SIGSYS" >&5  echo "configure:5208: checking check for SIGSYS" >&5
5208  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5209  #line 5208 "configure"  #line 5210 "configure"
5210  #include "confdefs.h"  #include "confdefs.h"
5211  #include <signal.h>  #include <signal.h>
5212  int joe=SIGSYS;  int joe=SIGSYS;
# Line 5213  int main() { Line 5215  int main() {
5215    
5216  ; return 0; }  ; return 0; }
5217  EOF  EOF
5218  if { (eval echo configure:5217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5219    rm -rf conftest*    rm -rf conftest*
5220    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5221  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 5231  rm -f conftest* Line 5233  rm -f conftest*
5233    
5234    
5235  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
5236  echo "configure:5235: checking check for SIGEMT" >&5  echo "configure:5237: checking check for SIGEMT" >&5
5237  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5238  #line 5237 "configure"  #line 5239 "configure"
5239  #include "confdefs.h"  #include "confdefs.h"
5240  #include <signal.h>  #include <signal.h>
5241  int joe=SIGEMT;  int joe=SIGEMT;
# Line 5242  int main() { Line 5244  int main() {
5244    
5245  ; return 0; }  ; return 0; }
5246  EOF  EOF
5247  if { (eval echo configure:5246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5248    rm -rf conftest*    rm -rf conftest*
5249    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5250  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 5266  rm -f conftest* Line 5268  rm -f conftest*
5268  do  do
5269  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5270  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5271  echo "configure:5270: checking for $ac_hdr" >&5  echo "configure:5272: checking for $ac_hdr" >&5
5272  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5273    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5274  else  else
5275    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5276  #line 5275 "configure"  #line 5277 "configure"
5277  #include "confdefs.h"  #include "confdefs.h"
5278  #include <$ac_hdr>  #include <$ac_hdr>
5279  EOF  EOF
5280  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5281  { (eval echo configure:5280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5282  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5283  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5284    rm -rf conftest*    rm -rf conftest*
# Line 5306  done Line 5308  done
5308  do  do
5309  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5310  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5311  echo "configure:5310: checking for $ac_hdr" >&5  echo "configure:5312: checking for $ac_hdr" >&5
5312  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5313    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5314  else  else
5315    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5316  #line 5315 "configure"  #line 5317 "configure"
5317  #include "confdefs.h"  #include "confdefs.h"
5318  #include <$ac_hdr>  #include <$ac_hdr>
5319  EOF  EOF
5320  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5321  { (eval echo configure:5320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5322  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5323  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5324    rm -rf conftest*    rm -rf conftest*
# Line 5343  fi Line 5345  fi
5345  done  done
5346    
5347          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
5348  #line 5347 "configure"  #line 5349 "configure"
5349  #include "confdefs.h"  #include "confdefs.h"
5350  #include <signal.h>  #include <signal.h>
5351                          long code;                            long code;  
# Line 5354  int main() { Line 5356  int main() {
5356                
5357  ; return 0; }  ; return 0; }
5358  EOF  EOF
5359  if { (eval echo configure:5358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5360    rm -rf conftest*    rm -rf conftest*
5361        
5362          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 5375  fi Line 5377  fi
5377  rm -f conftest*  rm -f conftest*
5378         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
5379         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
5380  #line 5379 "configure"  #line 5381 "configure"
5381  #include "confdefs.h"  #include "confdefs.h"
5382  #include <signal.h>  #include <signal.h>
5383               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 5392  int main() { Line 5394  int main() {
5394                    
5395  ; return 0; }  ; return 0; }
5396  EOF  EOF
5397  if { (eval echo configure:5396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5398    rm -rf conftest*    rm -rf conftest*
5399        
5400          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 5435  rm -f conftest* Line 5437  rm -f conftest*
5437  # 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.
5438  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
5439  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5440  echo "configure:5439: checking for $ac_word" >&5  echo "configure:5441: checking for $ac_word" >&5
5441  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
5442    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5443  else  else
# Line 5483  cat >> conftest.el <<EOF Line 5485  cat >> conftest.el <<EOF
5485  EOF  EOF
5486    
5487  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
5488  echo "configure:5487: checking emacs site lisp directory" >&5  echo "configure:5489: checking emacs site lisp directory" >&5
5489  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then
5490          if [ "$EMACS" != "" ] ; then          if [ "$EMACS" != "" ] ; then
5491                  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 5507  cat >> conftest.el <<EOF Line 5509  cat >> conftest.el <<EOF
5509  EOF  EOF
5510    
5511  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
5512  echo "configure:5511: checking emacs default.el" >&5  echo "configure:5513: checking emacs default.el" >&5
5513  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
5514          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 `
5515  else  else
5516          EMACS_DEFAULT_EL=""          EMACS_DEFAULT_EL=""
5517  fi  fi
5518  if  test -f "${EMACS_DEFAULT_EL}"  ; then true;else  if  test -f "${EMACS_DEFAULT_EL}"  ; then true;else
5519    if test -d "$EMACS_SITE_LISP" ; then    if test -d $EMACS_SITE_LISP ; then
5520       EMACS_DEFAULT_EL=${EMACS_SITE_LISP}/default.el       EMACS_DEFAULT_EL=${EMACS_SITE_LISP}/default.el
5521    fi    fi
5522  fi  fi
# Line 5536  cat >> conftest.el <<EOF Line 5538  cat >> conftest.el <<EOF
5538  EOF  EOF
5539    
5540  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
5541  echo "configure:5540: checking emacs info/dir" >&5  echo "configure:5542: checking emacs info/dir" >&5
5542  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
5543      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/
5544  else  else
# Line 5545  else Line 5547  else
5547      fi      fi
5548  fi  fi
5549  if  test -f "${INFO_DIR}dir"  ; then true;else  if  test -f "${INFO_DIR}dir"  ; then true;else
5550  if test -f /usr/info/dir ; then  if test -f /usr/share/info/dir ; then
5551    INFO_DIR=/usr/share/info/    INFO_DIR=/usr/share/info/
5552  else true;  else true;
5553  fi  fi
# Line 5554  echo "$ac_t""$INFO_DIR" 1>&6 Line 5556  echo "$ac_t""$INFO_DIR" 1>&6
5556    
5557    
5558  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
5559  echo "configure:5558: checking for tcl/tk" >&5  echo "configure:5560: checking for tcl/tk" >&5
5560    
5561    
5562  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 5577  EOF Line 5579  EOF
5579  # 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.
5580  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
5581  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5582  echo "configure:5581: checking for $ac_word" >&5  echo "configure:5583: checking for $ac_word" >&5
5583  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
5584    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5585  else  else
# Line 5677  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 5679  if test -f ${TCL_CONFIG_PREFIX}/../inclu
5679    fi    fi
5680  fi  fi
5681  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
5682  echo "configure:5681: checking for main in -llieee" >&5  echo "configure:5683: checking for main in -llieee" >&5
5683  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
5684  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
5685    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5685  else Line 5687  else
5687    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5688  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
5689  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5690  #line 5689 "configure"  #line 5691 "configure"
5691  #include "confdefs.h"  #include "confdefs.h"
5692    
5693  int main() {  int main() {
5694  main()  main()
5695  ; return 0; }  ; return 0; }
5696  EOF  EOF
5697  if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5698    rm -rf conftest*    rm -rf conftest*
5699    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5700  else  else
# Line 5757  NOTIFY=$enable_notify Line 5759  NOTIFY=$enable_notify
5759  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
5760    
5761  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
5762  echo "configure:5761: checking alloca" >&5  echo "configure:5763: checking alloca" >&5
5763  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5764    gcl_ok=no    gcl_ok=no
5765  else  else
5766    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5767  #line 5766 "configure"  #line 5768 "configure"
5768  #include "confdefs.h"  #include "confdefs.h"
5769  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
5770  EOF  EOF
5771  if { (eval echo configure:5770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5772  then  then
5773    :    :
5774  else  else
# Line 5789  else Line 5791  else
5791    gcl_ok=no    gcl_ok=no
5792  else  else
5793    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5794  #line 5793 "configure"  #line 5795 "configure"
5795  #include "confdefs.h"  #include "confdefs.h"
5796  #include <alloca.h>  #include <alloca.h>
5797    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
5798  EOF  EOF
5799  if { (eval echo configure:5798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5800  then  then
5801    :    :
5802  else  else
# Line 5855  if test $gcl_ok = no ; then     echo "$a Line 5857  if test $gcl_ok = no ; then     echo "$a
5857  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
5858  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
5859  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
5860  echo "configure:5859: checking Checking for buggy gcc version from redhat" >&5  echo "configure:5861: checking Checking for buggy gcc version from redhat" >&5
5861  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
5862     then     then
5863          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

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

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