/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.167 by camm, Thu Nov 25 00:03:27 2004 UTC revision 1.168 by camm, Sat Apr 9 13:59:22 2005 UTC
# Line 1036  case $use in Line 1036  case $use in
1036          case $use in          case $use in
1037                  alpha*)                  alpha*)
1038                          def_dlopen="yes" ; def_statsysbfd="no" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ;;
1039                  mips*)  # MIPS bfd support added 20050407  CM
1040                          def_dlopen="yes" ; def_statsysbfd="no" ;;  #               mips*)
1041    #                       def_dlopen="yes" ; def_statsysbfd="no" ;;
1042  # def_static -- Function descriptors are currently realized at runtime in a non-reproducible fashion  # def_static -- Function descriptors are currently realized at runtime in a non-reproducible fashion
1043  # on these architectures -- CM                    # on these architectures -- CM                  
1044                  ia64*)                  ia64*)
# Line 1206  fi Line 1207  fi
1207  # 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.
1208  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1209  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1210  echo "configure:1210: checking for $ac_word" >&5  echo "configure:1211: checking for $ac_word" >&5
1211  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1212    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1213  else  else
# Line 1236  if test -z "$CC"; then Line 1237  if test -z "$CC"; then
1237    # 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.
1238  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1239  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1240  echo "configure:1240: checking for $ac_word" >&5  echo "configure:1241: checking for $ac_word" >&5
1241  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1242    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1243  else  else
# Line 1287  fi Line 1288  fi
1288        # 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.
1289  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
1290  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1291  echo "configure:1291: checking for $ac_word" >&5  echo "configure:1292: checking for $ac_word" >&5
1292  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1293    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1294  else  else
# Line 1319  fi Line 1320  fi
1320  fi  fi
1321    
1322  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
1323  echo "configure:1323: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1324: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1324    
1325  ac_ext=c  ac_ext=c
1326  # 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 1330  cross_compiling=$ac_cv_prog_cc_cross Line 1331  cross_compiling=$ac_cv_prog_cc_cross
1331    
1332  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
1333    
1334  #line 1334 "configure"  #line 1335 "configure"
1335  #include "confdefs.h"  #include "confdefs.h"
1336    
1337  main(){return(0);}  main(){return(0);}
1338  EOF  EOF
1339  if { (eval echo configure:1339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1340    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
1341    # 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.
1342    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 1361  if test $ac_cv_prog_cc_works = no; then Line 1362  if test $ac_cv_prog_cc_works = no; then
1362    { 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; }
1363  fi  fi
1364  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
1365  echo "configure:1365: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1366: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1366  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1367  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1368    
1369  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
1370  echo "configure:1370: checking whether we are using GNU C" >&5  echo "configure:1371: checking whether we are using GNU C" >&5
1371  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1372    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1373  else  else
# Line 1375  else Line 1376  else
1376    yes;    yes;
1377  #endif  #endif
1378  EOF  EOF
1379  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1379: \"$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:1380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1380    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
1381  else  else
1382    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 1394  ac_test_CFLAGS="${CFLAGS+set}" Line 1395  ac_test_CFLAGS="${CFLAGS+set}"
1395  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
1396  CFLAGS=  CFLAGS=
1397  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
1398  echo "configure:1398: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1399: checking whether ${CC-cc} accepts -g" >&5
1399  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1400    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1401  else  else
# Line 1426  else Line 1427  else
1427  fi  fi
1428    
1429  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
1430  echo "configure:1430: checking how to run the C preprocessor" >&5  echo "configure:1431: checking how to run the C preprocessor" >&5
1431  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1432  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1433    CPP=    CPP=
# Line 1441  else Line 1442  else
1442    # 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,
1443    # not just through cpp.    # not just through cpp.
1444    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1445  #line 1445 "configure"  #line 1446 "configure"
1446  #include "confdefs.h"  #include "confdefs.h"
1447  #include <assert.h>  #include <assert.h>
1448  Syntax Error  Syntax Error
1449  EOF  EOF
1450  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1451  { (eval echo configure:1451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1452  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1453  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1454    :    :
# Line 1458  else Line 1459  else
1459    rm -rf conftest*    rm -rf conftest*
1460    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1461    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1462  #line 1462 "configure"  #line 1463 "configure"
1463  #include "confdefs.h"  #include "confdefs.h"
1464  #include <assert.h>  #include <assert.h>
1465  Syntax Error  Syntax Error
1466  EOF  EOF
1467  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1468  { (eval echo configure:1468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1469  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1470  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1471    :    :
# Line 1475  else Line 1476  else
1476    rm -rf conftest*    rm -rf conftest*
1477    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1478    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1479  #line 1479 "configure"  #line 1480 "configure"
1480  #include "confdefs.h"  #include "confdefs.h"
1481  #include <assert.h>  #include <assert.h>
1482  Syntax Error  Syntax Error
1483  EOF  EOF
1484  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1485  { (eval echo configure:1485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1486  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1487  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1488    :    :
# Line 1554  do Line 1555  do
1555  # 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.
1556  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1557  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1558  echo "configure:1558: checking for $ac_word" >&5  echo "configure:1559: checking for $ac_word" >&5
1559  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1560    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1561  else  else
# Line 1594  if test "$enable_gprof" = "yes" ; then Line 1595  if test "$enable_gprof" = "yes" ; then
1595  EOF  EOF
1596    
1597          echo $ac_n "checking for text start""... $ac_c" 1>&6          echo $ac_n "checking for text start""... $ac_c" 1>&6
1598  echo "configure:1598: checking for text start" >&5  echo "configure:1599: checking for text start" >&5
1599          echo 'int main () {return(0);}' >foo.c          echo 'int main () {return(0);}' >foo.c
1600          $CC foo.c -o foo          $CC foo.c -o foo
1601          GCL_GPROF_START=`nm foo | $AWK  '/  *T  *__*start$/ {print $NF}'`          GCL_GPROF_START=`nm foo | $AWK  '/  *T  *__*start$/ {print $NF}'`
# Line 1670  fi Line 1671  fi
1671  # there are a few systems, like Next, where this doesn't work.  # there are a few systems, like Next, where this doesn't work.
1672    
1673  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
1674  echo "configure:1674: checking system version (for dynamic loading)" >&5  echo "configure:1675: checking system version (for dynamic loading)" >&5
1675  if machine=`uname -m` ; then true; else machine=unknown ; fi  if machine=`uname -m` ; then true; else machine=unknown ; fi
1676    
1677  for ac_prog in makeinfo  for ac_prog in makeinfo
# Line 1678  do Line 1679  do
1679  # 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.
1680  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1681  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1682  echo "configure:1682: checking for $ac_word" >&5  echo "configure:1683: checking for $ac_word" >&5
1683  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1684    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1685  else  else
# Line 1735  fi Line 1736  fi
1736    
1737  ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'`  ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'`
1738  echo $ac_n "checking for unistd.h""... $ac_c" 1>&6  echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
1739  echo "configure:1739: checking for unistd.h" >&5  echo "configure:1740: checking for unistd.h" >&5
1740  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1741    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1742  else  else
1743    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1744  #line 1744 "configure"  #line 1745 "configure"
1745  #include "confdefs.h"  #include "confdefs.h"
1746  #include <unistd.h>  #include <unistd.h>
1747  EOF  EOF
1748  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1749  { (eval echo configure:1749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1750  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1751  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1752    rm -rf conftest*    rm -rf conftest*
# Line 1762  fi Line 1763  fi
1763  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1764    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1765    echo $ac_n "checking for sysconf in -lc""... $ac_c" 1>&6    echo $ac_n "checking for sysconf in -lc""... $ac_c" 1>&6
1766  echo "configure:1766: checking for sysconf in -lc" >&5  echo "configure:1767: checking for sysconf in -lc" >&5
1767  ac_lib_var=`echo c'_'sysconf | sed 'y%./+-%__p_%'`  ac_lib_var=`echo c'_'sysconf | sed 'y%./+-%__p_%'`
1768  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
1769    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1770  else Line 1771  else
1771    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1772  LIBS="-lc  $LIBS"  LIBS="-lc  $LIBS"
1773  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1774  #line 1774 "configure"  #line 1775 "configure"
1775  #include "confdefs.h"  #include "confdefs.h"
1776  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1777  /* 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 1781  int main() { Line 1782  int main() {
1782  sysconf()  sysconf()
1783  ; return 0; }  ; return 0; }
1784  EOF  EOF
1785  if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1786    rm -rf conftest*    rm -rf conftest*
1787    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1788  else  else
# Line 1797  fi Line 1798  fi
1798  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1799    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1800    echo $ac_n "checking "for _SC_CLK_TCK"""... $ac_c" 1>&6    echo $ac_n "checking "for _SC_CLK_TCK"""... $ac_c" 1>&6
1801  echo "configure:1801: checking "for _SC_CLK_TCK"" >&5  echo "configure:1802: checking "for _SC_CLK_TCK"" >&5
1802                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
1803    hz=0    hz=0
1804  else  else
1805    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1806  #line 1806 "configure"  #line 1807 "configure"
1807  #include "confdefs.h"  #include "confdefs.h"
1808  #include <unistd.h>  #include <unistd.h>
1809                              #include <stdio.h>                              #include <stdio.h>
# Line 1814  else Line 1815  else
1815                                  return 0;                                  return 0;
1816                              }                              }
1817  EOF  EOF
1818  if { (eval echo configure:1818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1819  then  then
1820    hz=`cat conftest1`    hz=`cat conftest1`
1821                              cat >> confdefs.h <<EOF                              cat >> confdefs.h <<EOF
# Line 1858  if test $use_gmp = yes ; then Line 1859  if test $use_gmp = yes ; then
1859   if test "$enable_dynsysgmp" = "yes" ; then   if test "$enable_dynsysgmp" = "yes" ; then
1860          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
1861  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
1862  echo "configure:1862: checking for gmp.h" >&5  echo "configure:1863: checking for gmp.h" >&5
1863  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1864    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1865  else  else
1866    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1867  #line 1867 "configure"  #line 1868 "configure"
1868  #include "confdefs.h"  #include "confdefs.h"
1869  #include <gmp.h>  #include <gmp.h>
1870  EOF  EOF
1871  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1872  { (eval echo configure:1872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1873  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1874  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1875    rm -rf conftest*    rm -rf conftest*
# Line 1885  fi Line 1886  fi
1886  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1887    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1888    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
1889  echo "configure:1889: checking for __gmpz_init in -lgmp" >&5  echo "configure:1890: checking for __gmpz_init in -lgmp" >&5
1890  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
1891  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
1892    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1893  else Line 1894  else
1894    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1895  LIBS="-lgmp  $LIBS"  LIBS="-lgmp  $LIBS"
1896  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1897  #line 1897 "configure"  #line 1898 "configure"
1898  #include "confdefs.h"  #include "confdefs.h"
1899  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1900  /* 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 1904  int main() { Line 1905  int main() {
1905  __gmpz_init()  __gmpz_init()
1906  ; return 0; }  ; return 0; }
1907  EOF  EOF
1908  if { (eval echo configure:1908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1909    rm -rf conftest*    rm -rf conftest*
1910    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1911  else  else
# Line 1920  fi Line 1921  fi
1921  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1922    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1923    echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6    echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6
1924  echo "configure:1924: checking "for external gmp version"" >&5  echo "configure:1925: checking "for external gmp version"" >&5
1925                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
1926    echo "Cannot use dynamic gmp lib"    echo "Cannot use dynamic gmp lib"
1927  else  else
1928    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1929  #line 1929 "configure"  #line 1930 "configure"
1930  #include "confdefs.h"  #include "confdefs.h"
1931  #include <gmp.h>  #include <gmp.h>
1932                                      int main() {                                      int main() {
# Line 1936  else Line 1937  else
1937                                      #endif                                      #endif
1938                                      }                                      }
1939  EOF  EOF
1940  if { (eval echo configure:1940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1941  then  then
1942    #                             MPFILES=$GMPDIR/mpn/mul_n.o    #                             MPFILES=$GMPDIR/mpn/mul_n.o
1943  #                               PATCHED_SYMBOLS=__gmpn_toom3_mul_n  #                               PATCHED_SYMBOLS=__gmpn_toom3_mul_n
# Line 1983  fi Line 1984  fi
1984  if test "$NEED_LOCAL_GMP" != "" ; then                    if test "$NEED_LOCAL_GMP" != "" ; then                  
1985    
1986           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
1987  echo "configure:1987: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:1988: checking use_gmp=yes, doing configure in gmp directory" >&5
1988           echo           echo
1989           echo "#"           echo "#"
1990           echo "#"           echo "#"
# Line 2015  echo "configure:1987: checking use_gmp=y Line 2016  echo "configure:1987: checking use_gmp=y
2016  fi  fi
2017    
2018  echo $ac_n "checking "for leading underscore in object symbols"""... $ac_c" 1>&6  echo $ac_n "checking "for leading underscore in object symbols"""... $ac_c" 1>&6
2019  echo "configure:2019: checking "for leading underscore in object symbols"" >&5  echo "configure:2020: checking "for leading underscore in object symbols"" >&5
2020  cat>foo.c <<EOFF  cat>foo.c <<EOFF
2021  #include <math.h>  #include <math.h>
2022  int main() {double d=0.0;cos(d);return 0;}  int main() {double d=0.0;cos(d);return 0;}
# Line 2029  else Line 2030  else
2030          echo "$ac_t"""no"" 1>&6          echo "$ac_t"""no"" 1>&6
2031  fi  fi
2032  echo $ac_n "checking "for GNU ld option -Map"""... $ac_c" 1>&6  echo $ac_n "checking "for GNU ld option -Map"""... $ac_c" 1>&6
2033  echo "configure:2033: checking "for GNU ld option -Map"" >&5  echo "configure:2034: checking "for GNU ld option -Map"" >&5
2034  touch map  touch map
2035  $CC -o foo  -Wl,-Map  map foo.o >/dev/null 2>&1  $CC -o foo  -Wl,-Map  map foo.o >/dev/null 2>&1
2036  if test `cat map | wc -l` != "0" ; then  if test `cat map | wc -l` != "0" ; then
# Line 2046  fi Line 2047  fi
2047  rm -f foo.c foo.o foo map  rm -f foo.c foo.o foo map
2048    
2049   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
2050  echo "configure:2050: checking "for size of gmp limbs"" >&5  echo "configure:2051: checking "for size of gmp limbs"" >&5
2051   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
2052    mpsize=0    mpsize=0
2053  else  else
2054    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2055  #line 2055 "configure"  #line 2056 "configure"
2056  #include "confdefs.h"  #include "confdefs.h"
2057  #include <stdio.h>  #include <stdio.h>
2058          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 2062  else Line 2063  else
2063          return 0;          return 0;
2064          }          }
2065  EOF  EOF
2066  if { (eval echo configure:2066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2067  then  then
2068    mpsize=`cat conftest1`    mpsize=`cat conftest1`
2069  else  else
# Line 2085  EOF Line 2086  EOF
2086   echo "$ac_t""$mpsize" 1>&6   echo "$ac_t""$mpsize" 1>&6
2087    
2088   echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6   echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6
2089  echo "configure:2089: checking "_SHORT_LIMB"" >&5  echo "configure:2090: checking "_SHORT_LIMB"" >&5
2090   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
2091    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2092  else  else
2093    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2094  #line 2094 "configure"  #line 2095 "configure"
2095  #include "confdefs.h"  #include "confdefs.h"
2096  #include <stdio.h>  #include <stdio.h>
2097          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 2102  else Line 2103  else
2103          #endif          #endif
2104          }          }
2105  EOF  EOF
2106  if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2107  then  then
2108    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2109  #define __SHORT_LIMB 1  #define __SHORT_LIMB 1
# Line 2118  rm -fr conftest* Line 2119  rm -fr conftest*
2119  fi  fi
2120    
2121   echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6   echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6
2122  echo "configure:2122: checking "_LONG_LONG_LIMB"" >&5  echo "configure:2123: checking "_LONG_LONG_LIMB"" >&5
2123   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
2124    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2125  else  else
2126    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2127  #line 2127 "configure"  #line 2128 "configure"
2128  #include "confdefs.h"  #include "confdefs.h"
2129  #include <stdio.h>  #include <stdio.h>
2130          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 2135  else Line 2136  else
2136          #endif          #endif
2137          }          }
2138  EOF  EOF
2139  if { (eval echo configure:2139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2140  then  then
2141    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2142  #define __LONG_LONG_LIMB 1  #define __LONG_LONG_LIMB 1
# Line 2174  fi Line 2175  fi
2175  # 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.
2176  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
2177  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
2178  echo "configure:2178: checking for X" >&5  echo "configure:2179: checking for X" >&5
2179    
2180  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
2181  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 2236  if test "$ac_x_includes" = NO; then Line 2237  if test "$ac_x_includes" = NO; then
2237    
2238    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
2239  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2240  #line 2240 "configure"  #line 2241 "configure"
2241  #include "confdefs.h"  #include "confdefs.h"
2242  #include <$x_direct_test_include>  #include <$x_direct_test_include>
2243  EOF  EOF
2244  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2245  { (eval echo configure:2245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2246  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2247  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2248    rm -rf conftest*    rm -rf conftest*
# Line 2310  if test "$ac_x_libraries" = NO; then Line 2311  if test "$ac_x_libraries" = NO; then
2311    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2312    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
2313  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2314  #line 2314 "configure"  #line 2315 "configure"
2315  #include "confdefs.h"  #include "confdefs.h"
2316    
2317  int main() {  int main() {
2318  ${x_direct_test_function}()  ${x_direct_test_function}()
2319  ; return 0; }  ; return 0; }
2320  EOF  EOF
2321  if { (eval echo configure:2321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2322    rm -rf conftest*    rm -rf conftest*
2323    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
2324  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 2423  else Line 2424  else
2424      case "`(uname -sr) 2>/dev/null`" in      case "`(uname -sr) 2>/dev/null`" in
2425      "SunOS 5"*)      "SunOS 5"*)
2426        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
2427  echo "configure:2427: checking whether -R must be followed by a space" >&5  echo "configure:2428: checking whether -R must be followed by a space" >&5
2428        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
2429        cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
2430  #line 2430 "configure"  #line 2431 "configure"
2431  #include "confdefs.h"  #include "confdefs.h"
2432    
2433  int main() {  int main() {
2434    
2435  ; return 0; }  ; return 0; }
2436  EOF  EOF
2437  if { (eval echo configure:2437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2438    rm -rf conftest*    rm -rf conftest*
2439    ac_R_nospace=yes    ac_R_nospace=yes
2440  else  else
# Line 2449  rm -f conftest* Line 2450  rm -f conftest*
2450        else        else
2451          LIBS="$ac_xsave_LIBS -R $x_libraries"          LIBS="$ac_xsave_LIBS -R $x_libraries"
2452          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2453  #line 2453 "configure"  #line 2454 "configure"
2454  #include "confdefs.h"  #include "confdefs.h"
2455    
2456  int main() {  int main() {
2457    
2458  ; return 0; }  ; return 0; }
2459  EOF  EOF
2460  if { (eval echo configure:2460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2461    rm -rf conftest*    rm -rf conftest*
2462    ac_R_space=yes    ac_R_space=yes
2463  else  else
# Line 2488  rm -f conftest* Line 2489  rm -f conftest*
2489      # libraries were built with DECnet support.  And karl@cs.umb.edu says      # libraries were built with DECnet support.  And karl@cs.umb.edu says
2490      # the Alpha needs dnet_stub (dnet does not exist).      # the Alpha needs dnet_stub (dnet does not exist).
2491      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
2492  echo "configure:2492: checking for dnet_ntoa in -ldnet" >&5  echo "configure:2493: checking for dnet_ntoa in -ldnet" >&5
2493  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2494  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
2495    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2496  else Line 2497  else
2497    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2498  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
2499  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2500  #line 2500 "configure"  #line 2501 "configure"
2501  #include "confdefs.h"  #include "confdefs.h"
2502  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2503  /* 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 2507  int main() { Line 2508  int main() {
2508  dnet_ntoa()  dnet_ntoa()
2509  ; return 0; }  ; return 0; }
2510  EOF  EOF
2511  if { (eval echo configure:2511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2512    rm -rf conftest*    rm -rf conftest*
2513    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2514  else  else
# Line 2529  fi Line 2530  fi
2530    
2531      if test $ac_cv_lib_dnet_dnet_ntoa = no; then      if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2532        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
2533  echo "configure:2533: checking for dnet_ntoa in -ldnet_stub" >&5  echo "configure:2534: checking for dnet_ntoa in -ldnet_stub" >&5
2534  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2535  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
2536    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2537  else Line 2538  else
2538    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2539  LIBS="-ldnet_stub  $LIBS"  LIBS="-ldnet_stub  $LIBS"
2540  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2541  #line 2541 "configure"  #line 2542 "configure"
2542  #include "confdefs.h"  #include "confdefs.h"
2543  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2544  /* 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 2548  int main() { Line 2549  int main() {
2549  dnet_ntoa()  dnet_ntoa()
2550  ; return 0; }  ; return 0; }
2551  EOF  EOF
2552  if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2553    rm -rf conftest*    rm -rf conftest*
2554    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2555  else  else
# Line 2577  fi Line 2578  fi
2578      # The nsl library prevents programs from opening the X display      # The nsl library prevents programs from opening the X display
2579      # on Irix 5.2, according to dickey@clark.net.      # on Irix 5.2, according to dickey@clark.net.
2580      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
2581  echo "configure:2581: checking for gethostbyname" >&5  echo "configure:2582: checking for gethostbyname" >&5
2582  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
2583    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2584  else  else
2585    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2586  #line 2586 "configure"  #line 2587 "configure"
2587  #include "confdefs.h"  #include "confdefs.h"
2588  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2589      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 2605  gethostbyname(); Line 2606  gethostbyname();
2606    
2607  ; return 0; }  ; return 0; }
2608  EOF  EOF
2609  if { (eval echo configure:2609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2610    rm -rf conftest*    rm -rf conftest*
2611    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
2612  else  else
# Line 2626  fi Line 2627  fi
2627    
2628      if test $ac_cv_func_gethostbyname = no; then      if test $ac_cv_func_gethostbyname = no; then
2629        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
2630  echo "configure:2630: checking for gethostbyname in -lnsl" >&5  echo "configure:2631: checking for gethostbyname in -lnsl" >&5
2631  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
2632  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2633    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2634  else Line 2635  else
2635    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2636  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2637  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2638  #line 2638 "configure"  #line 2639 "configure"
2639  #include "confdefs.h"  #include "confdefs.h"
2640  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2641  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 2645  int main() { Line 2646  int main() {
2646  gethostbyname()  gethostbyname()
2647  ; return 0; }  ; return 0; }
2648  EOF  EOF
2649  if { (eval echo configure:2649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2650    rm -rf conftest*    rm -rf conftest*
2651    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2652  else  else
# Line 2675  fi Line 2676  fi
2676      # -lsocket must be given before -lnsl if both are needed.      # -lsocket must be given before -lnsl if both are needed.
2677      # We assume that if connect needs -lnsl, so does gethostbyname.      # We assume that if connect needs -lnsl, so does gethostbyname.
2678      echo $ac_n "checking for connect""... $ac_c" 1>&6      echo $ac_n "checking for connect""... $ac_c" 1>&6
2679  echo "configure:2679: checking for connect" >&5  echo "configure:2680: checking for connect" >&5
2680  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2681    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2682  else  else
2683    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2684  #line 2684 "configure"  #line 2685 "configure"
2685  #include "confdefs.h"  #include "confdefs.h"
2686  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2687      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 2703  connect(); Line 2704  connect();
2704    
2705  ; return 0; }  ; return 0; }
2706  EOF  EOF
2707  if { (eval echo configure:2707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2708    rm -rf conftest*    rm -rf conftest*
2709    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
2710  else  else
# Line 2724  fi Line 2725  fi
2725    
2726      if test $ac_cv_func_connect = no; then      if test $ac_cv_func_connect = no; then
2727        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2728  echo "configure:2728: checking for connect in -lsocket" >&5  echo "configure:2729: checking for connect in -lsocket" >&5
2729  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2730  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
2731    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2732  else Line 2733  else
2733    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2734  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
2735  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2736  #line 2736 "configure"  #line 2737 "configure"
2737  #include "confdefs.h"  #include "confdefs.h"
2738  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2739  /* 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 2743  int main() { Line 2744  int main() {
2744  connect()  connect()
2745  ; return 0; }  ; return 0; }
2746  EOF  EOF
2747  if { (eval echo configure:2747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2748    rm -rf conftest*    rm -rf conftest*
2749    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2750  else  else
# Line 2767  fi Line 2768  fi
2768    
2769      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2770      echo $ac_n "checking for remove""... $ac_c" 1>&6      echo $ac_n "checking for remove""... $ac_c" 1>&6
2771  echo "configure:2771: checking for remove" >&5  echo "configure:2772: checking for remove" >&5
2772  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2773    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2774  else  else
2775    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2776  #line 2776 "configure"  #line 2777 "configure"
2777  #include "confdefs.h"  #include "confdefs.h"
2778  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2779      which can conflict with char remove(); below.  */      which can conflict with char remove(); below.  */
# Line 2795  remove(); Line 2796  remove();
2796    
2797  ; return 0; }  ; return 0; }
2798  EOF  EOF
2799  if { (eval echo configure:2799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2800    rm -rf conftest*    rm -rf conftest*
2801    eval "ac_cv_func_remove=yes"    eval "ac_cv_func_remove=yes"
2802  else  else
# Line 2816  fi Line 2817  fi
2817    
2818      if test $ac_cv_func_remove = no; then      if test $ac_cv_func_remove = no; then
2819        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2820  echo "configure:2820: checking for remove in -lposix" >&5  echo "configure:2821: checking for remove in -lposix" >&5
2821  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2822  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
2823    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2824  else Line 2825  else
2825    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2826  LIBS="-lposix  $LIBS"  LIBS="-lposix  $LIBS"
2827  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2828  #line 2828 "configure"  #line 2829 "configure"
2829  #include "confdefs.h"  #include "confdefs.h"
2830  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2831  /* 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 2835  int main() { Line 2836  int main() {
2836  remove()  remove()
2837  ; return 0; }  ; return 0; }
2838  EOF  EOF
2839  if { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2840    rm -rf conftest*    rm -rf conftest*
2841    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2842  else  else
# Line 2859  fi Line 2860  fi
2860    
2861      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2862      echo $ac_n "checking for shmat""... $ac_c" 1>&6      echo $ac_n "checking for shmat""... $ac_c" 1>&6
2863  echo "configure:2863: checking for shmat" >&5  echo "configure:2864: checking for shmat" >&5
2864  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2865    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2866  else  else
2867    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2868  #line 2868 "configure"  #line 2869 "configure"
2869  #include "confdefs.h"  #include "confdefs.h"
2870  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2871      which can conflict with char shmat(); below.  */      which can conflict with char shmat(); below.  */
# Line 2887  shmat(); Line 2888  shmat();
2888    
2889  ; return 0; }  ; return 0; }
2890  EOF  EOF
2891  if { (eval echo configure:2891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2892    rm -rf conftest*    rm -rf conftest*
2893    eval "ac_cv_func_shmat=yes"    eval "ac_cv_func_shmat=yes"
2894  else  else
# Line 2908  fi Line 2909  fi
2909    
2910      if test $ac_cv_func_shmat = no; then      if test $ac_cv_func_shmat = no; then
2911        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2912  echo "configure:2912: checking for shmat in -lipc" >&5  echo "configure:2913: checking for shmat in -lipc" >&5
2913  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2914  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
2915    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2916  else Line 2917  else
2917    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2918  LIBS="-lipc  $LIBS"  LIBS="-lipc  $LIBS"
2919  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2920  #line 2920 "configure"  #line 2921 "configure"
2921  #include "confdefs.h"  #include "confdefs.h"
2922  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2923  /* 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 2927  int main() { Line 2928  int main() {
2928  shmat()  shmat()
2929  ; return 0; }  ; return 0; }
2930  EOF  EOF
2931  if { (eval echo configure:2931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2932    rm -rf conftest*    rm -rf conftest*
2933    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2934  else  else
# Line 2960  fi Line 2961  fi
2961    # libraries we check for below, so use a different variable.    # libraries we check for below, so use a different variable.
2962    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2963    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2964  echo "configure:2964: checking for IceConnectionNumber in -lICE" >&5  echo "configure:2965: checking for IceConnectionNumber in -lICE" >&5
2965  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2966  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
2967    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2968  else Line 2969  else
2969    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2970  LIBS="-lICE $X_EXTRA_LIBS $LIBS"  LIBS="-lICE $X_EXTRA_LIBS $LIBS"
2971  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2972  #line 2972 "configure"  #line 2973 "configure"
2973  #include "confdefs.h"  #include "confdefs.h"
2974  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2975  /* 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 2979  int main() { Line 2980  int main() {
2980  IceConnectionNumber()  IceConnectionNumber()
2981  ; return 0; }  ; return 0; }
2982  EOF  EOF
2983  if { (eval echo configure:2983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2984    rm -rf conftest*    rm -rf conftest*
2985    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2986  else  else
# Line 3010  echo $X_PRE_LIBS Line 3011  echo $X_PRE_LIBS
3011    
3012  miss=0  miss=0
3013  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6
3014  echo "configure:3014: checking for main in -lXmu" >&5  echo "configure:3015: checking for main in -lXmu" >&5
3015  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`
3016  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
3017    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3018  else Line 3019  else
3019    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3020  LIBS="-lXmu $X_LIBS $LIBS"  LIBS="-lXmu $X_LIBS $LIBS"
3021  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3022  #line 3022 "configure"  #line 3023 "configure"
3023  #include "confdefs.h"  #include "confdefs.h"
3024    
3025  int main() {  int main() {
3026  main()  main()
3027  ; return 0; }  ; return 0; }
3028  EOF  EOF
3029  if { (eval echo configure:3029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3030    rm -rf conftest*    rm -rf conftest*
3031    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3032  else  else
# Line 3047  miss=1 Line 3048  miss=1
3048  fi  fi
3049    
3050  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6
3051  echo "configure:3051: checking for main in -lXt" >&5  echo "configure:3052: checking for main in -lXt" >&5
3052  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`
3053  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
3054    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3055  else Line 3056  else
3056    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3057  LIBS="-lXt $X_LIBS $LIBS"  LIBS="-lXt $X_LIBS $LIBS"
3058  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3059  #line 3059 "configure"  #line 3060 "configure"
3060  #include "confdefs.h"  #include "confdefs.h"
3061    
3062  int main() {  int main() {
3063  main()  main()
3064  ; return 0; }  ; return 0; }
3065  EOF  EOF
3066  if { (eval echo configure:3066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3067    rm -rf conftest*    rm -rf conftest*
3068    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3069  else  else
# Line 3084  miss=1 Line 3085  miss=1
3085  fi  fi
3086    
3087  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6
3088  echo "configure:3088: checking for main in -lXext" >&5  echo "configure:3089: checking for main in -lXext" >&5
3089  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`
3090  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
3091    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3092  else Line 3093  else
3093    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3094  LIBS="-lXext $X_LIBS $LIBS"  LIBS="-lXext $X_LIBS $LIBS"
3095  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3096  #line 3096 "configure"  #line 3097 "configure"
3097  #include "confdefs.h"  #include "confdefs.h"
3098    
3099  int main() {  int main() {
3100  main()  main()
3101  ; return 0; }  ; return 0; }
3102  EOF  EOF
3103  if { (eval echo configure:3103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3104    rm -rf conftest*    rm -rf conftest*
3105    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3106  else  else
# Line 3121  miss=1 Line 3122  miss=1
3122  fi  fi
3123    
3124  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6
3125  echo "configure:3125: checking for main in -lXaw" >&5  echo "configure:3126: checking for main in -lXaw" >&5
3126  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`
3127  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
3128    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3129  else Line 3130  else
3130    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3131  LIBS="-lXaw $X_LIBS $LIBS"  LIBS="-lXaw $X_LIBS $LIBS"
3132  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3133  #line 3133 "configure"  #line 3134 "configure"
3134  #include "confdefs.h"  #include "confdefs.h"
3135    
3136  int main() {  int main() {
3137  main()  main()
3138  ; return 0; }  ; return 0; }
3139  EOF  EOF
3140  if { (eval echo configure:3140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3141    rm -rf conftest*    rm -rf conftest*
3142    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3143  else  else
# Line 3158  miss=1 Line 3159  miss=1
3159  fi  fi
3160    
3161  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6
3162  echo "configure:3162: checking for main in -lX11" >&5  echo "configure:3163: checking for main in -lX11" >&5
3163  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`
3164  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
3165    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3166  else Line 3167  else
3167    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3168  LIBS="-lX11 $X_LIBS $LIBS"  LIBS="-lX11 $X_LIBS $LIBS"
3169  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3170  #line 3170 "configure"  #line 3171 "configure"
3171  #include "confdefs.h"  #include "confdefs.h"
3172    
3173  int main() {  int main() {
3174  main()  main()
3175  ; return 0; }  ; return 0; }
3176  EOF  EOF
3177  if { (eval echo configure:3177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3178    rm -rf conftest*    rm -rf conftest*
3179    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3180  else  else
# Line 3212  fi Line 3213  fi
3213  if test "$enable_dlopen" = "yes" ; then  if test "$enable_dlopen" = "yes" ; then
3214    
3215          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
3216  echo "configure:3216: checking for dlopen in -ldl" >&5  echo "configure:3217: checking for dlopen in -ldl" >&5
3217  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
3218  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
3219    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3220  else Line 3221  else
3221    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3222  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
3223  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3224  #line 3224 "configure"  #line 3225 "configure"
3225  #include "confdefs.h"  #include "confdefs.h"
3226  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3227  /* 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 3231  int main() { Line 3232  int main() {
3232  dlopen()  dlopen()
3233  ; return 0; }  ; return 0; }
3234  EOF  EOF
3235  if { (eval echo configure:3235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3236    rm -rf conftest*    rm -rf conftest*
3237    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3238  else  else
# Line 3267  fi Line 3268  fi
3268  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then
3269          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
3270  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
3271  echo "configure:3271: checking for bfd.h" >&5  echo "configure:3272: checking for bfd.h" >&5
3272  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3273    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3274  else  else
3275    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3276  #line 3276 "configure"  #line 3277 "configure"
3277  #include "confdefs.h"  #include "confdefs.h"
3278  #include <bfd.h>  #include <bfd.h>
3279  EOF  EOF
3280  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3281  { (eval echo configure:3281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3282  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3283  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3284    rm -rf conftest*    rm -rf conftest*
# Line 3294  fi Line 3295  fi
3295  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3296    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
3297    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
3298  echo "configure:3298: checking for bfd_init in -lbfd" >&5  echo "configure:3299: checking for bfd_init in -lbfd" >&5
3299  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
3300  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
3301    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3302  else Line 3303  else
3303    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3304  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
3305  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3306  #line 3306 "configure"  #line 3307 "configure"
3307  #include "confdefs.h"  #include "confdefs.h"
3308  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3309  /* 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 3313  int main() { Line 3314  int main() {
3314  bfd_init()  bfd_init()
3315  ; return 0; }  ; return 0; }
3316  EOF  EOF
3317  if { (eval echo configure:3317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3318    rm -rf conftest*    rm -rf conftest*
3319    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3320  else  else
# Line 3332  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 3333  if eval "test \"`echo '$ac_cv_lib_'$ac_l
3333                  # Old binutils appear to need CONST defined to const                  # Old binutils appear to need CONST defined to const
3334                  #                  #
3335                          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
3336  echo "configure:3336: checking if need to define CONST for bfd" >&5  echo "configure:3337: checking if need to define CONST for bfd" >&5
3337                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
3338    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
3339  else  else
3340    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3341  #line 3341 "configure"  #line 3342 "configure"
3342  #include "confdefs.h"  #include "confdefs.h"
3343  #define IN_GCC  #define IN_GCC
3344                                      #include <bfd.h>                                      #include <bfd.h>
3345                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
3346  EOF  EOF
3347  if { (eval echo configure:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3348  then  then
3349    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3350  else  else
# Line 3354  else Line 3355  else
3355    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
3356  else  else
3357    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3358  #line 3358 "configure"  #line 3359 "configure"
3359  #include "confdefs.h"  #include "confdefs.h"
3360  #define CONST const  #define CONST const
3361                                              #define IN_GCC                                              #define IN_GCC
3362                                              #include <bfd.h>                                              #include <bfd.h>
3363                                              int main() {symbol_info t; return 0;}                                              int main() {symbol_info t; return 0;}
3364  EOF  EOF
3365  if { (eval echo configure:3365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3366  then  then
3367    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
3368                                          cat >> confdefs.h <<\EOF                                          cat >> confdefs.h <<\EOF
# Line 3401  EOF Line 3402  EOF
3402  #  #
3403    
3404          echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6          echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6
3405  echo "configure:3405: checking for useable bfd_boolean" >&5  echo "configure:3406: checking for useable bfd_boolean" >&5
3406          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
3407    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3408  else  else
3409    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3410  #line 3410 "configure"  #line 3411 "configure"
3411  #include "confdefs.h"  #include "confdefs.h"
3412  #define IN_GCC  #define IN_GCC
3413                      #include <bfd.h>                      #include <bfd.h>
3414                      bfd_boolean foo() {return FALSE;}                      bfd_boolean foo() {return FALSE;}
3415                      int main() {return 0;}                      int main() {return 0;}
3416  EOF  EOF
3417  if { (eval echo configure:3417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3418  then  then
3419    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
3420                  cat >> confdefs.h <<\EOF                  cat >> confdefs.h <<\EOF
# Line 3461  if test "$enable_locbfd" = "yes" ; then Line 3462  if test "$enable_locbfd" = "yes" ; then
3462          # need GNU gettext separately.          # need GNU gettext separately.
3463          ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
3464  echo $ac_n "checking for libintl.h""... $ac_c" 1>&6  echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
3465  echo "configure:3465: checking for libintl.h" >&5  echo "configure:3466: checking for libintl.h" >&5
3466  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3467    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3468  else  else
3469    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3470  #line 3470 "configure"  #line 3471 "configure"
3471  #include "confdefs.h"  #include "confdefs.h"
3472  #include <libintl.h>  #include <libintl.h>
3473  EOF  EOF
3474  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3475  { (eval echo configure:3475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3476  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3477  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3478    rm -rf conftest*    rm -rf conftest*
# Line 3495  fi Line 3496  fi
3496    
3497                    
3498  echo $ac_n "checking for library containing dgettext""... $ac_c" 1>&6  echo $ac_n "checking for library containing dgettext""... $ac_c" 1>&6
3499  echo "configure:3499: checking for library containing dgettext" >&5  echo "configure:3500: checking for library containing dgettext" >&5
3500  if eval "test \"`echo '$''{'ac_cv_search_dgettext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_search_dgettext'+set}'`\" = set"; then
3501    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3502  else  else
3503    ac_func_search_save_LIBS="$LIBS"    ac_func_search_save_LIBS="$LIBS"
3504  ac_cv_search_dgettext="no"  ac_cv_search_dgettext="no"
3505  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3506  #line 3506 "configure"  #line 3507 "configure"
3507  #include "confdefs.h"  #include "confdefs.h"
3508  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3509  /* 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 3513  int main() { Line 3514  int main() {
3514  dgettext()  dgettext()
3515  ; return 0; }  ; return 0; }
3516  EOF  EOF
3517  if { (eval echo configure:3517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3518    rm -rf conftest*    rm -rf conftest*
3519    ac_cv_search_dgettext="none required"    ac_cv_search_dgettext="none required"
3520  else  else
# Line 3524  rm -f conftest* Line 3525  rm -f conftest*
3525  test "$ac_cv_search_dgettext" = "no" && for i in intl; do  test "$ac_cv_search_dgettext" = "no" && for i in intl; do
3526  LIBS="-l$i  $ac_func_search_save_LIBS"  LIBS="-l$i  $ac_func_search_save_LIBS"
3527  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3528  #line 3528 "configure"  #line 3529 "configure"
3529  #include "confdefs.h"  #include "confdefs.h"
3530  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3531  /* 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 3535  int main() { Line 3536  int main() {
3536  dgettext()  dgettext()
3537  ; return 0; }  ; return 0; }
3538  EOF  EOF
3539  if { (eval echo configure:3539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3540    rm -rf conftest*    rm -rf conftest*
3541    ac_cv_search_dgettext="-l$i"    ac_cv_search_dgettext="-l$i"
3542  break  break
# Line 3600  fi Line 3601  fi
3601  # addresses, in calculating a page for an address in the heap.  # addresses, in calculating a page for an address in the heap.
3602    
3603  echo $ac_n "checking size of long""... $ac_c" 1>&6  echo $ac_n "checking size of long""... $ac_c" 1>&6
3604  echo "configure:3604: checking size of long" >&5  echo "configure:3605: checking size of long" >&5
3605  if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3606    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3607  else  else
# Line 3608  else Line 3609  else
3609    ac_cv_sizeof_long=0    ac_cv_sizeof_long=0
3610  else  else
3611    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3612  #line 3612 "configure"  #line 3613 "configure"
3613  #include "confdefs.h"  #include "confdefs.h"
3614  #include <stdio.h>  #include <stdio.h>
3615  #include <sys/types.h>  #include <sys/types.h>
# Line 3620  main() Line 3621  main()
3621    exit(0);    exit(0);
3622  }  }
3623  EOF  EOF
3624  if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3625  then  then
3626    ac_cv_sizeof_long=`cat conftestval`    ac_cv_sizeof_long=`cat conftestval`
3627  else  else
# Line 3640  EOF Line 3641  EOF
3641    
3642    
3643  echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6  echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6
3644  echo "configure:3644: checking sizeof struct contblock" >&5  echo "configure:3645: checking sizeof struct contblock" >&5
3645    
3646  # work around MSYS pwd result incompatibility  # work around MSYS pwd result incompatibility
3647  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
# Line 3648  if test "$cross_compiling" = yes; then Line 3649  if test "$cross_compiling" = yes; then
3649    echo Cannot find sizeof struct contblock;exit 1    echo Cannot find sizeof struct contblock;exit 1
3650  else  else
3651    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3652  #line 3652 "configure"  #line 3653 "configure"
3653  #include "confdefs.h"  #include "confdefs.h"
3654  #include <stdio.h>  #include <stdio.h>
3655          #define EXTER          #define EXTER
# Line 3662  else Line 3663  else
3663          return 0;          return 0;
3664          }          }
3665  EOF  EOF
3666  if { (eval echo configure:3666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3667  then  then
3668    sizeof_contblock=`cat conftest1`    sizeof_contblock=`cat conftest1`
3669  else  else
# Line 3679  if test "$cross_compiling" = yes; then Line 3680  if test "$cross_compiling" = yes; then
3680    echo Cannot find sizeof struct contblock;exit 1    echo Cannot find sizeof struct contblock;exit 1
3681  else  else
3682    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3683  #line 3683 "configure"  #line 3684 "configure"
3684  #include "confdefs.h"  #include "confdefs.h"
3685  #include <stdio.h>  #include <stdio.h>
3686          #define EXTER          #define EXTER
# Line 3693  else Line 3694  else
3694          return 0;          return 0;
3695          }          }
3696  EOF  EOF
3697  if { (eval echo configure:3697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3698  then  then
3699    sizeof_contblock=`cat conftest1`    sizeof_contblock=`cat conftest1`
3700  else  else
# Line 3718  for ac_hdr in endian.h Line 3719  for ac_hdr in endian.h
3719  do  do
3720  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3721  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3722  echo "configure:3722: checking for $ac_hdr" >&5  echo "configure:3723: checking for $ac_hdr" >&5
3723  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3724    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3725  else  else
3726    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3727  #line 3727 "configure"  #line 3728 "configure"
3728  #include "confdefs.h"  #include "confdefs.h"
3729  #include <$ac_hdr>  #include <$ac_hdr>
3730  EOF  EOF
3731  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3732  { (eval echo configure:3732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3733  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3734  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3735    rm -rf conftest*    rm -rf conftest*
# Line 3749  if eval "test \"`echo '$ac_cv_header_'$a Line 3750  if eval "test \"`echo '$ac_cv_header_'$a
3750  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
3751  EOF  EOF
3752   echo $ac_n "checking "endianness"""... $ac_c" 1>&6   echo $ac_n "checking "endianness"""... $ac_c" 1>&6
3753  echo "configure:3753: checking "endianness"" >&5  echo "configure:3754: checking "endianness"" >&5
3754          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
3755    echo "$ac_t""big" 1>&6    echo "$ac_t""big" 1>&6
3756  else  else
3757    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3758  #line 3758 "configure"  #line 3759 "configure"
3759  #include "confdefs.h"  #include "confdefs.h"
3760  #define __ARMEB__  #define __ARMEB__
3761                  #include <endian.h>                  #include <endian.h>
3762                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
3763  EOF  EOF
3764  if { (eval echo configure:3764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3765  then  then
3766    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3767  #define LITTLE_END 1  #define LITTLE_END 1
# Line 3787  done Line 3788  done
3788  # this and restore the traditional behavior here  # this and restore the traditional behavior here
3789    
3790  echo $ac_n "checking for sbrk""... $ac_c" 1>&6  echo $ac_n "checking for sbrk""... $ac_c" 1>&6
3791  echo "configure:3791: checking for sbrk" >&5  echo "configure:3792: checking for sbrk" >&5
3792  HAVE_SBRK=""  HAVE_SBRK=""
3793  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3794    echo "$ac_t""no: WARNING you must be able to emulate sbrk: as on mingw or macosx" 1>&6    echo "$ac_t""no: WARNING you must be able to emulate sbrk: as on mingw or macosx" 1>&6
3795  else  else
3796    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3797  #line 3797 "configure"  #line 3798 "configure"
3798  #include "confdefs.h"  #include "confdefs.h"
3799  #include <unistd.h>  #include <unistd.h>
3800              #include <stdio.h>              #include <stdio.h>
# Line 3805  else Line 3806  else
3806                  return 0;                  return 0;
3807                  }                  }
3808  EOF  EOF
3809  if { (eval echo configure:3809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3810  then  then
3811    HAVE_SBRK=1    HAVE_SBRK=1
3812                  echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
# Line 3821  fi Line 3822  fi
3822    
3823  if test "$HAVE_SBRK" = "1" ; then  if test "$HAVE_SBRK" = "1" ; then
3824          echo $ac_n "checking for randomized sbrk""... $ac_c" 1>&6          echo $ac_n "checking for randomized sbrk""... $ac_c" 1>&6
3825  echo "configure:3825: checking for randomized sbrk" >&5  echo "configure:3826: checking for randomized sbrk" >&5
3826          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
3827    SBRK=0    SBRK=0
3828  else  else
3829    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3830  #line 3830 "configure"  #line 3831 "configure"
3831  #include "confdefs.h"  #include "confdefs.h"
3832  #include <unistd.h>  #include <unistd.h>
3833                      #include <stdio.h>                      #include <stdio.h>
# Line 3838  else Line 3839  else
3839                          return 0;                          return 0;
3840                          }                          }
3841  EOF  EOF
3842  if { (eval echo configure:3842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3843  then  then
3844    SBRK=`cat conftest1`    SBRK=`cat conftest1`
3845  else  else
# Line 3858  fi Line 3859  fi
3859    SBRK1=0    SBRK1=0
3860  else  else
3861    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3862  #line 3862 "configure"  #line 3863 "configure"
3863  #include "confdefs.h"  #include "confdefs.h"
3864  #include <unistd.h>  #include <unistd.h>
3865                      #include <stdio.h>                      #include <stdio.h>
# Line 3870  else Line 3871  else
3871                          return 0;                          return 0;
3872                          }                          }
3873  EOF  EOF
3874  if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3875  then  then
3876    SBRK1=`cat conftest1`    SBRK1=`cat conftest1`
3877  else  else
# Line 3890  fi Line 3891  fi
3891          if test "$SBRK" != "$SBRK1" ; then          if test "$SBRK" != "$SBRK1" ; then
3892                  echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
3893                  echo $ac_n "checking for randomized brk remedy""... $ac_c" 1>&6                  echo $ac_n "checking for randomized brk remedy""... $ac_c" 1>&6
3894  echo "configure:3894: checking for randomized brk remedy" >&5  echo "configure:3895: checking for randomized brk remedy" >&5
3895                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
3896    SBRK=0    SBRK=0
3897  else  else
3898    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3899  #line 3899 "configure"  #line 3900 "configure"
3900  #include "confdefs.h"  #include "confdefs.h"
3901  #include <syscall.h>  #include <syscall.h>
3902                              #include <linux/personality.h>                              #include <linux/personality.h>
# Line 3915  else Line 3916  else
3916                                  return 0;                                  return 0;
3917                                  }                                  }
3918  EOF  EOF
3919  if { (eval echo configure:3919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3920  then  then
3921    SBRK=`cat conftest1`    SBRK=`cat conftest1`
3922  else  else
# Line 3935  fi Line 3936  fi
3936    SBRK1=0    SBRK1=0
3937  else  else
3938    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3939  #line 3939 "configure"  #line 3940 "configure"
3940  #include "confdefs.h"  #include "confdefs.h"
3941  #include <syscall.h>  #include <syscall.h>
3942                              #include <linux/personality.h>                              #include <linux/personality.h>
# Line 3955  else Line 3956  else
3956                                  return 0;                                  return 0;
3957                                  }                                  }
3958  EOF  EOF
3959  if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3960  then  then
3961    SBRK1=`cat conftest1`    SBRK1=`cat conftest1`
3962  else  else
# Line 3991  fi Line 3992  fi
3992  old_LDFLAGS="$LDFLAGS"  old_LDFLAGS="$LDFLAGS"
3993  LDFLAGS="$TLDFLAGS"  LDFLAGS="$TLDFLAGS"
3994  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
3995  echo "configure:3995: checking "finding DBEGIN"" >&5  echo "configure:3996: checking "finding DBEGIN"" >&5
3996  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3997    dbegin=0    dbegin=0
3998  else  else
3999    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4000  #line 4000 "configure"  #line 4001 "configure"
4001  #include "confdefs.h"  #include "confdefs.h"
4002  #include <stdio.h>  #include <stdio.h>
4003              #include <stdlib.h>              #include <stdlib.h>
# Line 4035  if (!syscall(SYS_personality,PER_LINUX)) Line 4036  if (!syscall(SYS_personality,PER_LINUX))
4036    return 0;    return 0;
4037  }  }
4038  EOF  EOF
4039  if { (eval echo configure:4039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4040  then  then
4041    dbegin=`cat conftest1`    dbegin=`cat conftest1`
4042  else  else
# Line 4058  LDFLAGS="$old_LDFLAGS" Line 4059  LDFLAGS="$old_LDFLAGS"
4059    
4060    
4061  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
4062  echo "configure:4062: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:4063: checking "finding CSTACK_ADDRESS"" >&5
4063  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4064    cstack_address=0    cstack_address=0
4065  else  else
4066    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4067  #line 4067 "configure"  #line 4068 "configure"
4068  #include "confdefs.h"  #include "confdefs.h"
4069  #include <stdio.h>  #include <stdio.h>
4070  main()  main()
# Line 4075  main() Line 4076  main()
4076    return 0;    return 0;
4077  }  }
4078  EOF  EOF
4079  if { (eval echo configure:4079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4080  then  then
4081    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
4082  else  else
# Line 4095  EOF Line 4096  EOF
4096  echo "$ac_t""got $cstack_address" 1>&6  echo "$ac_t""got $cstack_address" 1>&6
4097    
4098  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
4099  echo "configure:4099: checking "sizeof long long int"" >&5  echo "configure:4100: checking "sizeof long long int"" >&5
4100  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4101    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4102    
4103  else  else
4104    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4105  #line 4105 "configure"  #line 4106 "configure"
4106  #include "confdefs.h"  #include "confdefs.h"
4107  #include <stdio.h>  #include <stdio.h>
4108  main()  main()
# Line 4111  main() Line 4112  main()
4112  }  }
4113    
4114  EOF  EOF
4115  if { (eval echo configure:4115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4116  then  then
4117    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4118  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 4169  FLISP="saved_$SYSTEM" Line 4170  FLISP="saved_$SYSTEM"
4170    
4171  # pagewidth  # pagewidth
4172  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
4173  echo "configure:4173: checking for pagewidth" >&5  echo "configure:4174: checking for pagewidth" >&5
4174  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4175    PAGEWIDTH=0    PAGEWIDTH=0
4176  else  else
4177    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4178  #line 4178 "configure"  #line 4179 "configure"
4179  #include "confdefs.h"  #include "confdefs.h"
4180  #include <stdio.h>  #include <stdio.h>
4181              #include <unistd.h>              #include <unistd.h>
# Line 4184  int main() {size_t i=getpagesize(),j; Line 4185  int main() {size_t i=getpagesize(),j;
4185              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
4186              return 0;}              return 0;}
4187  EOF  EOF
4188  if { (eval echo configure:4188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4189  then  then
4190    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
4191  else  else
# Line 4211  EOF Line 4212  EOF
4212  for ac_func in getcwd  for ac_func in getcwd
4213  do  do
4214  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4215  echo "configure:4215: checking for $ac_func" >&5  echo "configure:4216: checking for $ac_func" >&5
4216  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4217    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4218  else  else
4219    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4220  #line 4220 "configure"  #line 4221 "configure"
4221  #include "confdefs.h"  #include "confdefs.h"
4222  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4223      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4239  $ac_func(); Line 4240  $ac_func();
4240    
4241  ; return 0; }  ; return 0; }
4242  EOF  EOF
4243  if { (eval echo configure:4243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4244    rm -rf conftest*    rm -rf conftest*
4245    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4246  else  else
# Line 4266  done Line 4267  done
4267  for ac_func in getwd  for ac_func in getwd
4268  do  do
4269  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4270  echo "configure:4270: checking for $ac_func" >&5  echo "configure:4271: checking for $ac_func" >&5
4271  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4272    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4273  else  else
4274    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4275  #line 4275 "configure"  #line 4276 "configure"
4276  #include "confdefs.h"  #include "confdefs.h"
4277  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4278      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 4294  $ac_func(); Line 4295  $ac_func();
4295    
4296  ; return 0; }  ; return 0; }
4297  EOF  EOF
4298  if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4299    rm -rf conftest*    rm -rf conftest*
4300    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
4301  else  else
# Line 4319  fi Line 4320  fi
4320  done  done
4321    
4322  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
4323  echo "configure:4323: checking for uname" >&5  echo "configure:4324: checking for uname" >&5
4324  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
4325    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4326  else  else
4327    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4328  #line 4328 "configure"  #line 4329 "configure"
4329  #include "confdefs.h"  #include "confdefs.h"
4330  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4331      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 4347  uname(); Line 4348  uname();
4348    
4349  ; return 0; }  ; return 0; }
4350  EOF  EOF
4351  if { (eval echo configure:4351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4352    rm -rf conftest*    rm -rf conftest*
4353    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
4354  else  else
# Line 4371  EOF Line 4372  EOF
4372  fi  fi
4373    
4374  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
4375  echo "configure:4375: checking for gettimeofday" >&5  echo "configure:4376: checking for gettimeofday" >&5
4376  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
4377    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4378  else  else
4379    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4380  #line 4380 "configure"  #line 4381 "configure"
4381  #include "confdefs.h"  #include "confdefs.h"
4382  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4383      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 4399  gettimeofday(); Line 4400  gettimeofday();
4400    
4401  ; return 0; }  ; return 0; }
4402  EOF  EOF
4403  if { (eval echo configure:4403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4404    rm -rf conftest*    rm -rf conftest*
4405    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
4406  else  else
# Line 4428  for ac_hdr in sys/ioctl.h Line 4429  for ac_hdr in sys/ioctl.h
4429  do  do
4430  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4431  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4432  echo "configure:4432: checking for $ac_hdr" >&5  echo "configure:4433: checking for $ac_hdr" >&5
4433  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4434    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4435  else  else
4436    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4437  #line 4437 "configure"  #line 4438 "configure"
4438  #include "confdefs.h"  #include "confdefs.h"
4439  #include <$ac_hdr>  #include <$ac_hdr>
4440  EOF  EOF
4441  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4442  { (eval echo configure:4442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4443  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4444  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4445    rm -rf conftest*    rm -rf conftest*
# Line 4470  for ac_hdr in elf.h elf_abi.h Line 4471  for ac_hdr in elf.h elf_abi.h
4471  do  do
4472  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4473  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4474  echo "configure:4474: checking for $ac_hdr" >&5  echo "configure:4475: checking for $ac_hdr" >&5
4475  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4476    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4477  else  else
4478    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4479  #line 4479 "configure"  #line 4480 "configure"
4480  #include "confdefs.h"  #include "confdefs.h"
4481  #include <$ac_hdr>  #include <$ac_hdr>
4482  EOF  EOF
4483  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4484  { (eval echo configure:4484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4485  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4486  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4487    rm -rf conftest*    rm -rf conftest*
# Line 4520  done Line 4521  done
4521  #--------------------------------------------------------------------  #--------------------------------------------------------------------
4522    
4523  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
4524  echo "configure:4524: checking for BSDgettimeofday" >&5  echo "configure:4525: checking for BSDgettimeofday" >&5
4525  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
4526    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4527  else  else
4528    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4529  #line 4529 "configure"  #line 4530 "configure"
4530  #include "confdefs.h"  #include "confdefs.h"
4531  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4532      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 4548  BSDgettimeofday(); Line 4549  BSDgettimeofday();
4549    
4550  ; return 0; }  ; return 0; }
4551  EOF  EOF
4552  if { (eval echo configure:4552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4553    rm -rf conftest*    rm -rf conftest*
4554    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
4555  else  else
# Line 4569  EOF Line 4570  EOF
4570  else  else
4571    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4572  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
4573  echo "configure:4573: checking for gettimeofday" >&5  echo "configure:4574: checking for gettimeofday" >&5
4574  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
4575    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4576  else  else
4577    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4578  #line 4578 "configure"  #line 4579 "configure"
4579  #include "confdefs.h"  #include "confdefs.h"
4580  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4581      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 4597  gettimeofday(); Line 4598  gettimeofday();
4598    
4599  ; return 0; }  ; return 0; }
4600  EOF  EOF
4601  if { (eval echo configure:4601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4602    rm -rf conftest*    rm -rf conftest*
4603    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
4604  else  else
# Line 4624  fi Line 4625  fi
4625    
4626    
4627  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
4628  echo "configure:4628: checking for gettimeofday declaration" >&5  echo "configure:4629: checking for gettimeofday declaration" >&5
4629    
4630  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4631  #line 4631 "configure"  #line 4632 "configure"
4632  #include "confdefs.h"  #include "confdefs.h"
4633  #include <sys/time.h>  #include <sys/time.h>
4634  EOF  EOF
# Line 4648  rm -f conftest* Line 4649  rm -f conftest*
4649    
4650    
4651  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4652  echo "configure:4652: checking for sin in -lm" >&5  echo "configure:4653: checking for sin in -lm" >&5
4653  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4654  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
4655    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4656  else Line 4657  else
4657    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4658  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
4659  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4660  #line 4660 "configure"  #line 4661 "configure"
4661  #include "confdefs.h"  #include "confdefs.h"
4662  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4663  /* 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 4667  int main() { Line 4668  int main() {
4668  sin()  sin()
4669  ; return 0; }  ; return 0; }
4670  EOF  EOF
4671  if { (eval echo configure:4671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4672    rm -rf conftest*    rm -rf conftest*
4673    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4674  else  else
# Line 4689  true Line 4690  true
4690  fi  fi
4691    
4692  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
4693  echo "configure:4693: checking for main in -lmingwex" >&5  echo "configure:4694: checking for main in -lmingwex" >&5
4694  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
4695  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
4696    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4697  else Line 4698  else
4698    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4699  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
4700  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4701  #line 4701 "configure"  #line 4702 "configure"
4702  #include "confdefs.h"  #include "confdefs.h"
4703    
4704  int main() {  int main() {
4705  main()  main()
4706  ; return 0; }  ; return 0; }
4707  EOF  EOF
4708  if { (eval echo configure:4708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4709    rm -rf conftest*    rm -rf conftest*
4710    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4711  else  else
# Line 4732  if test "$try_japi" = "yes" ; then Line 4733  if test "$try_japi" = "yes" ; then
4733  do  do
4734  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4735  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4736  echo "configure:4736: checking for $ac_hdr" >&5  echo "configure:4737: checking for $ac_hdr" >&5
4737  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4738    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4739  else  else
4740    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4741  #line 4741 "configure"  #line 4742 "configure"
4742  #include "confdefs.h"  #include "confdefs.h"
4743  #include <$ac_hdr>  #include <$ac_hdr>
4744  EOF  EOF
4745  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4746  { (eval echo configure:4746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4747  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4748  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4749    rm -rf conftest*    rm -rf conftest*
# Line 4780  if test "$use" = "mingw" ; then Line 4781  if test "$use" = "mingw" ; then
4781  do  do
4782  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4783  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4784  echo "configure:4784: checking for $ac_hdr" >&5  echo "configure:4785: checking for $ac_hdr" >&5
4785  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4786    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4787  else  else
4788    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4789  #line 4789 "configure"  #line 4790 "configure"
4790  #include "confdefs.h"  #include "confdefs.h"
4791  #include <$ac_hdr>  #include <$ac_hdr>
4792  EOF  EOF
4793  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4794  { (eval echo configure:4794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4795  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4796  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4797    rm -rf conftest*    rm -rf conftest*
# Line 4827  else Line 4828  else
4828  do  do
4829  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4830  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4831  echo "configure:4831: checking for $ac_hdr" >&5  echo "configure:4832: checking for $ac_hdr" >&5
4832  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4833    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4834  else  else
4835    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4836  #line 4836 "configure"  #line 4837 "configure"
4837  #include "confdefs.h"  #include "confdefs.h"
4838  #include <$ac_hdr>  #include <$ac_hdr>
4839  EOF  EOF
4840  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4841  { (eval echo configure:4841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4842  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4843  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4844    rm -rf conftest*    rm -rf conftest*
# Line 4877  for ac_hdr in math.h Line 4878  for ac_hdr in math.h
4878  do  do
4879  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4880  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4881  echo "configure:4881: checking for $ac_hdr" >&5  echo "configure:4882: checking for $ac_hdr" >&5
4882  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4883    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4884  else  else
4885    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4886  #line 4886 "configure"  #line 4887 "configure"
4887  #include "confdefs.h"  #include "confdefs.h"
4888  #include <$ac_hdr>  #include <$ac_hdr>
4889  EOF  EOF
4890  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4891  { (eval echo configure:4891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4892  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4893  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4894    rm -rf conftest*    rm -rf conftest*
# Line 4924  for ac_hdr in values.h Line 4925  for ac_hdr in values.h
4925  do  do
4926  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4927  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4928  echo "configure:4928: checking for $ac_hdr" >&5  echo "configure:4929: checking for $ac_hdr" >&5
4929  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4930    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4931  else  else
4932    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4933  #line 4933 "configure"  #line 4934 "configure"
4934  #include "confdefs.h"  #include "confdefs.h"
4935  #include <$ac_hdr>  #include <$ac_hdr>
4936  EOF  EOF
4937  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4938  { (eval echo configure:4938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4939  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4940  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4941    rm -rf conftest*    rm -rf conftest*
# Line 4971  for ac_hdr in float.h Line 4972  for ac_hdr in float.h
4972  do  do
4973  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4974  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4975  echo "configure:4975: checking for $ac_hdr" >&5  echo "configure:4976: checking for $ac_hdr" >&5
4976  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4977    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4978  else  else
4979    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4980  #line 4980 "configure"  #line 4981 "configure"
4981  #include "confdefs.h"  #include "confdefs.h"
4982  #include <$ac_hdr>  #include <$ac_hdr>
4983  EOF  EOF
4984  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4985  { (eval echo configure:4985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4986  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4987  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4988    rm -rf conftest*    rm -rf conftest*
# Line 5017  done Line 5018  done
5018  # test makes sense.  CM  # test makes sense.  CM
5019  #  #
5020  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
5021  echo "configure:5021: checking for isnormal" >&5  echo "configure:5022: checking for isnormal" >&5
5022  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5023    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
5024  else  else
5025    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5026  #line 5026 "configure"  #line 5027 "configure"
5027  #include "confdefs.h"  #include "confdefs.h"
5028  #define _GNU_SOURCE  #define _GNU_SOURCE
5029              #include <math.h>              #include <math.h>
# Line 5031  else Line 5032  else
5032                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
5033                  }                  }
5034  EOF  EOF
5035  if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5036  then  then
5037    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5038  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 5042  else Line 5043  else
5043    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5044    rm -fr conftest*    rm -fr conftest*
5045    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
5046  echo "configure:5046: checking for fpclass in ieeefp.h" >&5  echo "configure:5047: checking for fpclass in ieeefp.h" >&5
5047                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5048    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
5049  else  else
5050    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5051  #line 5051 "configure"  #line 5052 "configure"
5052  #include "confdefs.h"  #include "confdefs.h"
5053  #include <ieeefp.h>  #include <ieeefp.h>
5054                              int main() {                              int main() {
# Line 5055  else Line 5056  else
5056                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
5057                                  }                                  }
5058  EOF  EOF
5059  if { (eval echo configure:5059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5060  then  then
5061    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5062  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 5077  fi Line 5078  fi
5078    
5079    
5080  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
5081  echo "configure:5081: checking for isfinite" >&5  echo "configure:5082: checking for isfinite" >&5
5082  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5083    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
5084  else  else
5085    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5086  #line 5086 "configure"  #line 5087 "configure"
5087  #include "confdefs.h"  #include "confdefs.h"
5088  #define _GNU_SOURCE  #define _GNU_SOURCE
5089              #include <math.h>              #include <math.h>
# Line 5091  else Line 5092  else
5092                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
5093                  }                  }
5094  EOF  EOF
5095  if { (eval echo configure:5095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5096  then  then
5097    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5098  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 5102  else Line 5103  else
5103    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5104    rm -fr conftest*    rm -fr conftest*
5105    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
5106  echo "configure:5106: checking for finite()" >&5  echo "configure:5107: checking for finite()" >&5
5107                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
5108    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
5109  else  else
5110    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5111  #line 5111 "configure"  #line 5112 "configure"
5112  #include "confdefs.h"  #include "confdefs.h"
5113  #include <math.h>  #include <math.h>
5114                              #include <ieeefp.h>                              #include <ieeefp.h>
# Line 5116  else Line 5117  else
5117                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
5118                                  }                                  }
5119  EOF  EOF
5120  if { (eval echo configure:5120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5121  then  then
5122    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5123  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 5157  fi Line 5158  fi
5158  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
5159  #--------------------------------------------------------------------  #--------------------------------------------------------------------
5160  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
5161  echo "configure:5161: checking for sockets" >&5  echo "configure:5162: checking for sockets" >&5
5162  tcl_checkBoth=0  tcl_checkBoth=0
5163  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
5164  echo "configure:5164: checking for connect" >&5  echo "configure:5165: checking for connect" >&5
5165  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
5166    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5167  else  else
5168    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5169  #line 5169 "configure"  #line 5170 "configure"
5170  #include "confdefs.h"  #include "confdefs.h"
5171  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5172      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 5188  connect(); Line 5189  connect();
5189    
5190  ; return 0; }  ; return 0; }
5191  EOF  EOF
5192  if { (eval echo configure:5192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5193    rm -rf conftest*    rm -rf conftest*
5194    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
5195  else  else
# Line 5210  fi Line 5211  fi
5211    
5212  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
5213      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
5214  echo "configure:5214: checking for main in -lsocket" >&5  echo "configure:5215: checking for main in -lsocket" >&5
5215  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
5216  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
5217    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5218  else Line 5219  else
5219    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5220  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5221  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5222  #line 5222 "configure"  #line 5223 "configure"
5223  #include "confdefs.h"  #include "confdefs.h"
5224    
5225  int main() {  int main() {
5226  main()  main()
5227  ; return 0; }  ; return 0; }
5228  EOF  EOF
5229  if { (eval echo configure:5229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5230    rm -rf conftest*    rm -rf conftest*
5231    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5232  else  else
# Line 5253  if test "$tcl_checkBoth" = 1; then Line 5254  if test "$tcl_checkBoth" = 1; then
5254      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
5255      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
5256      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
5257  echo "configure:5257: checking for accept" >&5  echo "configure:5258: checking for accept" >&5
5258  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
5259    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5260  else  else
5261    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5262  #line 5262 "configure"  #line 5263 "configure"
5263  #include "confdefs.h"  #include "confdefs.h"
5264  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5265      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 5281  accept(); Line 5282  accept();
5282    
5283  ; return 0; }  ; return 0; }
5284  EOF  EOF
5285  if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5286    rm -rf conftest*    rm -rf conftest*
5287    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
5288  else  else
# Line 5303  fi Line 5304  fi
5304    
5305  fi  fi
5306  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
5307  echo "configure:5307: checking for gethostbyname" >&5  echo "configure:5308: checking for gethostbyname" >&5
5308  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
5309    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5310  else  else
5311    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5312  #line 5312 "configure"  #line 5313 "configure"
5313  #include "confdefs.h"  #include "confdefs.h"
5314  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5315      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 5331  gethostbyname(); Line 5332  gethostbyname();
5332    
5333  ; return 0; }  ; return 0; }
5334  EOF  EOF
5335  if { (eval echo configure:5335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5336    rm -rf conftest*    rm -rf conftest*
5337    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
5338  else  else
# Line 5349  if eval "test \"`echo '$ac_cv_func_'geth Line 5350  if eval "test \"`echo '$ac_cv_func_'geth
5350  else  else
5351    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
5352  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
5353  echo "configure:5353: checking for main in -lnsl" >&5  echo "configure:5354: checking for main in -lnsl" >&5
5354  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
5355  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
5356    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5357  else Line 5358  else
5358    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5359  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5360  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5361  #line 5361 "configure"  #line 5362 "configure"
5362  #include "confdefs.h"  #include "confdefs.h"
5363    
5364  int main() {  int main() {
5365  main()  main()
5366  ; return 0; }  ; return 0; }
5367  EOF  EOF
5368  if { (eval echo configure:5368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5369    rm -rf conftest*    rm -rf conftest*
5370    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5371  else  else
# Line 5394  if test "$enable_readline" = "yes" ; the Line 5395  if test "$enable_readline" = "yes" ; the
5395  do  do
5396  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5397  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5398  echo "configure:5398: checking for $ac_hdr" >&5  echo "configure:5399: checking for $ac_hdr" >&5
5399  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5400    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5401  else  else
5402    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5403  #line 5403 "configure"  #line 5404 "configure"
5404  #include "confdefs.h"  #include "confdefs.h"
5405  #include <$ac_hdr>  #include <$ac_hdr>
5406  EOF  EOF
5407  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5408  { (eval echo configure:5408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5409  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5410  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5411    rm -rf conftest*    rm -rf conftest*
# Line 5425  if eval "test \"`echo '$ac_cv_header_'$a Line 5426  if eval "test \"`echo '$ac_cv_header_'$a
5426  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
5427  EOF  EOF
5428   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6   echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
5429  echo "configure:5429: checking for main in -lreadline" >&5  echo "configure:5430: checking for main in -lreadline" >&5
5430  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
5431  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
5432    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5433  else Line 5434  else
5434    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5435  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
5436  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5437  #line 5437 "configure"  #line 5438 "configure"
5438  #include "confdefs.h"  #include "confdefs.h"
5439    
5440  int main() {  int main() {
5441  main()  main()
5442  ; return 0; }  ; return 0; }
5443  EOF  EOF
5444  if { (eval echo configure:5444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5445    rm -rf conftest*    rm -rf conftest*
5446    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5447  else  else
# Line 5477  done Line 5478  done
5478    
5479  # These tests discover differences between readline 4.1 and 4.3  # These tests discover differences between readline 4.1 and 4.3
5480          echo $ac_n "checking for rl_completion_matches in -lreadline""... $ac_c" 1>&6          echo $ac_n "checking for rl_completion_matches in -lreadline""... $ac_c" 1>&6
5481  echo "configure:5481: checking for rl_completion_matches in -lreadline" >&5  echo "configure:5482: checking for rl_completion_matches in -lreadline" >&5
5482  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`
5483  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
5484    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5485  else Line 5486  else
5486    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5487  LIBS="-lreadline  $LIBS"  LIBS="-lreadline  $LIBS"
5488  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5489  #line 5489 "configure"  #line 5490 "configure"
5490  #include "confdefs.h"  #include "confdefs.h"
5491  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5492  /* 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 5496  int main() { Line 5497  int main() {
5497  rl_completion_matches()  rl_completion_matches()
5498  ; return 0; }  ; return 0; }
5499  EOF  EOF
5500  if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5501    rm -rf conftest*    rm -rf conftest*
5502    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5503  else  else
# Line 5529  fi Line 5530  fi
5530    
5531    
5532  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
5533  echo "configure:5533: checking For network code for nsocket.c" >&5  echo "configure:5534: checking For network code for nsocket.c" >&5
5534  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5535  #line 5535 "configure"  #line 5536 "configure"
5536  #include "confdefs.h"  #include "confdefs.h"
5537    
5538  #include <sys/time.h>  #include <sys/time.h>
# Line 5558  int main() { Line 5559  int main() {
5559                    
5560  ; return 0; }  ; return 0; }
5561  EOF  EOF
5562  if { (eval echo configure:5562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5563    rm -rf conftest*    rm -rf conftest*
5564    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5565  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 5575  rm -f conftest* Line 5576  rm -f conftest*
5576    
5577    
5578  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
5579  echo "configure:5579: checking check for listen using fcntl" >&5  echo "configure:5580: checking check for listen using fcntl" >&5
5580  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5581  #line 5581 "configure"  #line 5582 "configure"
5582  #include "confdefs.h"  #include "confdefs.h"
5583  #include <stdio.h>  #include <stdio.h>
5584  #include <fcntl.h>  #include <fcntl.h>
# Line 5590  FILE *fp=fopen("configure.in","r"); Line 5591  FILE *fp=fopen("configure.in","r");
5591    
5592  ; return 0; }  ; return 0; }
5593  EOF  EOF
5594  if { (eval echo configure:5594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5595    rm -rf conftest*    rm -rf conftest*
5596    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5597  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 5609  rm -f conftest* Line 5610  rm -f conftest*
5610    
5611    
5612  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
5613  echo "configure:5613: checking for profil" >&5  echo "configure:5614: checking for profil" >&5
5614  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
5615    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5616  else  else
5617    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5618  #line 5618 "configure"  #line 5619 "configure"
5619  #include "confdefs.h"  #include "confdefs.h"
5620  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5621      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 5637  profil(); Line 5638  profil();
5638    
5639  ; return 0; }  ; return 0; }
5640  EOF  EOF
5641  if { (eval echo configure:5641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5642    rm -rf conftest*    rm -rf conftest*
5643    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
5644  else  else
# Line 5662  fi Line 5663  fi
5663    
5664    
5665  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
5666  echo "configure:5666: checking for setenv" >&5  echo "configure:5667: checking for setenv" >&5
5667  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
5668    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5669  else  else
5670    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5671  #line 5671 "configure"  #line 5672 "configure"
5672  #include "confdefs.h"  #include "confdefs.h"
5673  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5674      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 5690  setenv(); Line 5691  setenv();
5691    
5692  ; return 0; }  ; return 0; }
5693  EOF  EOF
5694  if { (eval echo configure:5694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5695    rm -rf conftest*    rm -rf conftest*
5696    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
5697  else  else
# Line 5716  fi Line 5717  fi
5717    
5718  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
5719  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
5720  echo "configure:5720: checking for putenv" >&5  echo "configure:5721: checking for putenv" >&5
5721  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
5722    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5723  else  else
5724    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5725  #line 5725 "configure"  #line 5726 "configure"
5726  #include "confdefs.h"  #include "confdefs.h"
5727  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5728      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 5744  putenv(); Line 5745  putenv();
5745    
5746  ; return 0; }  ; return 0; }
5747  EOF  EOF
5748  if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5749    rm -rf conftest*    rm -rf conftest*
5750    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
5751  else  else
# Line 5770  fi Line 5771  fi
5771  fi  fi
5772    
5773  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
5774  echo "configure:5774: checking for _cleanup" >&5  echo "configure:5775: checking for _cleanup" >&5
5775  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
5776    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5777  else  else
5778    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5779  #line 5779 "configure"  #line 5780 "configure"
5780  #include "confdefs.h"  #include "confdefs.h"
5781  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5782      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 5798  _cleanup(); Line 5799  _cleanup();
5799    
5800  ; return 0; }  ; return 0; }
5801  EOF  EOF
5802  if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5803    rm -rf conftest*    rm -rf conftest*
5804    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
5805  else  else
# Line 5824  fi Line 5825  fi
5825  gcl_ok=no  gcl_ok=no
5826    
5827  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5828  #line 5828 "configure"  #line 5829 "configure"
5829  #include "confdefs.h"  #include "confdefs.h"
5830  #include <ctype.h>  #include <ctype.h>
5831  EOF  EOF
# Line 5852  fi Line 5853  fi
5853    
5854  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
5855  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
5856  echo "configure:5856: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:5857: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
5857    
5858  case $system in  case $system in
5859         OSF*)         OSF*)
# Line 5883  esac Line 5884  esac
5884    
5885    
5886  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
5887  echo "configure:5887: checking check for SV_ONSTACK" >&5  echo "configure:5888: checking check for SV_ONSTACK" >&5
5888  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5889  #line 5889 "configure"  #line 5890 "configure"
5890  #include "confdefs.h"  #include "confdefs.h"
5891  #include <signal.h>  #include <signal.h>
5892  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 5894  int main() { Line 5895  int main() {
5895    
5896  ; return 0; }  ; return 0; }
5897  EOF  EOF
5898  if { (eval echo configure:5898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5899    rm -rf conftest*    rm -rf conftest*
5900    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5901  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 5911  fi Line 5912  fi
5912  rm -f conftest*  rm -f conftest*
5913    
5914  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
5915  echo "configure:5915: checking check for SIGSYS" >&5  echo "configure:5916: checking check for SIGSYS" >&5
5916  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5917  #line 5917 "configure"  #line 5918 "configure"
5918  #include "confdefs.h"  #include "confdefs.h"
5919  #include <signal.h>  #include <signal.h>
5920  int joe=SIGSYS;  int joe=SIGSYS;
# Line 5922  int main() { Line 5923  int main() {
5923    
5924  ; return 0; }  ; return 0; }
5925  EOF  EOF
5926  if { (eval echo configure:5926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5927    rm -rf conftest*    rm -rf conftest*
5928    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5929  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 5940  rm -f conftest* Line 5941  rm -f conftest*
5941    
5942    
5943  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
5944  echo "configure:5944: checking check for SIGEMT" >&5  echo "configure:5945: checking check for SIGEMT" >&5
5945  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5946  #line 5946 "configure"  #line 5947 "configure"
5947  #include "confdefs.h"  #include "confdefs.h"
5948  #include <signal.h>  #include <signal.h>
5949  int joe=SIGEMT;  int joe=SIGEMT;
# Line 5951  int main() { Line 5952  int main() {
5952    
5953  ; return 0; }  ; return 0; }
5954  EOF  EOF
5955  if { (eval echo configure:5955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5956    rm -rf conftest*    rm -rf conftest*
5957    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
5958  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 5975  rm -f conftest* Line 5976  rm -f conftest*
5976  do  do
5977  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5978  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5979  echo "configure:5979: checking for $ac_hdr" >&5  echo "configure:5980: checking for $ac_hdr" >&5
5980  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5981    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5982  else  else
5983    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5984  #line 5984 "configure"  #line 5985 "configure"
5985  #include "confdefs.h"  #include "confdefs.h"
5986  #include <$ac_hdr>  #include <$ac_hdr>
5987  EOF  EOF
5988  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5989  { (eval echo configure:5989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5990  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5991  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5992    rm -rf conftest*    rm -rf conftest*
# Line 6015  done Line 6016  done
6016  do  do
6017  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6018  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6019  echo "configure:6019: checking for $ac_hdr" >&5  echo "configure:6020: checking for $ac_hdr" >&5
6020  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6021    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6022  else  else
6023    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6024  #line 6024 "configure"  #line 6025 "configure"
6025  #include "confdefs.h"  #include "confdefs.h"
6026  #include <$ac_hdr>  #include <$ac_hdr>
6027  EOF  EOF
6028  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6029  { (eval echo configure:6029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6030  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6031  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6032    rm -rf conftest*    rm -rf conftest*
# Line 6052  fi Line 6053  fi
6053  done  done
6054    
6055          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6          echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6056  echo "configure:6056: checking for sigcontext..." >&5  echo "configure:6057: checking for sigcontext..." >&5
6057          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
6058  #line 6058 "configure"  #line 6059 "configure"
6059  #include "confdefs.h"  #include "confdefs.h"
6060  #include <signal.h>  #include <signal.h>
6061                
# Line 6064  int main() { Line 6065  int main() {
6065                
6066  ; return 0; }  ; return 0; }
6067  EOF  EOF
6068  if { (eval echo configure:6068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6069    rm -rf conftest*    rm -rf conftest*
6070        
6071          sigcontext_works=1;          sigcontext_works=1;
# Line 6085  fi Line 6086  fi
6086  rm -f conftest*  rm -f conftest*
6087         if test "$sigcontext_works" = 0 ; then         if test "$sigcontext_works" = 0 ; then
6088         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6         echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6
6089  echo "configure:6089: checking for sigcontext..." >&5  echo "configure:6090: checking for sigcontext..." >&5
6090         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
6091  #line 6091 "configure"  #line 6092 "configure"
6092  #include "confdefs.h"  #include "confdefs.h"
6093  #include <signal.h>  #include <signal.h>
6094               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 6103  int main() { Line 6104  int main() {
6104                    
6105  ; return 0; }  ; return 0; }
6106  EOF  EOF
6107  if { (eval echo configure:6107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6108    rm -rf conftest*    rm -rf conftest*
6109        
6110          cat >> confdefs.h <<\EOF          cat >> confdefs.h <<\EOF
# Line 6145  rm -f conftest* Line 6146  rm -f conftest*
6146  # 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.
6147  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
6148  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6149  echo "configure:6149: checking for $ac_word" >&5  echo "configure:6150: checking for $ac_word" >&5
6150  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
6151    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6152  else  else
# Line 6193  cat >> conftest.el <<EOF Line 6194  cat >> conftest.el <<EOF
6194  EOF  EOF
6195    
6196  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
6197  echo "configure:6197: checking emacs site lisp directory" >&5  echo "configure:6198: checking emacs site lisp directory" >&5
6198  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then  if [ "$EMACS_SITE_LISP" = "unknown" ] ; then
6199          if [ "$EMACS" != "" ] ; then          if [ "$EMACS" != "" ] ; then
6200                  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 6217  cat >> conftest.el <<EOF Line 6218  cat >> conftest.el <<EOF
6218  EOF  EOF
6219    
6220  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
6221  echo "configure:6221: checking emacs default.el" >&5  echo "configure:6222: checking emacs default.el" >&5
6222  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
6223          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 `
6224  else  else
# Line 6246  cat >> conftest.el <<EOF Line 6247  cat >> conftest.el <<EOF
6247  EOF  EOF
6248    
6249  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
6250  echo "configure:6250: checking emacs info/dir" >&5  echo "configure:6251: checking emacs info/dir" >&5
6251  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
6252      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/      INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/
6253  else  else
# Line 6264  echo "$ac_t""$INFO_DIR" 1>&6 Line 6265  echo "$ac_t""$INFO_DIR" 1>&6
6265    
6266    
6267  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
6268  echo "configure:6268: checking for tcl/tk" >&5  echo "configure:6269: checking for tcl/tk" >&5
6269    
6270    
6271  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 6287  EOF Line 6288  EOF
6288  # 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.
6289  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
6290  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6291  echo "configure:6291: checking for $ac_word" >&5  echo "configure:6292: checking for $ac_word" >&5
6292  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
6293    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6294  else  else
# Line 6387  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 6388  if test -f ${TCL_CONFIG_PREFIX}/../inclu
6388    fi    fi
6389  fi  fi
6390  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
6391  echo "configure:6391: checking for main in -llieee" >&5  echo "configure:6392: checking for main in -llieee" >&5
6392  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
6393  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
6394    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6395  else Line 6396  else
6396    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6397  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
6398  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6399  #line 6399 "configure"  #line 6400 "configure"
6400  #include "confdefs.h"  #include "confdefs.h"
6401    
6402  int main() {  int main() {
6403  main()  main()
6404  ; return 0; }  ; return 0; }
6405  EOF  EOF
6406  if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6407    rm -rf conftest*    rm -rf conftest*
6408    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6409  else  else
# Line 6467  NOTIFY=$enable_notify Line 6468  NOTIFY=$enable_notify
6468  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
6469    
6470  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
6471  echo "configure:6471: checking alloca" >&5  echo "configure:6472: checking alloca" >&5
6472  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
6473    gcl_ok=no    gcl_ok=no
6474  else  else
6475    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6476  #line 6476 "configure"  #line 6477 "configure"
6477  #include "confdefs.h"  #include "confdefs.h"
6478  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
6479  EOF  EOF
6480  if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6481  then  then
6482    :    :
6483  else  else
# Line 6499  else Line 6500  else
6500    gcl_ok=no    gcl_ok=no
6501  else  else
6502    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6503  #line 6503 "configure"  #line 6504 "configure"
6504  #include "confdefs.h"  #include "confdefs.h"
6505  #include <alloca.h>  #include <alloca.h>
6506    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
6507  EOF  EOF
6508  if { (eval echo configure:6508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6509  then  then
6510    :    :
6511  else  else
# Line 6565  if test $gcl_ok = no ; then     echo "$a Line 6566  if test $gcl_ok = no ; then     echo "$a
6566  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
6567  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
6568  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
6569  echo "configure:6569: checking Checking for buggy gcc version from redhat" >&5  echo "configure:6570: checking Checking for buggy gcc version from redhat" >&5
6570  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
6571     then     then
6572          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.167  
changed lines
  Added in v.1.168

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