/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.75 by camm, Wed Aug 28 22:02:14 2002 UTC revision 1.76 by camm, Fri Aug 30 02:10:32 2002 UTC
# Line 1304  echo "$ac_t""$CPP" 1>&6 Line 1304  echo "$ac_t""$CPP" 1>&6
1304  # subst GCC not only under 386-linux, but where available -- CM  # subst GCC not only under 386-linux, but where available -- CM
1305    
1306    
1307  TCFLAGS="-Wall -DVOL=volatile -I\$(GCLDIR)/o -fsigned-char"  TCFLAGS="-Wall -DVOL=volatile -fsigned-char"
1308  if test "$GCC" = "yes" ; then  if test "$GCC" = "yes" ; then
1309          TCFLAGS="$TCFLAGS -fwritable-strings -pipe"          TCFLAGS="$TCFLAGS -fwritable-strings -pipe"
1310  fi  fi
# Line 1328  case $use in Line 1328  case $use in
1328  esac  esac
1329    
1330    
   
1331  # Step 1: set the variable "system" to hold the name and version number  # Step 1: set the variable "system" to hold the name and version number
1332  # for the system.  This can usually be done via the "uname" command, but  # for the system.  This can usually be done via the "uname" command, but
1333  # there are a few systems, like Next, where this doesn't work.  # there are a few systems, like Next, where this doesn't work.
1334    
1335  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
1336  echo "configure:1338: checking system version (for dynamic loading)" >&5  echo "configure:1337: checking system version (for dynamic loading)" >&5
1337  if machine=`uname -m` ; then true; else machine=unknown ; fi  if machine=`uname -m` ; then true; else machine=unknown ; fi
1338    
1339  for ac_prog in gawk nawk awk  for ac_prog in gawk nawk awk
# Line 1342  do Line 1341  do
1341  # 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.
1342  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1343  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1344  echo "configure:1346: checking for $ac_word" >&5  echo "configure:1345: checking for $ac_word" >&5
1345  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1346    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1347  else  else
# Line 1378  do Line 1377  do
1377  # 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.
1378  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1379  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1380  echo "configure:1382: checking for $ac_word" >&5  echo "configure:1381: checking for $ac_word" >&5
1381  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1382    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1383  else  else
# Line 1442  MP_INLCUDE="" Line 1441  MP_INLCUDE=""
1441  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
1442    
1443   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
1444  echo "configure:1446: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:1445: checking use_gmp=yes, doing configure in gmp directory" >&5
1445   echo   echo
1446   echo "#"   echo "#"
1447   echo "#"   echo "#"
# Line 1474  echo "configure:1446: checking use_gmp=y Line 1473  echo "configure:1446: checking use_gmp=y
1473   if test "$enable_dynsysgmp" = "yes" ; then   if test "$enable_dynsysgmp" = "yes" ; then
1474          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
1475  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
1476  echo "configure:1478: checking for gmp.h" >&5  echo "configure:1477: checking for gmp.h" >&5
1477  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1478    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1479  else  else
1480    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1481  #line 1483 "configure"  #line 1482 "configure"
1482  #include "confdefs.h"  #include "confdefs.h"
1483  #include <gmp.h>  #include <gmp.h>
1484  EOF  EOF
1485  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1486  { (eval echo configure:1488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1487  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1488  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1489    rm -rf conftest*    rm -rf conftest*
# Line 1501  fi Line 1500  fi
1500  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1501    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1502    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
1503  echo "configure:1505: checking for __gmpz_init in -lgmp" >&5  echo "configure:1504: checking for __gmpz_init in -lgmp" >&5
1504  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
1505  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
1506    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1509  else Line 1508  else
1508    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1509  LIBS="-lgmp  $LIBS"  LIBS="-lgmp  $LIBS"
1510  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1511  #line 1513 "configure"  #line 1512 "configure"
1512  #include "confdefs.h"  #include "confdefs.h"
1513  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1514  /* 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 1520  int main() { Line 1519  int main() {
1519  __gmpz_init()  __gmpz_init()
1520  ; return 0; }  ; return 0; }
1521  EOF  EOF
1522  if { (eval echo configure:1524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1523    rm -rf conftest*    rm -rf conftest*
1524    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1525  else  else
# Line 1564  else Line 1563  else
1563  fi  fi
1564    
1565   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
1566  echo "configure:1568: checking "for size of gmp limbs"" >&5  echo "configure:1567: checking "for size of gmp limbs"" >&5
1567   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1568    mpsize=0    mpsize=0
1569  else  else
1570    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1571  #line 1573 "configure"  #line 1572 "configure"
1572  #include "confdefs.h"  #include "confdefs.h"
1573  #include <stdio.h>  #include <stdio.h>
1574          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1580  else Line 1579  else
1579          return 0;          return 0;
1580          }          }
1581  EOF  EOF
1582  if { (eval echo configure:1584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1583  then  then
1584    mpsize=`cat conftest1`    mpsize=`cat conftest1`
1585  else  else
# Line 1602  EOF Line 1601  EOF
1601    
1602   echo "$ac_t""$mpsize" 1>&6   echo "$ac_t""$mpsize" 1>&6
1603    
1604     echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6
1605    echo "configure:1606: checking "_SHORT_LIMB"" >&5
1606     if test "$cross_compiling" = yes; then
1607      echo "$ac_t""no" 1>&6
1608    else
1609      cat > conftest.$ac_ext <<EOF
1610    #line 1611 "configure"
1611    #include "confdefs.h"
1612    #include <stdio.h>
1613            #include "$MP_INCLUDE"
1614            int main() {
1615            #ifdef _SHORT_LIMB
1616            return 0;
1617            #else
1618            return 1;
1619            #endif
1620            }
1621    EOF
1622    if { (eval echo configure:1623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1623    then
1624      cat >> confdefs.h <<\EOF
1625    #define __SHORT_LIMB 1
1626    EOF
1627     echo "$ac_t""yes" 1>&6
1628    else
1629      echo "configure: failed program was:" >&5
1630      cat conftest.$ac_ext >&5
1631      rm -fr conftest*
1632      echo "$ac_t""no" 1>&6
1633    fi
1634    rm -fr conftest*
1635    fi
1636    
1637     echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6
1638    echo "configure:1639: checking "_LONG_LONG_LIMB"" >&5
1639     if test "$cross_compiling" = yes; then
1640      echo "$ac_t""no" 1>&6
1641    else
1642      cat > conftest.$ac_ext <<EOF
1643    #line 1644 "configure"
1644    #include "confdefs.h"
1645    #include <stdio.h>
1646            #include "$MP_INCLUDE"
1647            int main() {
1648            #ifdef _LONG_LONG_LIMB
1649            return 0;
1650            #else
1651            return 1;
1652            #endif
1653            }
1654    EOF
1655    if { (eval echo configure:1656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1656    then
1657      cat >> confdefs.h <<\EOF
1658    #define __LONG_LONG_LIMB 1
1659    EOF
1660     echo "$ac_t""yes" 1>&6
1661    else
1662      echo "configure: failed program was:" >&5
1663      cat conftest.$ac_ext >&5
1664      rm -fr conftest*
1665      echo "$ac_t""no" 1>&6
1666    fi
1667    rm -fr conftest*
1668    fi
1669    
1670    
1671   GMP=1   GMP=1
1672   cat >> confdefs.h <<\EOF   cat >> confdefs.h <<\EOF
1673  #define GMP 1  #define GMP 1
# Line 1609  EOF Line 1675  EOF
1675    
1676    
1677    
   
1678   echo > makedefsafter   echo > makedefsafter
1679   echo "MPFILES=$MPFILES" >> makedefsafter   echo "MPFILES=$MPFILES" >> makedefsafter
1680   echo >> makedefsafter   echo >> makedefsafter
# Line 1625  fi Line 1690  fi
1690  # 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.
1691  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
1692  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
1693  echo "configure:1629: checking for X" >&5  echo "configure:1694: checking for X" >&5
1694    
1695  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
1696  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 1687  if test "$ac_x_includes" = NO; then Line 1752  if test "$ac_x_includes" = NO; then
1752    
1753    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
1754  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1755  #line 1691 "configure"  #line 1756 "configure"
1756  #include "confdefs.h"  #include "confdefs.h"
1757  #include <$x_direct_test_include>  #include <$x_direct_test_include>
1758  EOF  EOF
1759  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1760  { (eval echo configure:1696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1761  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1762  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1763    rm -rf conftest*    rm -rf conftest*
# Line 1761  if test "$ac_x_libraries" = NO; then Line 1826  if test "$ac_x_libraries" = NO; then
1826    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1827    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
1828  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1829  #line 1765 "configure"  #line 1830 "configure"
1830  #include "confdefs.h"  #include "confdefs.h"
1831    
1832  int main() {  int main() {
1833  ${x_direct_test_function}()  ${x_direct_test_function}()
1834  ; return 0; }  ; return 0; }
1835  EOF  EOF
1836  if { (eval echo configure:1772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1837    rm -rf conftest*    rm -rf conftest*
1838    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
1839  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 1874  else Line 1939  else
1939      case "`(uname -sr) 2>/dev/null`" in      case "`(uname -sr) 2>/dev/null`" in
1940      "SunOS 5"*)      "SunOS 5"*)
1941        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
1942  echo "configure:1878: checking whether -R must be followed by a space" >&5  echo "configure:1943: checking whether -R must be followed by a space" >&5
1943        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
1944        cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
1945  #line 1881 "configure"  #line 1946 "configure"
1946  #include "confdefs.h"  #include "confdefs.h"
1947    
1948  int main() {  int main() {
1949    
1950  ; return 0; }  ; return 0; }
1951  EOF  EOF
1952  if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1953    rm -rf conftest*    rm -rf conftest*
1954    ac_R_nospace=yes    ac_R_nospace=yes
1955  else  else
# Line 1900  rm -f conftest* Line 1965  rm -f conftest*
1965        else        else
1966          LIBS="$ac_xsave_LIBS -R $x_libraries"          LIBS="$ac_xsave_LIBS -R $x_libraries"
1967          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
1968  #line 1904 "configure"  #line 1969 "configure"
1969  #include "confdefs.h"  #include "confdefs.h"
1970    
1971  int main() {  int main() {
1972    
1973  ; return 0; }  ; return 0; }
1974  EOF  EOF
1975  if { (eval echo configure:1911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1976    rm -rf conftest*    rm -rf conftest*
1977    ac_R_space=yes    ac_R_space=yes
1978  else  else
# Line 1939  rm -f conftest* Line 2004  rm -f conftest*
2004      # libraries were built with DECnet support.  And karl@cs.umb.edu says      # libraries were built with DECnet support.  And karl@cs.umb.edu says
2005      # the Alpha needs dnet_stub (dnet does not exist).      # the Alpha needs dnet_stub (dnet does not exist).
2006      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
2007  echo "configure:1943: checking for dnet_ntoa in -ldnet" >&5  echo "configure:2008: checking for dnet_ntoa in -ldnet" >&5
2008  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2009  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
2010    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1947  else Line 2012  else
2012    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2013  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
2014  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2015  #line 1951 "configure"  #line 2016 "configure"
2016  #include "confdefs.h"  #include "confdefs.h"
2017  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2018  /* 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 1958  int main() { Line 2023  int main() {
2023  dnet_ntoa()  dnet_ntoa()
2024  ; return 0; }  ; return 0; }
2025  EOF  EOF
2026  if { (eval echo configure:1962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2027    rm -rf conftest*    rm -rf conftest*
2028    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2029  else  else
# Line 1980  fi Line 2045  fi
2045    
2046      if test $ac_cv_lib_dnet_dnet_ntoa = no; then      if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2047        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
2048  echo "configure:1984: checking for dnet_ntoa in -ldnet_stub" >&5  echo "configure:2049: checking for dnet_ntoa in -ldnet_stub" >&5
2049  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2050  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
2051    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1988  else Line 2053  else
2053    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2054  LIBS="-ldnet_stub  $LIBS"  LIBS="-ldnet_stub  $LIBS"
2055  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2056  #line 1992 "configure"  #line 2057 "configure"
2057  #include "confdefs.h"  #include "confdefs.h"
2058  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2059  /* 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 1999  int main() { Line 2064  int main() {
2064  dnet_ntoa()  dnet_ntoa()
2065  ; return 0; }  ; return 0; }
2066  EOF  EOF
2067  if { (eval echo configure:2003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2068    rm -rf conftest*    rm -rf conftest*
2069    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2070  else  else
# Line 2028  fi Line 2093  fi
2093      # The nsl library prevents programs from opening the X display      # The nsl library prevents programs from opening the X display
2094      # on Irix 5.2, according to dickey@clark.net.      # on Irix 5.2, according to dickey@clark.net.
2095      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
2096  echo "configure:2032: checking for gethostbyname" >&5  echo "configure:2097: checking for gethostbyname" >&5
2097  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
2098    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2099  else  else
2100    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2101  #line 2037 "configure"  #line 2102 "configure"
2102  #include "confdefs.h"  #include "confdefs.h"
2103  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2104      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 2056  gethostbyname(); Line 2121  gethostbyname();
2121    
2122  ; return 0; }  ; return 0; }
2123  EOF  EOF
2124  if { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2125    rm -rf conftest*    rm -rf conftest*
2126    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
2127  else  else
# Line 2077  fi Line 2142  fi
2142    
2143      if test $ac_cv_func_gethostbyname = no; then      if test $ac_cv_func_gethostbyname = no; then
2144        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
2145  echo "configure:2081: checking for gethostbyname in -lnsl" >&5  echo "configure:2146: checking for gethostbyname in -lnsl" >&5
2146  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
2147  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
2148    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2085  else Line 2150  else
2150    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2151  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2152  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2153  #line 2089 "configure"  #line 2154 "configure"
2154  #include "confdefs.h"  #include "confdefs.h"
2155  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2156  /* 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 2096  int main() { Line 2161  int main() {
2161  gethostbyname()  gethostbyname()
2162  ; return 0; }  ; return 0; }
2163  EOF  EOF
2164  if { (eval echo configure:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2165    rm -rf conftest*    rm -rf conftest*
2166    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2167  else  else
# Line 2126  fi Line 2191  fi
2191      # -lsocket must be given before -lnsl if both are needed.      # -lsocket must be given before -lnsl if both are needed.
2192      # We assume that if connect needs -lnsl, so does gethostbyname.      # We assume that if connect needs -lnsl, so does gethostbyname.
2193      echo $ac_n "checking for connect""... $ac_c" 1>&6      echo $ac_n "checking for connect""... $ac_c" 1>&6
2194  echo "configure:2130: checking for connect" >&5  echo "configure:2195: checking for connect" >&5
2195  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2196    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2197  else  else
2198    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2199  #line 2135 "configure"  #line 2200 "configure"
2200  #include "confdefs.h"  #include "confdefs.h"
2201  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2202      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 2154  connect(); Line 2219  connect();
2219    
2220  ; return 0; }  ; return 0; }
2221  EOF  EOF
2222  if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2223    rm -rf conftest*    rm -rf conftest*
2224    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
2225  else  else
# Line 2175  fi Line 2240  fi
2240    
2241      if test $ac_cv_func_connect = no; then      if test $ac_cv_func_connect = no; then
2242        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2243  echo "configure:2179: checking for connect in -lsocket" >&5  echo "configure:2244: checking for connect in -lsocket" >&5
2244  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2245  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
2246    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2183  else Line 2248  else
2248    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2249  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
2250  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2251  #line 2187 "configure"  #line 2252 "configure"
2252  #include "confdefs.h"  #include "confdefs.h"
2253  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2254  /* 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 2194  int main() { Line 2259  int main() {
2259  connect()  connect()
2260  ; return 0; }  ; return 0; }
2261  EOF  EOF
2262  if { (eval echo configure:2198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2263    rm -rf conftest*    rm -rf conftest*
2264    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2265  else  else
# Line 2218  fi Line 2283  fi
2283    
2284      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2285      echo $ac_n "checking for remove""... $ac_c" 1>&6      echo $ac_n "checking for remove""... $ac_c" 1>&6
2286  echo "configure:2222: checking for remove" >&5  echo "configure:2287: checking for remove" >&5
2287  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2288    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2289  else  else
2290    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2291  #line 2227 "configure"  #line 2292 "configure"
2292  #include "confdefs.h"  #include "confdefs.h"
2293  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2294      which can conflict with char remove(); below.  */      which can conflict with char remove(); below.  */
# Line 2246  remove(); Line 2311  remove();
2311    
2312  ; return 0; }  ; return 0; }
2313  EOF  EOF
2314  if { (eval echo configure:2250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2315    rm -rf conftest*    rm -rf conftest*
2316    eval "ac_cv_func_remove=yes"    eval "ac_cv_func_remove=yes"
2317  else  else
# Line 2267  fi Line 2332  fi
2332    
2333      if test $ac_cv_func_remove = no; then      if test $ac_cv_func_remove = no; then
2334        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2335  echo "configure:2271: checking for remove in -lposix" >&5  echo "configure:2336: checking for remove in -lposix" >&5
2336  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2337  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
2338    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2275  else Line 2340  else
2340    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2341  LIBS="-lposix  $LIBS"  LIBS="-lposix  $LIBS"
2342  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2343  #line 2279 "configure"  #line 2344 "configure"
2344  #include "confdefs.h"  #include "confdefs.h"
2345  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2346  /* 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 2286  int main() { Line 2351  int main() {
2351  remove()  remove()
2352  ; return 0; }  ; return 0; }
2353  EOF  EOF
2354  if { (eval echo configure:2290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2355    rm -rf conftest*    rm -rf conftest*
2356    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2357  else  else
# Line 2310  fi Line 2375  fi
2375    
2376      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2377      echo $ac_n "checking for shmat""... $ac_c" 1>&6      echo $ac_n "checking for shmat""... $ac_c" 1>&6
2378  echo "configure:2314: checking for shmat" >&5  echo "configure:2379: checking for shmat" >&5
2379  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2380    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2381  else  else
2382    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2383  #line 2319 "configure"  #line 2384 "configure"
2384  #include "confdefs.h"  #include "confdefs.h"
2385  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2386      which can conflict with char shmat(); below.  */      which can conflict with char shmat(); below.  */
# Line 2338  shmat(); Line 2403  shmat();
2403    
2404  ; return 0; }  ; return 0; }
2405  EOF  EOF
2406  if { (eval echo configure:2342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2407    rm -rf conftest*    rm -rf conftest*
2408    eval "ac_cv_func_shmat=yes"    eval "ac_cv_func_shmat=yes"
2409  else  else
# Line 2359  fi Line 2424  fi
2424    
2425      if test $ac_cv_func_shmat = no; then      if test $ac_cv_func_shmat = no; then
2426        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2427  echo "configure:2363: checking for shmat in -lipc" >&5  echo "configure:2428: checking for shmat in -lipc" >&5
2428  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2429  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
2430    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2367  else Line 2432  else
2432    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2433  LIBS="-lipc  $LIBS"  LIBS="-lipc  $LIBS"
2434  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2435  #line 2371 "configure"  #line 2436 "configure"
2436  #include "confdefs.h"  #include "confdefs.h"
2437  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2438  /* 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 2378  int main() { Line 2443  int main() {
2443  shmat()  shmat()
2444  ; return 0; }  ; return 0; }
2445  EOF  EOF
2446  if { (eval echo configure:2382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2447    rm -rf conftest*    rm -rf conftest*
2448    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2449  else  else
# Line 2411  fi Line 2476  fi
2476    # libraries we check for below, so use a different variable.    # libraries we check for below, so use a different variable.
2477    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2478    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2479  echo "configure:2415: checking for IceConnectionNumber in -lICE" >&5  echo "configure:2480: checking for IceConnectionNumber in -lICE" >&5
2480  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2481  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
2482    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2419  else Line 2484  else
2484    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2485  LIBS="-lICE $X_EXTRA_LIBS $LIBS"  LIBS="-lICE $X_EXTRA_LIBS $LIBS"
2486  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2487  #line 2423 "configure"  #line 2488 "configure"
2488  #include "confdefs.h"  #include "confdefs.h"
2489  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2490  /* 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 2430  int main() { Line 2495  int main() {
2495  IceConnectionNumber()  IceConnectionNumber()
2496  ; return 0; }  ; return 0; }
2497  EOF  EOF
2498  if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2499    rm -rf conftest*    rm -rf conftest*
2500    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2501  else  else
# Line 2461  echo $X_PRE_LIBS Line 2526  echo $X_PRE_LIBS
2526    
2527  miss=0  miss=0
2528  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6
2529  echo "configure:2465: checking for main in -lXaw" >&5  echo "configure:2530: checking for main in -lXaw" >&5
2530  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`
2531  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
2532    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2469  else Line 2534  else
2534    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2535  LIBS="-lXaw $X_LIBS $LIBS"  LIBS="-lXaw $X_LIBS $LIBS"
2536  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2537  #line 2473 "configure"  #line 2538 "configure"
2538  #include "confdefs.h"  #include "confdefs.h"
2539    
2540  int main() {  int main() {
2541  main()  main()
2542  ; return 0; }  ; return 0; }
2543  EOF  EOF
2544  if { (eval echo configure:2480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2545    rm -rf conftest*    rm -rf conftest*
2546    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2547  else  else
# Line 2498  miss=1 Line 2563  miss=1
2563  fi  fi
2564    
2565  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6
2566  echo "configure:2502: checking for main in -lXmu" >&5  echo "configure:2567: checking for main in -lXmu" >&5
2567  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`
2568  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
2569    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2506  else Line 2571  else
2571    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2572  LIBS="-lXmu $X_LIBS $LIBS"  LIBS="-lXmu $X_LIBS $LIBS"
2573  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2574  #line 2510 "configure"  #line 2575 "configure"
2575  #include "confdefs.h"  #include "confdefs.h"
2576    
2577  int main() {  int main() {
2578  main()  main()
2579  ; return 0; }  ; return 0; }
2580  EOF  EOF
2581  if { (eval echo configure:2517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2582    rm -rf conftest*    rm -rf conftest*
2583    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2584  else  else
# Line 2535  miss=1 Line 2600  miss=1
2600  fi  fi
2601    
2602  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6
2603  echo "configure:2539: checking for main in -lXt" >&5  echo "configure:2604: checking for main in -lXt" >&5
2604  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`
2605  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
2606    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2543  else Line 2608  else
2608    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2609  LIBS="-lXt $X_LIBS $LIBS"  LIBS="-lXt $X_LIBS $LIBS"
2610  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2611  #line 2547 "configure"  #line 2612 "configure"
2612  #include "confdefs.h"  #include "confdefs.h"
2613    
2614  int main() {  int main() {
2615  main()  main()
2616  ; return 0; }  ; return 0; }
2617  EOF  EOF
2618  if { (eval echo configure:2554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2619    rm -rf conftest*    rm -rf conftest*
2620    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2621  else  else
# Line 2572  miss=1 Line 2637  miss=1
2637  fi  fi
2638    
2639  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6
2640  echo "configure:2576: checking for main in -lXext" >&5  echo "configure:2641: checking for main in -lXext" >&5
2641  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`
2642  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
2643    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2580  else Line 2645  else
2645    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2646  LIBS="-lXext $X_LIBS $LIBS"  LIBS="-lXext $X_LIBS $LIBS"
2647  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2648  #line 2584 "configure"  #line 2649 "configure"
2649  #include "confdefs.h"  #include "confdefs.h"
2650    
2651  int main() {  int main() {
2652  main()  main()
2653  ; return 0; }  ; return 0; }
2654  EOF  EOF
2655  if { (eval echo configure:2591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2656    rm -rf conftest*    rm -rf conftest*
2657    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2658  else  else
# Line 2609  miss=1 Line 2674  miss=1
2674  fi  fi
2675    
2676  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6
2677  echo "configure:2613: checking for main in -lX11" >&5  echo "configure:2678: checking for main in -lX11" >&5
2678  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`
2679  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
2680    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2617  else Line 2682  else
2682    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2683  LIBS="-lX11 $X_LIBS $LIBS"  LIBS="-lX11 $X_LIBS $LIBS"
2684  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2685  #line 2621 "configure"  #line 2686 "configure"
2686  #include "confdefs.h"  #include "confdefs.h"
2687    
2688  int main() {  int main() {
2689  main()  main()
2690  ; return 0; }  ; return 0; }
2691  EOF  EOF
2692  if { (eval echo configure:2628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2693    rm -rf conftest*    rm -rf conftest*
2694    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2695  else  else
# Line 2663  fi Line 2728  fi
2728  if test "$enable_dlopen" = "yes" ; then  if test "$enable_dlopen" = "yes" ; then
2729    
2730          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2731  echo "configure:2667: checking for dlopen in -ldl" >&5  echo "configure:2732: checking for dlopen in -ldl" >&5
2732  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2733  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
2734    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2671  else Line 2736  else
2736    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2737  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
2738  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2739  #line 2675 "configure"  #line 2740 "configure"
2740  #include "confdefs.h"  #include "confdefs.h"
2741  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2742  /* 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 2682  int main() { Line 2747  int main() {
2747  dlopen()  dlopen()
2748  ; return 0; }  ; return 0; }
2749  EOF  EOF
2750  if { (eval echo configure:2686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2751    rm -rf conftest*    rm -rf conftest*
2752    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2753  else  else
# Line 2718  fi Line 2783  fi
2783  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then
2784          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
2785  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
2786  echo "configure:2722: checking for bfd.h" >&5  echo "configure:2787: checking for bfd.h" >&5
2787  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2788    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2789  else  else
2790    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2791  #line 2727 "configure"  #line 2792 "configure"
2792  #include "confdefs.h"  #include "confdefs.h"
2793  #include <bfd.h>  #include <bfd.h>
2794  EOF  EOF
2795  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2796  { (eval echo configure:2732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2797  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2798  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2799    rm -rf conftest*    rm -rf conftest*
# Line 2745  fi Line 2810  fi
2810  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2811    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2812    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
2813  echo "configure:2749: checking for bfd_init in -lbfd" >&5  echo "configure:2814: checking for bfd_init in -lbfd" >&5
2814  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
2815  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
2816    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2753  else Line 2818  else
2818    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2819  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
2820  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2821  #line 2757 "configure"  #line 2822 "configure"
2822  #include "confdefs.h"  #include "confdefs.h"
2823  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2824  /* 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 2764  int main() { Line 2829  int main() {
2829  bfd_init()  bfd_init()
2830  ; return 0; }  ; return 0; }
2831  EOF  EOF
2832  if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2833    rm -rf conftest*    rm -rf conftest*
2834    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2835  else  else
# Line 2783  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 2848  if eval "test \"`echo '$ac_cv_lib_'$ac_l
2848                  # Old binutils appear to need CONST defined to const                  # Old binutils appear to need CONST defined to const
2849                  #                  #
2850                          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
2851  echo "configure:2787: checking if need to define CONST for bfd" >&5  echo "configure:2852: checking if need to define CONST for bfd" >&5
2852                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
2853    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
2854  else  else
2855    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2856  #line 2792 "configure"  #line 2857 "configure"
2857  #include "confdefs.h"  #include "confdefs.h"
2858  #define IN_GCC  #define IN_GCC
2859                                      #include <bfd.h>                                      #include <bfd.h>
2860                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
2861  EOF  EOF
2862  if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2863  then  then
2864    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2865  else  else
# Line 2805  else Line 2870  else
2870    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
2871  else  else
2872    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2873  #line 2809 "configure"  #line 2874 "configure"
2874  #include "confdefs.h"  #include "confdefs.h"
2875  #define CONST const  #define CONST const
2876                                              #define IN_GCC                                              #define IN_GCC
2877                                              #include <bfd.h>                                              #include <bfd.h>
2878                                              int main() {symbol_info t; return 0;}                                              int main() {symbol_info t; return 0;}
2879  EOF  EOF
2880  if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2881  then  then
2882    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2883                                          cat >> confdefs.h <<\EOF                                          cat >> confdefs.h <<\EOF
# Line 2902  fi Line 2967  fi
2967  # addresses, in calculating a page for an address in the heap.  # addresses, in calculating a page for an address in the heap.
2968    
2969  echo $ac_n "checking size of long *""... $ac_c" 1>&6  echo $ac_n "checking size of long *""... $ac_c" 1>&6
2970  echo "configure:2906: checking size of long *" >&5  echo "configure:2971: checking size of long *" >&5
2971  if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then
2972    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2973  else  else
# Line 2910  else Line 2975  else
2975    ac_cv_sizeof_long_p=0    ac_cv_sizeof_long_p=0
2976  else  else
2977    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2978  #line 2914 "configure"  #line 2979 "configure"
2979  #include "confdefs.h"  #include "confdefs.h"
2980  #include <stdio.h>  #include <stdio.h>
2981  #include <sys/types.h>  #include <sys/types.h>
# Line 2922  main() Line 2987  main()
2987    exit(0);    exit(0);
2988  }  }
2989  EOF  EOF
2990  if { (eval echo configure:2926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2991  then  then
2992    ac_cv_sizeof_long_p=`cat conftestval`    ac_cv_sizeof_long_p=`cat conftestval`
2993  else  else
# Line 2946  for ac_hdr in endian.h Line 3011  for ac_hdr in endian.h
3011  do  do
3012  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3013  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3014  echo "configure:2950: checking for $ac_hdr" >&5  echo "configure:3015: checking for $ac_hdr" >&5
3015  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3016    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3017  else  else
3018    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3019  #line 2955 "configure"  #line 3020 "configure"
3020  #include "confdefs.h"  #include "confdefs.h"
3021  #include <$ac_hdr>  #include <$ac_hdr>
3022  EOF  EOF
3023  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3024  { (eval echo configure:2960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3025  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3026  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3027    rm -rf conftest*    rm -rf conftest*
# Line 2977  if eval "test \"`echo '$ac_cv_header_'$a Line 3042  if eval "test \"`echo '$ac_cv_header_'$a
3042  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
3043  EOF  EOF
3044   echo $ac_n "checking "endianness"""... $ac_c" 1>&6   echo $ac_n "checking "endianness"""... $ac_c" 1>&6
3045  echo "configure:2981: checking "endianness"" >&5  echo "configure:3046: checking "endianness"" >&5
3046          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
3047    echo "$ac_t""big" 1>&6    echo "$ac_t""big" 1>&6
3048  else  else
3049    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3050  #line 2986 "configure"  #line 3051 "configure"
3051  #include "confdefs.h"  #include "confdefs.h"
3052  #define __ARMEB__  #define __ARMEB__
3053                  #include <endian.h>                  #include <endian.h>
3054                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
3055  EOF  EOF
3056  if { (eval echo configure:2992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3057  then  then
3058    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3059  #define LITTLE_END 1  #define LITTLE_END 1
# Line 3011  done Line 3076  done
3076    
3077    
3078  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
3079  echo "configure:3015: checking "finding DBEGIN"" >&5  echo "configure:3080: checking "finding DBEGIN"" >&5
3080  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3081    dbegin=0    dbegin=0
3082  else  else
3083    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3084  #line 3020 "configure"  #line 3085 "configure"
3085  #include "confdefs.h"  #include "confdefs.h"
3086  #include <stdio.h>  #include <stdio.h>
3087              #include <stdlib.h>              #include <stdlib.h>
# Line 3033  main() Line 3098  main()
3098    return 0;    return 0;
3099  }  }
3100  EOF  EOF
3101  if { (eval echo configure:3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3102  then  then
3103    dbegin=`cat conftest1`    dbegin=`cat conftest1`
3104  else  else
# Line 3055  echo "$ac_t""got $dbegin" 1>&6 Line 3120  echo "$ac_t""got $dbegin" 1>&6
3120    
3121    
3122  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
3123  echo "configure:3059: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:3124: checking "finding CSTACK_ADDRESS"" >&5
3124  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3125    cstack_address=0    cstack_address=0
3126  else  else
3127    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3128  #line 3064 "configure"  #line 3129 "configure"
3129  #include "confdefs.h"  #include "confdefs.h"
3130  #include <stdio.h>  #include <stdio.h>
3131  main()  main()
# Line 3072  main() Line 3137  main()
3137    return 0;    return 0;
3138  }  }
3139  EOF  EOF
3140  if { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3141  then  then
3142    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
3143  else  else
# Line 3094  echo "$ac_t""got $cstack_address" 1>&6 Line 3159  echo "$ac_t""got $cstack_address" 1>&6
3159    
3160    
3161  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
3162  echo "configure:3098: checking "sizeof long long int"" >&5  echo "configure:3163: checking "sizeof long long int"" >&5
3163  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3164    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3165    
3166  else  else
3167    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3168  #line 3104 "configure"  #line 3169 "configure"
3169  #include "confdefs.h"  #include "confdefs.h"
3170  #include <stdio.h>  #include <stdio.h>
3171  main()  main()
# Line 3110  main() Line 3175  main()
3175  }  }
3176    
3177  EOF  EOF
3178  if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3179  then  then
3180    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3181  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 3163  fi Line 3228  fi
3228    
3229  # pagewidth  # pagewidth
3230  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
3231  echo "configure:3167: checking for pagewidth" >&5  echo "configure:3232: checking for pagewidth" >&5
3232  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3233    PAGEWIDTH=0    PAGEWIDTH=0
3234  else  else
3235    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3236  #line 3172 "configure"  #line 3237 "configure"
3237  #include "confdefs.h"  #include "confdefs.h"
3238  #include <stdio.h>  #include <stdio.h>
3239              #include <unistd.h>              #include <unistd.h>
# Line 3178  int main() {size_t i=getpagesize(),j; Line 3243  int main() {size_t i=getpagesize(),j;
3243              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
3244              return 0;}              return 0;}
3245  EOF  EOF
3246  if { (eval echo configure:3182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3247  then  then
3248    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
3249  else  else
# Line 3205  EOF Line 3270  EOF
3270  for ac_func in getcwd  for ac_func in getcwd
3271  do  do
3272  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3273  echo "configure:3209: checking for $ac_func" >&5  echo "configure:3274: checking for $ac_func" >&5
3274  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3275    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3276  else  else
3277    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3278  #line 3214 "configure"  #line 3279 "configure"
3279  #include "confdefs.h"  #include "confdefs.h"
3280  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3281      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 3233  $ac_func(); Line 3298  $ac_func();
3298    
3299  ; return 0; }  ; return 0; }
3300  EOF  EOF
3301  if { (eval echo configure:3237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3302    rm -rf conftest*    rm -rf conftest*
3303    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
3304  else  else
# Line 3260  done Line 3325  done
3325  for ac_func in getwd  for ac_func in getwd
3326  do  do
3327  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3328  echo "configure:3264: checking for $ac_func" >&5  echo "configure:3329: checking for $ac_func" >&5
3329  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3330    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3331  else  else
3332    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3333  #line 3269 "configure"  #line 3334 "configure"
3334  #include "confdefs.h"  #include "confdefs.h"
3335  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3336      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 3288  $ac_func(); Line 3353  $ac_func();
3353    
3354  ; return 0; }  ; return 0; }
3355  EOF  EOF
3356  if { (eval echo configure:3292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3357    rm -rf conftest*    rm -rf conftest*
3358    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
3359  else  else
# Line 3313  fi Line 3378  fi
3378  done  done
3379    
3380  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
3381  echo "configure:3317: checking for uname" >&5  echo "configure:3382: checking for uname" >&5
3382  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
3383    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3384  else  else
3385    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3386  #line 3322 "configure"  #line 3387 "configure"
3387  #include "confdefs.h"  #include "confdefs.h"
3388  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3389      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 3341  uname(); Line 3406  uname();
3406    
3407  ; return 0; }  ; return 0; }
3408  EOF  EOF
3409  if { (eval echo configure:3345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3410    rm -rf conftest*    rm -rf conftest*
3411    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
3412  else  else
# Line 3365  EOF Line 3430  EOF
3430  fi  fi
3431    
3432  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
3433  echo "configure:3369: checking for gettimeofday" >&5  echo "configure:3434: checking for gettimeofday" >&5
3434  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
3435    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3436  else  else
3437    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3438  #line 3374 "configure"  #line 3439 "configure"
3439  #include "confdefs.h"  #include "confdefs.h"
3440  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3441      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 3393  gettimeofday(); Line 3458  gettimeofday();
3458    
3459  ; return 0; }  ; return 0; }
3460  EOF  EOF
3461  if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3462    rm -rf conftest*    rm -rf conftest*
3463    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
3464  else  else
# Line 3422  for ac_hdr in sys/ioctl.h Line 3487  for ac_hdr in sys/ioctl.h
3487  do  do
3488  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3489  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3490  echo "configure:3426: checking for $ac_hdr" >&5  echo "configure:3491: checking for $ac_hdr" >&5
3491  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3492    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3493  else  else
3494    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3495  #line 3431 "configure"  #line 3496 "configure"
3496  #include "confdefs.h"  #include "confdefs.h"
3497  #include <$ac_hdr>  #include <$ac_hdr>
3498  EOF  EOF
3499  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3500  { (eval echo configure:3436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3501  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3502  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3503    rm -rf conftest*    rm -rf conftest*
# Line 3472  done Line 3537  done
3537  #--------------------------------------------------------------------  #--------------------------------------------------------------------
3538    
3539  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
3540  echo "configure:3476: checking for BSDgettimeofday" >&5  echo "configure:3541: checking for BSDgettimeofday" >&5
3541  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
3542    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3543  else  else
3544    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3545  #line 3481 "configure"  #line 3546 "configure"
3546  #include "confdefs.h"  #include "confdefs.h"
3547  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3548      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 3500  BSDgettimeofday(); Line 3565  BSDgettimeofday();
3565    
3566  ; return 0; }  ; return 0; }
3567  EOF  EOF
3568  if { (eval echo configure:3504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3569    rm -rf conftest*    rm -rf conftest*
3570    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
3571  else  else
# Line 3521  EOF Line 3586  EOF
3586  else  else
3587    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3588  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
3589  echo "configure:3525: checking for gettimeofday" >&5  echo "configure:3590: checking for gettimeofday" >&5
3590  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
3591    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3592  else  else
3593    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3594  #line 3530 "configure"  #line 3595 "configure"
3595  #include "confdefs.h"  #include "confdefs.h"
3596  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3597      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 3549  gettimeofday(); Line 3614  gettimeofday();
3614    
3615  ; return 0; }  ; return 0; }
3616  EOF  EOF
3617  if { (eval echo configure:3553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3618    rm -rf conftest*    rm -rf conftest*
3619    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
3620  else  else
# Line 3576  fi Line 3641  fi
3641    
3642    
3643  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
3644  echo "configure:3580: checking for gettimeofday declaration" >&5  echo "configure:3645: checking for gettimeofday declaration" >&5
3645    
3646  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3647  #line 3583 "configure"  #line 3648 "configure"
3648  #include "confdefs.h"  #include "confdefs.h"
3649  #include <sys/time.h>  #include <sys/time.h>
3650  EOF  EOF
# Line 3600  rm -f conftest* Line 3665  rm -f conftest*
3665    
3666    
3667  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
3668  echo "configure:3604: checking for sin in -lm" >&5  echo "configure:3669: checking for sin in -lm" >&5
3669  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
3670  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
3671    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3608  else Line 3673  else
3673    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3674  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
3675  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3676  #line 3612 "configure"  #line 3677 "configure"
3677  #include "confdefs.h"  #include "confdefs.h"
3678  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3679  /* 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 3619  int main() { Line 3684  int main() {
3684  sin()  sin()
3685  ; return 0; }  ; return 0; }
3686  EOF  EOF
3687  if { (eval echo configure:3623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3688    rm -rf conftest*    rm -rf conftest*
3689    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3690  else  else
# Line 3641  true Line 3706  true
3706  fi  fi
3707    
3708  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
3709  echo "configure:3645: checking for main in -lmingwex" >&5  echo "configure:3710: checking for main in -lmingwex" >&5
3710  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
3711  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
3712    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3649  else Line 3714  else
3714    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3715  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
3716  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3717  #line 3653 "configure"  #line 3718 "configure"
3718  #include "confdefs.h"  #include "confdefs.h"
3719    
3720  int main() {  int main() {
3721  main()  main()
3722  ; return 0; }  ; return 0; }
3723  EOF  EOF
3724  if { (eval echo configure:3660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3725    rm -rf conftest*    rm -rf conftest*
3726    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3727  else  else
# Line 3685  for ac_hdr in math.h Line 3750  for ac_hdr in math.h
3750  do  do
3751  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3752  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3753  echo "configure:3689: checking for $ac_hdr" >&5  echo "configure:3754: checking for $ac_hdr" >&5
3754  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3755    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3756  else  else
3757    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3758  #line 3694 "configure"  #line 3759 "configure"
3759  #include "confdefs.h"  #include "confdefs.h"
3760  #include <$ac_hdr>  #include <$ac_hdr>
3761  EOF  EOF
3762  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3763  { (eval echo configure:3699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3764  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3765  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3766    rm -rf conftest*    rm -rf conftest*
# Line 3732  for ac_hdr in values.h Line 3797  for ac_hdr in values.h
3797  do  do
3798  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3799  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3800  echo "configure:3736: checking for $ac_hdr" >&5  echo "configure:3801: checking for $ac_hdr" >&5
3801  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3802    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3803  else  else
3804    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3805  #line 3741 "configure"  #line 3806 "configure"
3806  #include "confdefs.h"  #include "confdefs.h"
3807  #include <$ac_hdr>  #include <$ac_hdr>
3808  EOF  EOF
3809  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3810  { (eval echo configure:3746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3811  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3812  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3813    rm -rf conftest*    rm -rf conftest*
# Line 3778  done Line 3843  done
3843  # test makes sense.  CM  # test makes sense.  CM
3844  #  #
3845  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
3846  echo "configure:3782: checking for isnormal" >&5  echo "configure:3847: checking for isnormal" >&5
3847  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3848    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
3849  else  else
3850    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3851  #line 3787 "configure"  #line 3852 "configure"
3852  #include "confdefs.h"  #include "confdefs.h"
3853  #define _GNU_SOURCE  #define _GNU_SOURCE
3854              #include <math.h>              #include <math.h>
# Line 3792  else Line 3857  else
3857                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
3858                  }                  }
3859  EOF  EOF
3860  if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3861  then  then
3862    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3863  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 3803  else Line 3868  else
3868    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
3869    rm -fr conftest*    rm -fr conftest*
3870    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
3871  echo "configure:3807: checking for fpclass in ieeefp.h" >&5  echo "configure:3872: checking for fpclass in ieeefp.h" >&5
3872                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
3873    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
3874  else  else
3875    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3876  #line 3812 "configure"  #line 3877 "configure"
3877  #include "confdefs.h"  #include "confdefs.h"
3878  #include <ieeefp.h>  #include <ieeefp.h>
3879                              int main() {                              int main() {
# Line 3816  else Line 3881  else
3881                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
3882                                  }                                  }
3883  EOF  EOF
3884  if { (eval echo configure:3820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3885  then  then
3886    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3887  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 3838  fi Line 3903  fi
3903    
3904    
3905  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
3906  echo "configure:3842: checking for isfinite" >&5  echo "configure:3907: checking for isfinite" >&5
3907  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3908    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
3909  else  else
3910    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3911  #line 3847 "configure"  #line 3912 "configure"
3912  #include "confdefs.h"  #include "confdefs.h"
3913  #define _GNU_SOURCE  #define _GNU_SOURCE
3914              #include <math.h>              #include <math.h>
# Line 3852  else Line 3917  else
3917                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
3918                  }                  }
3919  EOF  EOF
3920  if { (eval echo configure:3856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3921  then  then
3922    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3923  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 3863  else Line 3928  else
3928    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
3929    rm -fr conftest*    rm -fr conftest*
3930    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
3931  echo "configure:3867: checking for finite()" >&5  echo "configure:3932: checking for finite()" >&5
3932                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
3933    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
3934  else  else
3935    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3936  #line 3872 "configure"  #line 3937 "configure"
3937  #include "confdefs.h"  #include "confdefs.h"
3938  #include <math.h>  #include <math.h>
3939                              int main() {                              int main() {
# Line 3876  else Line 3941  else
3941                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
3942                                  }                                  }
3943  EOF  EOF
3944  if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3945  then  then
3946    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3947  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 3917  fi Line 3982  fi
3982  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
3983  #--------------------------------------------------------------------  #--------------------------------------------------------------------
3984  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
3985  echo "configure:3921: checking for sockets" >&5  echo "configure:3986: checking for sockets" >&5
3986  tcl_checkBoth=0  tcl_checkBoth=0
3987  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
3988  echo "configure:3924: checking for connect" >&5  echo "configure:3989: checking for connect" >&5
3989  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
3990    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3991  else  else
3992    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3993  #line 3929 "configure"  #line 3994 "configure"
3994  #include "confdefs.h"  #include "confdefs.h"
3995  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3996      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 3948  connect(); Line 4013  connect();
4013    
4014  ; return 0; }  ; return 0; }
4015  EOF  EOF
4016  if { (eval echo configure:3952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4017    rm -rf conftest*    rm -rf conftest*
4018    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
4019  else  else
# Line 3970  fi Line 4035  fi
4035    
4036  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
4037      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
4038  echo "configure:3974: checking for main in -lsocket" >&5  echo "configure:4039: checking for main in -lsocket" >&5
4039  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
4040  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
4041    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3978  else Line 4043  else
4043    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4044  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
4045  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4046  #line 3982 "configure"  #line 4047 "configure"
4047  #include "confdefs.h"  #include "confdefs.h"
4048    
4049  int main() {  int main() {
4050  main()  main()
4051  ; return 0; }  ; return 0; }
4052  EOF  EOF
4053  if { (eval echo configure:3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4054    rm -rf conftest*    rm -rf conftest*
4055    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4056  else  else
# Line 4013  if test "$tcl_checkBoth" = 1; then Line 4078  if test "$tcl_checkBoth" = 1; then
4078      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
4079      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
4080      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
4081  echo "configure:4017: checking for accept" >&5  echo "configure:4082: checking for accept" >&5
4082  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
4083    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4084  else  else
4085    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4086  #line 4022 "configure"  #line 4087 "configure"
4087  #include "confdefs.h"  #include "confdefs.h"
4088  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4089      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 4041  accept(); Line 4106  accept();
4106    
4107  ; return 0; }  ; return 0; }
4108  EOF  EOF
4109  if { (eval echo configure:4045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4110    rm -rf conftest*    rm -rf conftest*
4111    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
4112  else  else
# Line 4063  fi Line 4128  fi
4128    
4129  fi  fi
4130  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4131  echo "configure:4067: checking for gethostbyname" >&5  echo "configure:4132: checking for gethostbyname" >&5
4132  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
4133    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4134  else  else
4135    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4136  #line 4072 "configure"  #line 4137 "configure"
4137  #include "confdefs.h"  #include "confdefs.h"
4138  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4139      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 4091  gethostbyname(); Line 4156  gethostbyname();
4156    
4157  ; return 0; }  ; return 0; }
4158  EOF  EOF
4159  if { (eval echo configure:4095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4160    rm -rf conftest*    rm -rf conftest*
4161    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
4162  else  else
# Line 4109  if eval "test \"`echo '$ac_cv_func_'geth Line 4174  if eval "test \"`echo '$ac_cv_func_'geth
4174  else  else
4175    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4176  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
4177  echo "configure:4113: checking for main in -lnsl" >&5  echo "configure:4178: checking for main in -lnsl" >&5
4178  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
4179  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
4180    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4117  else Line 4182  else
4182    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4183  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
4184  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4185  #line 4121 "configure"  #line 4186 "configure"
4186  #include "confdefs.h"  #include "confdefs.h"
4187    
4188  int main() {  int main() {
4189  main()  main()
4190  ; return 0; }  ; return 0; }
4191  EOF  EOF
4192  if { (eval echo configure:4128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4193    rm -rf conftest*    rm -rf conftest*
4194    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4195  else  else
# Line 4149  fi Line 4214  fi
4214    
4215  if test "$enable_readline" = "yes" ; then  if test "$enable_readline" = "yes" ; then
4216          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
4217  echo "configure:4153: checking for main in -lreadline" >&5  echo "configure:4218: checking for main in -lreadline" >&5
4218  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
4219  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
4220    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4157  else Line 4222  else
4222    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4223  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
4224  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4225  #line 4161 "configure"  #line 4226 "configure"
4226  #include "confdefs.h"  #include "confdefs.h"
4227    
4228  int main() {  int main() {
4229  main()  main()
4230  ; return 0; }  ; return 0; }
4231  EOF  EOF
4232  if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4233    rm -rf conftest*    rm -rf conftest*
4234    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4235  else  else
# Line 4196  fi Line 4261  fi
4261    
4262    
4263  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
4264  echo "configure:4200: checking For network code for nsocket.c" >&5  echo "configure:4265: checking For network code for nsocket.c" >&5
4265  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4266  #line 4202 "configure"  #line 4267 "configure"
4267  #include "confdefs.h"  #include "confdefs.h"
4268    
4269  #include <sys/time.h>  #include <sys/time.h>
# Line 4225  int main() { Line 4290  int main() {
4290                    
4291  ; return 0; }  ; return 0; }
4292  EOF  EOF
4293  if { (eval echo configure:4229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4294    rm -rf conftest*    rm -rf conftest*
4295    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4296  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 4242  rm -f conftest* Line 4307  rm -f conftest*
4307    
4308    
4309  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
4310  echo "configure:4246: checking check for listen using fcntl" >&5  echo "configure:4311: checking check for listen using fcntl" >&5
4311  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4312  #line 4248 "configure"  #line 4313 "configure"
4313  #include "confdefs.h"  #include "confdefs.h"
4314  #include <stdio.h>  #include <stdio.h>
4315  #include <fcntl.h>  #include <fcntl.h>
# Line 4257  FILE *fp=fopen("configure.in","r"); Line 4322  FILE *fp=fopen("configure.in","r");
4322    
4323  ; return 0; }  ; return 0; }
4324  EOF  EOF
4325  if { (eval echo configure:4261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4326    rm -rf conftest*    rm -rf conftest*
4327    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4328  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 4276  rm -f conftest* Line 4341  rm -f conftest*
4341    
4342    
4343  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
4344  echo "configure:4280: checking for profil" >&5  echo "configure:4345: checking for profil" >&5
4345  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
4346    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4347  else  else
4348    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4349  #line 4285 "configure"  #line 4350 "configure"
4350  #include "confdefs.h"  #include "confdefs.h"
4351  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4352      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 4304  profil(); Line 4369  profil();
4369    
4370  ; return 0; }  ; return 0; }
4371  EOF  EOF
4372  if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4373    rm -rf conftest*    rm -rf conftest*
4374    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
4375  else  else
# Line 4329  fi Line 4394  fi
4394    
4395    
4396  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
4397  echo "configure:4333: checking for setenv" >&5  echo "configure:4398: checking for setenv" >&5
4398  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
4399    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4400  else  else
4401    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4402  #line 4338 "configure"  #line 4403 "configure"
4403  #include "confdefs.h"  #include "confdefs.h"
4404  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4405      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 4357  setenv(); Line 4422  setenv();
4422    
4423  ; return 0; }  ; return 0; }
4424  EOF  EOF
4425  if { (eval echo configure:4361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4426    rm -rf conftest*    rm -rf conftest*
4427    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
4428  else  else
# Line 4383  fi Line 4448  fi
4448    
4449  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
4450  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
4451  echo "configure:4387: checking for putenv" >&5  echo "configure:4452: checking for putenv" >&5
4452  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
4453    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4454  else  else
4455    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4456  #line 4392 "configure"  #line 4457 "configure"
4457  #include "confdefs.h"  #include "confdefs.h"
4458  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4459      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 4411  putenv(); Line 4476  putenv();
4476    
4477  ; return 0; }  ; return 0; }
4478  EOF  EOF
4479  if { (eval echo configure:4415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4480    rm -rf conftest*    rm -rf conftest*
4481    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
4482  else  else
# Line 4437  fi Line 4502  fi
4502  fi  fi
4503    
4504  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
4505  echo "configure:4441: checking for _cleanup" >&5  echo "configure:4506: checking for _cleanup" >&5
4506  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
4507    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4508  else  else
4509    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4510  #line 4446 "configure"  #line 4511 "configure"
4511  #include "confdefs.h"  #include "confdefs.h"
4512  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4513      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 4465  _cleanup(); Line 4530  _cleanup();
4530    
4531  ; return 0; }  ; return 0; }
4532  EOF  EOF
4533  if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4534    rm -rf conftest*    rm -rf conftest*
4535    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
4536  else  else
# Line 4491  fi Line 4556  fi
4556  gcl_ok=no  gcl_ok=no
4557    
4558  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4559  #line 4495 "configure"  #line 4560 "configure"
4560  #include "confdefs.h"  #include "confdefs.h"
4561  #include <ctype.h>  #include <ctype.h>
4562  EOF  EOF
# Line 4519  fi Line 4584  fi
4584    
4585  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
4586  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
4587  echo "configure:4523: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:4588: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
4588    
4589  case $system in  case $system in
4590         OSF*)         OSF*)
# Line 4550  esac Line 4615  esac
4615    
4616    
4617  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
4618  echo "configure:4554: checking check for SV_ONSTACK" >&5  echo "configure:4619: checking check for SV_ONSTACK" >&5
4619  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4620  #line 4556 "configure"  #line 4621 "configure"
4621  #include "confdefs.h"  #include "confdefs.h"
4622  #include <signal.h>  #include <signal.h>
4623  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 4561  int main() { Line 4626  int main() {
4626    
4627  ; return 0; }  ; return 0; }
4628  EOF  EOF
4629  if { (eval echo configure:4565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4630    rm -rf conftest*    rm -rf conftest*
4631    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4632  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 4578  fi Line 4643  fi
4643  rm -f conftest*  rm -f conftest*
4644    
4645  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
4646  echo "configure:4582: checking check for SIGSYS" >&5  echo "configure:4647: checking check for SIGSYS" >&5
4647  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4648  #line 4584 "configure"  #line 4649 "configure"
4649  #include "confdefs.h"  #include "confdefs.h"
4650  #include <signal.h>  #include <signal.h>
4651  int joe=SIGSYS;  int joe=SIGSYS;
# Line 4589  int main() { Line 4654  int main() {
4654    
4655  ; return 0; }  ; return 0; }
4656  EOF  EOF
4657  if { (eval echo configure:4593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4658    rm -rf conftest*    rm -rf conftest*
4659    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4660  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 4607  rm -f conftest* Line 4672  rm -f conftest*
4672    
4673    
4674  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
4675  echo "configure:4611: checking check for SIGEMT" >&5  echo "configure:4676: checking check for SIGEMT" >&5
4676  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4677  #line 4613 "configure"  #line 4678 "configure"
4678  #include "confdefs.h"  #include "confdefs.h"
4679  #include <signal.h>  #include <signal.h>
4680  int joe=SIGEMT;  int joe=SIGEMT;
# Line 4618  int main() { Line 4683  int main() {
4683    
4684  ; return 0; }  ; return 0; }
4685  EOF  EOF
4686  if { (eval echo configure:4622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4687    rm -rf conftest*    rm -rf conftest*
4688    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4689  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 4642  rm -f conftest* Line 4707  rm -f conftest*
4707  do  do
4708  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4709  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4710  echo "configure:4646: checking for $ac_hdr" >&5  echo "configure:4711: checking for $ac_hdr" >&5
4711  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4712    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4713  else  else
4714    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4715  #line 4651 "configure"  #line 4716 "configure"
4716  #include "confdefs.h"  #include "confdefs.h"
4717  #include <$ac_hdr>  #include <$ac_hdr>
4718  EOF  EOF
4719  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4720  { (eval echo configure:4656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4721  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4722  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4723    rm -rf conftest*    rm -rf conftest*
# Line 4682  done Line 4747  done
4747  do  do
4748  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4749  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4750  echo "configure:4686: checking for $ac_hdr" >&5  echo "configure:4751: checking for $ac_hdr" >&5
4751  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4752    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4753  else  else
4754    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4755  #line 4691 "configure"  #line 4756 "configure"
4756  #include "confdefs.h"  #include "confdefs.h"
4757  #include <$ac_hdr>  #include <$ac_hdr>
4758  EOF  EOF
4759  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4760  { (eval echo configure:4696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4761  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4762  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4763    rm -rf conftest*    rm -rf conftest*
# Line 4719  fi Line 4784  fi
4784  done  done
4785    
4786          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
4787  #line 4723 "configure"  #line 4788 "configure"
4788  #include "confdefs.h"  #include "confdefs.h"
4789  #include <signal.h>  #include <signal.h>
4790                          long code;                            long code;  
# Line 4730  int main() { Line 4795  int main() {
4795                
4796  ; return 0; }  ; return 0; }
4797  EOF  EOF
4798  if { (eval echo configure:4734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4799    rm -rf conftest*    rm -rf conftest*
4800        
4801          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 4751  fi Line 4816  fi
4816  rm -f conftest*  rm -f conftest*
4817         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
4818         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
4819  #line 4755 "configure"  #line 4820 "configure"
4820  #include "confdefs.h"  #include "confdefs.h"
4821  #include <signal.h>  #include <signal.h>
4822               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 4768  int main() { Line 4833  int main() {
4833                    
4834  ; return 0; }  ; return 0; }
4835  EOF  EOF
4836  if { (eval echo configure:4772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4837    rm -rf conftest*    rm -rf conftest*
4838        
4839          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 4811  rm -f conftest* Line 4876  rm -f conftest*
4876  # 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.
4877  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
4878  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4879  echo "configure:4815: checking for $ac_word" >&5  echo "configure:4880: checking for $ac_word" >&5
4880  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
4881    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4882  else  else
# Line 4859  cat >> conftest.el <<EOF Line 4924  cat >> conftest.el <<EOF
4924  EOF  EOF
4925    
4926  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
4927  echo "configure:4863: checking emacs site lisp directory" >&5  echo "configure:4928: checking emacs site lisp directory" >&5
4928  #EMACS_SITE_LISP=unknown  #EMACS_SITE_LISP=unknown
4929  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
4930          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 4882  cat >> conftest.el <<EOF Line 4947  cat >> conftest.el <<EOF
4947  EOF  EOF
4948    
4949  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
4950  echo "configure:4886: checking emacs default.el" >&5  echo "configure:4951: checking emacs default.el" >&5
4951  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
4952          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 `
4953  else  else
# Line 4911  cat >> conftest.el <<EOF Line 4976  cat >> conftest.el <<EOF
4976  EOF  EOF
4977    
4978  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
4979  echo "configure:4915: checking emacs info/dir" >&5  echo "configure:4980: checking emacs info/dir" >&5
4980  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
4981          INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `          INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
4982  fi  fi
# Line 4925  echo "$ac_t""$INFO_DIR" 1>&6 Line 4990  echo "$ac_t""$INFO_DIR" 1>&6
4990    
4991    
4992  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
4993  echo "configure:4929: checking for tcl/tk" >&5  echo "configure:4994: checking for tcl/tk" >&5
4994    
4995    
4996  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 4948  EOF Line 5013  EOF
5013  # 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.
5014  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
5015  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5016  echo "configure:4952: checking for $ac_word" >&5  echo "configure:5017: checking for $ac_word" >&5
5017  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
5018    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5019  else  else
# Line 5048  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 5113  if test -f ${TCL_CONFIG_PREFIX}/../inclu
5113    fi    fi
5114  fi  fi
5115  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
5116  echo "configure:5052: checking for main in -llieee" >&5  echo "configure:5117: checking for main in -llieee" >&5
5117  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
5118  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
5119    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5056  else Line 5121  else
5121    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5122  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
5123  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5124  #line 5060 "configure"  #line 5125 "configure"
5125  #include "confdefs.h"  #include "confdefs.h"
5126    
5127  int main() {  int main() {
5128  main()  main()
5129  ; return 0; }  ; return 0; }
5130  EOF  EOF
5131  if { (eval echo configure:5067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5132    rm -rf conftest*    rm -rf conftest*
5133    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5134  else  else
# Line 5128  NOTIFY=$enable_notify Line 5193  NOTIFY=$enable_notify
5193  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
5194    
5195  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
5196  echo "configure:5132: checking alloca" >&5  echo "configure:5197: checking alloca" >&5
5197  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5198    gcl_ok=no    gcl_ok=no
5199  else  else
5200    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5201  #line 5137 "configure"  #line 5202 "configure"
5202  #include "confdefs.h"  #include "confdefs.h"
5203  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
5204  EOF  EOF
5205  if { (eval echo configure:5141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5206  then  then
5207    :    :
5208  else  else
# Line 5160  else Line 5225  else
5225    gcl_ok=no    gcl_ok=no
5226  else  else
5227    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5228  #line 5164 "configure"  #line 5229 "configure"
5229  #include "confdefs.h"  #include "confdefs.h"
5230  #include <alloca.h>  #include <alloca.h>
5231    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
5232  EOF  EOF
5233  if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5234  then  then
5235    :    :
5236  else  else
# Line 5226  if test $gcl_ok = no ; then     echo "$a Line 5291  if test $gcl_ok = no ; then     echo "$a
5291  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
5292  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
5293  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
5294  echo "configure:5230: checking Checking for buggy gcc version from redhat" >&5  echo "configure:5295: checking Checking for buggy gcc version from redhat" >&5
5295  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
5296     then     then
5297          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1
# Line 5244  fi Line 5309  fi
5309    
5310  LIBS="$LIBS $TLIBS"  LIBS="$LIBS $TLIBS"
5311    
5312  CFLAGS="$TCFLAGS"  FINAL_CFLAGS="$TCFLAGS"
5313    
5314    CFLAGS="$TCFLAGS  -I\$(GCLDIR)/o"
5315    
5316    
5317  if test -f h/$use.defs  ; then  if test -f h/$use.defs  ; then
# Line 5393  s%@AWK@%$AWK%g Line 5460  s%@AWK@%$AWK%g
5460  s%@MAKEINFO@%$MAKEINFO%g  s%@MAKEINFO@%$MAKEINFO%g
5461  s%@GMP@%$GMP%g  s%@GMP@%$GMP%g
5462  s%@GMPDIR@%$GMPDIR%g  s%@GMPDIR@%$GMPDIR%g
 s%@MP_INCLUDE@%$MP_INCLUDE%g  
5463  s%@X_CFLAGS@%$X_CFLAGS%g  s%@X_CFLAGS@%$X_CFLAGS%g
5464  s%@X_PRE_LIBS@%$X_PRE_LIBS%g  s%@X_PRE_LIBS@%$X_PRE_LIBS%g
5465  s%@X_LIBS@%$X_LIBS%g  s%@X_LIBS@%$X_LIBS%g
# Line 5432  s%@TCL_DL_LIBS@%$TCL_DL_LIBS%g Line 5498  s%@TCL_DL_LIBS@%$TCL_DL_LIBS%g
5498  s%@TCL_LIBS@%$TCL_LIBS%g  s%@TCL_LIBS@%$TCL_LIBS%g
5499  s%@NOTIFY@%$NOTIFY%g  s%@NOTIFY@%$NOTIFY%g
5500  s%@BROKEN_O4_OPT@%$BROKEN_O4_OPT%g  s%@BROKEN_O4_OPT@%$BROKEN_O4_OPT%g
5501    s%@FINAL_CFLAGS@%$FINAL_CFLAGS%g
5502  s%@use@%$use%g  s%@use@%$use%g
5503    
5504  CEOF  CEOF

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

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