/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.90 by camm, Mon Nov 25 13:36:16 2002 UTC revision 1.91 by camm, Wed Nov 27 13:53:40 2002 UTC
# Line 1484  else Line 1484  else
1484      fi      fi
1485  fi  fi
1486    
1487  MY_SUBDIRS=  #MY_SUBDIRS=
1488    
1489  #  #
1490  # GMP  # GMP
# Line 1497  if test $use_gmp = yes ; then Line 1497  if test $use_gmp = yes ; then
1497    
1498   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
1499  echo "configure:1500: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:1500: checking use_gmp=yes, doing configure in gmp directory" >&5
1500  # echo   echo
1501  # echo "#"   echo "#"
1502  # echo "#"   echo "#"
1503  # echo "# -------------------"   echo "# -------------------"
1504  # echo "# Subconfigure of GMP"   echo "# Subconfigure of GMP"
1505  # echo "#"   echo "#"
1506  # echo "#"   echo "#"
1507    
1508   if test "$enable_oldgmp" = "yes" ; then   if test "$enable_oldgmp" = "yes" ; then
1509          GMPDIR=gmp          GMPDIR=gmp
# Line 1511  echo "configure:1500: checking use_gmp=y Line 1511  echo "configure:1500: checking use_gmp=y
1511          GMPDIR=gmp3          GMPDIR=gmp3
1512   fi   fi
1513    
1514   case "$use" in   cd $GMPDIR && ./configure && cd ..
1515  #  Seem to be some problems with gmp3 on 68060 machines.  CM  #MY_SUBDIRS="$MY_SUBDIRS $GMPDIR"
1516  #   m68k-linux)  
1517  #      (cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;;   echo "#"
1518     *)   echo "#"
1519  #      (cd $GMPDIR && ./configure) ;;   echo "#"
1520         MY_SUBDIRS="$MY_SUBDIRS $GMPDIR" ;;   echo "# Subconfigure of GMP done"
1521   esac   echo "# ------------------------"
1522  # echo "#"   echo "#"
 # echo "#"  
 # echo "#"  
 # echo "# Subconfigure of GMP done"  
 # echo "# ------------------------"  
 # echo "#"  
1523    
1524   PATCHED_SYMBOLS=""   PATCHED_SYMBOLS=""
1525   if test "$enable_dynsysgmp" = "yes" ; then   if test "$enable_dynsysgmp" = "yes" ; then
1526          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
1527  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6  echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
1528  echo "configure:1534: checking for gmp.h" >&5  echo "configure:1529: checking for gmp.h" >&5
1529  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1530    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1531  else  else
1532    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1533  #line 1539 "configure"  #line 1534 "configure"
1534  #include "confdefs.h"  #include "confdefs.h"
1535  #include <gmp.h>  #include <gmp.h>
1536  EOF  EOF
1537  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1538  { (eval echo configure:1544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1539  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1540  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1541    rm -rf conftest*    rm -rf conftest*
# Line 1557  fi Line 1552  fi
1552  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1553    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1554    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
1555  echo "configure:1561: checking for __gmpz_init in -lgmp" >&5  echo "configure:1556: checking for __gmpz_init in -lgmp" >&5
1556  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
1557  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
1558    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1565  else Line 1560  else
1560    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1561  LIBS="-lgmp  $LIBS"  LIBS="-lgmp  $LIBS"
1562  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1563  #line 1569 "configure"  #line 1564 "configure"
1564  #include "confdefs.h"  #include "confdefs.h"
1565  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1566  /* 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 1576  int main() { Line 1571  int main() {
1571  __gmpz_init()  __gmpz_init()
1572  ; return 0; }  ; return 0; }
1573  EOF  EOF
1574  if { (eval echo configure:1580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1575    rm -rf conftest*    rm -rf conftest*
1576    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1577  else  else
# Line 1622  else Line 1617  else
1617  fi  fi
1618    
1619   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
1620  echo "configure:1626: checking "for size of gmp limbs"" >&5  echo "configure:1621: checking "for size of gmp limbs"" >&5
1621   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1622    mpsize=0    mpsize=0
1623  else  else
1624    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1625  #line 1631 "configure"  #line 1626 "configure"
1626  #include "confdefs.h"  #include "confdefs.h"
1627  #include <stdio.h>  #include <stdio.h>
1628          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1638  else Line 1633  else
1633          return 0;          return 0;
1634          }          }
1635  EOF  EOF
1636  if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1637  then  then
1638    mpsize=`cat conftest1`    mpsize=`cat conftest1`
1639  else  else
# Line 1661  EOF Line 1656  EOF
1656   echo "$ac_t""$mpsize" 1>&6   echo "$ac_t""$mpsize" 1>&6
1657    
1658   echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6   echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6
1659  echo "configure:1665: checking "_SHORT_LIMB"" >&5  echo "configure:1660: checking "_SHORT_LIMB"" >&5
1660   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1661    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1662  else  else
1663    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1664  #line 1670 "configure"  #line 1665 "configure"
1665  #include "confdefs.h"  #include "confdefs.h"
1666  #include <stdio.h>  #include <stdio.h>
1667          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1678  else Line 1673  else
1673          #endif          #endif
1674          }          }
1675  EOF  EOF
1676  if { (eval echo configure:1682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1677  then  then
1678    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1679  #define __SHORT_LIMB 1  #define __SHORT_LIMB 1
# Line 1694  rm -fr conftest* Line 1689  rm -fr conftest*
1689  fi  fi
1690    
1691   echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6   echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6
1692  echo "configure:1698: checking "_LONG_LONG_LIMB"" >&5  echo "configure:1693: checking "_LONG_LONG_LIMB"" >&5
1693   if test "$cross_compiling" = yes; then   if test "$cross_compiling" = yes; then
1694    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1695  else  else
1696    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1697  #line 1703 "configure"  #line 1698 "configure"
1698  #include "confdefs.h"  #include "confdefs.h"
1699  #include <stdio.h>  #include <stdio.h>
1700          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
# Line 1711  else Line 1706  else
1706          #endif          #endif
1707          }          }
1708  EOF  EOF
1709  if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1710  then  then
1711    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1712  #define __LONG_LONG_LIMB 1  #define __LONG_LONG_LIMB 1
# Line 1750  fi Line 1745  fi
1745  # 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.
1746  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
1747  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
1748  echo "configure:1754: checking for X" >&5  echo "configure:1749: checking for X" >&5
1749    
1750  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
1751  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 1812  if test "$ac_x_includes" = NO; then Line 1807  if test "$ac_x_includes" = NO; then
1807    
1808    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
1809  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1810  #line 1816 "configure"  #line 1811 "configure"
1811  #include "confdefs.h"  #include "confdefs.h"
1812  #include <$x_direct_test_include>  #include <$x_direct_test_include>
1813  EOF  EOF
1814  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1815  { (eval echo configure:1821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1816  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1817  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1818    rm -rf conftest*    rm -rf conftest*
# Line 1886  if test "$ac_x_libraries" = NO; then Line 1881  if test "$ac_x_libraries" = NO; then
1881    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1882    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
1883  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1884  #line 1890 "configure"  #line 1885 "configure"
1885  #include "confdefs.h"  #include "confdefs.h"
1886    
1887  int main() {  int main() {
1888  ${x_direct_test_function}()  ${x_direct_test_function}()
1889  ; return 0; }  ; return 0; }
1890  EOF  EOF
1891  if { (eval echo configure:1897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1892    rm -rf conftest*    rm -rf conftest*
1893    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
1894  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 1999  else Line 1994  else
1994      case "`(uname -sr) 2>/dev/null`" in      case "`(uname -sr) 2>/dev/null`" in
1995      "SunOS 5"*)      "SunOS 5"*)
1996        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
1997  echo "configure:2003: checking whether -R must be followed by a space" >&5  echo "configure:1998: checking whether -R must be followed by a space" >&5
1998        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
1999        cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
2000  #line 2006 "configure"  #line 2001 "configure"
2001  #include "confdefs.h"  #include "confdefs.h"
2002    
2003  int main() {  int main() {
2004    
2005  ; return 0; }  ; return 0; }
2006  EOF  EOF
2007  if { (eval echo configure:2013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2008    rm -rf conftest*    rm -rf conftest*
2009    ac_R_nospace=yes    ac_R_nospace=yes
2010  else  else
# Line 2025  rm -f conftest* Line 2020  rm -f conftest*
2020        else        else
2021          LIBS="$ac_xsave_LIBS -R $x_libraries"          LIBS="$ac_xsave_LIBS -R $x_libraries"
2022          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2023  #line 2029 "configure"  #line 2024 "configure"
2024  #include "confdefs.h"  #include "confdefs.h"
2025    
2026  int main() {  int main() {
2027    
2028  ; return 0; }  ; return 0; }
2029  EOF  EOF
2030  if { (eval echo configure:2036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2031    rm -rf conftest*    rm -rf conftest*
2032    ac_R_space=yes    ac_R_space=yes
2033  else  else
# Line 2064  rm -f conftest* Line 2059  rm -f conftest*
2059      # libraries were built with DECnet support.  And karl@cs.umb.edu says      # libraries were built with DECnet support.  And karl@cs.umb.edu says
2060      # the Alpha needs dnet_stub (dnet does not exist).      # the Alpha needs dnet_stub (dnet does not exist).
2061      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
2062  echo "configure:2068: checking for dnet_ntoa in -ldnet" >&5  echo "configure:2063: checking for dnet_ntoa in -ldnet" >&5
2063  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2064  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
2065    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2072  else Line 2067  else
2067    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2068  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
2069  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2070  #line 2076 "configure"  #line 2071 "configure"
2071  #include "confdefs.h"  #include "confdefs.h"
2072  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2073  /* 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 2083  int main() { Line 2078  int main() {
2078  dnet_ntoa()  dnet_ntoa()
2079  ; return 0; }  ; return 0; }
2080  EOF  EOF
2081  if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2082    rm -rf conftest*    rm -rf conftest*
2083    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2084  else  else
# Line 2105  fi Line 2100  fi
2100    
2101      if test $ac_cv_lib_dnet_dnet_ntoa = no; then      if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2102        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
2103  echo "configure:2109: checking for dnet_ntoa in -ldnet_stub" >&5  echo "configure:2104: checking for dnet_ntoa in -ldnet_stub" >&5
2104  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
2105  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
2106    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2113  else Line 2108  else
2108    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2109  LIBS="-ldnet_stub  $LIBS"  LIBS="-ldnet_stub  $LIBS"
2110  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2111  #line 2117 "configure"  #line 2112 "configure"
2112  #include "confdefs.h"  #include "confdefs.h"
2113  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2114  /* 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 2124  int main() { Line 2119  int main() {
2119  dnet_ntoa()  dnet_ntoa()
2120  ; return 0; }  ; return 0; }
2121  EOF  EOF
2122  if { (eval echo configure:2128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2123    rm -rf conftest*    rm -rf conftest*
2124    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2125  else  else
# Line 2153  fi Line 2148  fi
2148      # The nsl library prevents programs from opening the X display      # The nsl library prevents programs from opening the X display
2149      # on Irix 5.2, according to dickey@clark.net.      # on Irix 5.2, according to dickey@clark.net.
2150      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
2151  echo "configure:2157: checking for gethostbyname" >&5  echo "configure:2152: checking for gethostbyname" >&5
2152  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
2153    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2154  else  else
2155    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2156  #line 2162 "configure"  #line 2157 "configure"
2157  #include "confdefs.h"  #include "confdefs.h"
2158  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2159      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 2181  gethostbyname(); Line 2176  gethostbyname();
2176    
2177  ; return 0; }  ; return 0; }
2178  EOF  EOF
2179  if { (eval echo configure:2185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2180    rm -rf conftest*    rm -rf conftest*
2181    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
2182  else  else
# Line 2202  fi Line 2197  fi
2197    
2198      if test $ac_cv_func_gethostbyname = no; then      if test $ac_cv_func_gethostbyname = no; then
2199        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
2200  echo "configure:2206: checking for gethostbyname in -lnsl" >&5  echo "configure:2201: checking for gethostbyname in -lnsl" >&5
2201  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
2202  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
2203    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2210  else Line 2205  else
2205    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2206  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2207  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2208  #line 2214 "configure"  #line 2209 "configure"
2209  #include "confdefs.h"  #include "confdefs.h"
2210  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2211  /* 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 2221  int main() { Line 2216  int main() {
2216  gethostbyname()  gethostbyname()
2217  ; return 0; }  ; return 0; }
2218  EOF  EOF
2219  if { (eval echo configure:2225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2220    rm -rf conftest*    rm -rf conftest*
2221    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2222  else  else
# Line 2251  fi Line 2246  fi
2246      # -lsocket must be given before -lnsl if both are needed.      # -lsocket must be given before -lnsl if both are needed.
2247      # We assume that if connect needs -lnsl, so does gethostbyname.      # We assume that if connect needs -lnsl, so does gethostbyname.
2248      echo $ac_n "checking for connect""... $ac_c" 1>&6      echo $ac_n "checking for connect""... $ac_c" 1>&6
2249  echo "configure:2255: checking for connect" >&5  echo "configure:2250: checking for connect" >&5
2250  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2251    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2252  else  else
2253    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2254  #line 2260 "configure"  #line 2255 "configure"
2255  #include "confdefs.h"  #include "confdefs.h"
2256  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2257      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 2279  connect(); Line 2274  connect();
2274    
2275  ; return 0; }  ; return 0; }
2276  EOF  EOF
2277  if { (eval echo configure:2283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2278    rm -rf conftest*    rm -rf conftest*
2279    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
2280  else  else
# Line 2300  fi Line 2295  fi
2295    
2296      if test $ac_cv_func_connect = no; then      if test $ac_cv_func_connect = no; then
2297        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2298  echo "configure:2304: checking for connect in -lsocket" >&5  echo "configure:2299: checking for connect in -lsocket" >&5
2299  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2300  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
2301    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2308  else Line 2303  else
2303    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2304  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
2305  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2306  #line 2312 "configure"  #line 2307 "configure"
2307  #include "confdefs.h"  #include "confdefs.h"
2308  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2309  /* 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 2319  int main() { Line 2314  int main() {
2314  connect()  connect()
2315  ; return 0; }  ; return 0; }
2316  EOF  EOF
2317  if { (eval echo configure:2323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2318    rm -rf conftest*    rm -rf conftest*
2319    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2320  else  else
# Line 2343  fi Line 2338  fi
2338    
2339      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2340      echo $ac_n "checking for remove""... $ac_c" 1>&6      echo $ac_n "checking for remove""... $ac_c" 1>&6
2341  echo "configure:2347: checking for remove" >&5  echo "configure:2342: checking for remove" >&5
2342  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2343    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2344  else  else
2345    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2346  #line 2352 "configure"  #line 2347 "configure"
2347  #include "confdefs.h"  #include "confdefs.h"
2348  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2349      which can conflict with char remove(); below.  */      which can conflict with char remove(); below.  */
# Line 2371  remove(); Line 2366  remove();
2366    
2367  ; return 0; }  ; return 0; }
2368  EOF  EOF
2369  if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2370    rm -rf conftest*    rm -rf conftest*
2371    eval "ac_cv_func_remove=yes"    eval "ac_cv_func_remove=yes"
2372  else  else
# Line 2392  fi Line 2387  fi
2387    
2388      if test $ac_cv_func_remove = no; then      if test $ac_cv_func_remove = no; then
2389        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2390  echo "configure:2396: checking for remove in -lposix" >&5  echo "configure:2391: checking for remove in -lposix" >&5
2391  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2392  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
2393    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2400  else Line 2395  else
2395    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2396  LIBS="-lposix  $LIBS"  LIBS="-lposix  $LIBS"
2397  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2398  #line 2404 "configure"  #line 2399 "configure"
2399  #include "confdefs.h"  #include "confdefs.h"
2400  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2401  /* 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 2411  int main() { Line 2406  int main() {
2406  remove()  remove()
2407  ; return 0; }  ; return 0; }
2408  EOF  EOF
2409  if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2410    rm -rf conftest*    rm -rf conftest*
2411    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2412  else  else
# Line 2435  fi Line 2430  fi
2430    
2431      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2432      echo $ac_n "checking for shmat""... $ac_c" 1>&6      echo $ac_n "checking for shmat""... $ac_c" 1>&6
2433  echo "configure:2439: checking for shmat" >&5  echo "configure:2434: checking for shmat" >&5
2434  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2435    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2436  else  else
2437    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2438  #line 2444 "configure"  #line 2439 "configure"
2439  #include "confdefs.h"  #include "confdefs.h"
2440  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2441      which can conflict with char shmat(); below.  */      which can conflict with char shmat(); below.  */
# Line 2463  shmat(); Line 2458  shmat();
2458    
2459  ; return 0; }  ; return 0; }
2460  EOF  EOF
2461  if { (eval echo configure:2467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2462    rm -rf conftest*    rm -rf conftest*
2463    eval "ac_cv_func_shmat=yes"    eval "ac_cv_func_shmat=yes"
2464  else  else
# Line 2484  fi Line 2479  fi
2479    
2480      if test $ac_cv_func_shmat = no; then      if test $ac_cv_func_shmat = no; then
2481        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2482  echo "configure:2488: checking for shmat in -lipc" >&5  echo "configure:2483: checking for shmat in -lipc" >&5
2483  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2484  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
2485    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2492  else Line 2487  else
2487    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2488  LIBS="-lipc  $LIBS"  LIBS="-lipc  $LIBS"
2489  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2490  #line 2496 "configure"  #line 2491 "configure"
2491  #include "confdefs.h"  #include "confdefs.h"
2492  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2493  /* 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 2503  int main() { Line 2498  int main() {
2498  shmat()  shmat()
2499  ; return 0; }  ; return 0; }
2500  EOF  EOF
2501  if { (eval echo configure:2507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2502    rm -rf conftest*    rm -rf conftest*
2503    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2504  else  else
# Line 2536  fi Line 2531  fi
2531    # libraries we check for below, so use a different variable.    # libraries we check for below, so use a different variable.
2532    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2533    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2534  echo "configure:2540: checking for IceConnectionNumber in -lICE" >&5  echo "configure:2535: checking for IceConnectionNumber in -lICE" >&5
2535  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2536  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
2537    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2544  else Line 2539  else
2539    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2540  LIBS="-lICE $X_EXTRA_LIBS $LIBS"  LIBS="-lICE $X_EXTRA_LIBS $LIBS"
2541  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2542  #line 2548 "configure"  #line 2543 "configure"
2543  #include "confdefs.h"  #include "confdefs.h"
2544  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2545  /* 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 2555  int main() { Line 2550  int main() {
2550  IceConnectionNumber()  IceConnectionNumber()
2551  ; return 0; }  ; return 0; }
2552  EOF  EOF
2553  if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2554    rm -rf conftest*    rm -rf conftest*
2555    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2556  else  else
# Line 2586  echo $X_PRE_LIBS Line 2581  echo $X_PRE_LIBS
2581    
2582  miss=0  miss=0
2583  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6
2584  echo "configure:2590: checking for main in -lXmu" >&5  echo "configure:2585: checking for main in -lXmu" >&5
2585  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`
2586  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
2587    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2594  else Line 2589  else
2589    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2590  LIBS="-lXmu $X_LIBS $LIBS"  LIBS="-lXmu $X_LIBS $LIBS"
2591  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2592  #line 2598 "configure"  #line 2593 "configure"
2593  #include "confdefs.h"  #include "confdefs.h"
2594    
2595  int main() {  int main() {
2596  main()  main()
2597  ; return 0; }  ; return 0; }
2598  EOF  EOF
2599  if { (eval echo configure:2605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2600    rm -rf conftest*    rm -rf conftest*
2601    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2602  else  else
# Line 2623  miss=1 Line 2618  miss=1
2618  fi  fi
2619    
2620  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6
2621  echo "configure:2627: checking for main in -lXt" >&5  echo "configure:2622: checking for main in -lXt" >&5
2622  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`
2623  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
2624    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2631  else Line 2626  else
2626    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2627  LIBS="-lXt $X_LIBS $LIBS"  LIBS="-lXt $X_LIBS $LIBS"
2628  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2629  #line 2635 "configure"  #line 2630 "configure"
2630  #include "confdefs.h"  #include "confdefs.h"
2631    
2632  int main() {  int main() {
2633  main()  main()
2634  ; return 0; }  ; return 0; }
2635  EOF  EOF
2636  if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2637    rm -rf conftest*    rm -rf conftest*
2638    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2639  else  else
# Line 2660  miss=1 Line 2655  miss=1
2655  fi  fi
2656    
2657  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6
2658  echo "configure:2664: checking for main in -lXext" >&5  echo "configure:2659: checking for main in -lXext" >&5
2659  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`
2660  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
2661    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2668  else Line 2663  else
2663    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2664  LIBS="-lXext $X_LIBS $LIBS"  LIBS="-lXext $X_LIBS $LIBS"
2665  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2666  #line 2672 "configure"  #line 2667 "configure"
2667  #include "confdefs.h"  #include "confdefs.h"
2668    
2669  int main() {  int main() {
2670  main()  main()
2671  ; return 0; }  ; return 0; }
2672  EOF  EOF
2673  if { (eval echo configure:2679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2674    rm -rf conftest*    rm -rf conftest*
2675    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2676  else  else
# Line 2697  miss=1 Line 2692  miss=1
2692  fi  fi
2693    
2694  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6
2695  echo "configure:2701: checking for main in -lXaw" >&5  echo "configure:2696: checking for main in -lXaw" >&5
2696  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`
2697  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
2698    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2705  else Line 2700  else
2700    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2701  LIBS="-lXaw $X_LIBS $LIBS"  LIBS="-lXaw $X_LIBS $LIBS"
2702  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2703  #line 2709 "configure"  #line 2704 "configure"
2704  #include "confdefs.h"  #include "confdefs.h"
2705    
2706  int main() {  int main() {
2707  main()  main()
2708  ; return 0; }  ; return 0; }
2709  EOF  EOF
2710  if { (eval echo configure:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2711    rm -rf conftest*    rm -rf conftest*
2712    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2713  else  else
# Line 2734  miss=1 Line 2729  miss=1
2729  fi  fi
2730    
2731  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6
2732  echo "configure:2738: checking for main in -lX11" >&5  echo "configure:2733: checking for main in -lX11" >&5
2733  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`
2734  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2735    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2742  else Line 2737  else
2737    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2738  LIBS="-lX11 $X_LIBS $LIBS"  LIBS="-lX11 $X_LIBS $LIBS"
2739  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2740  #line 2746 "configure"  #line 2741 "configure"
2741  #include "confdefs.h"  #include "confdefs.h"
2742    
2743  int main() {  int main() {
2744  main()  main()
2745  ; return 0; }  ; return 0; }
2746  EOF  EOF
2747  if { (eval echo configure:2753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2748    rm -rf conftest*    rm -rf conftest*
2749    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2750  else  else
# Line 2788  fi Line 2783  fi
2783  if test "$enable_dlopen" = "yes" ; then  if test "$enable_dlopen" = "yes" ; then
2784    
2785          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2786  echo "configure:2792: checking for dlopen in -ldl" >&5  echo "configure:2787: checking for dlopen in -ldl" >&5
2787  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2788  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
2789    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2796  else Line 2791  else
2791    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2792  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
2793  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2794  #line 2800 "configure"  #line 2795 "configure"
2795  #include "confdefs.h"  #include "confdefs.h"
2796  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2797  /* 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 2807  int main() { Line 2802  int main() {
2802  dlopen()  dlopen()
2803  ; return 0; }  ; return 0; }
2804  EOF  EOF
2805  if { (eval echo configure:2811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2806    rm -rf conftest*    rm -rf conftest*
2807    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2808  else  else
# Line 2843  fi Line 2838  fi
2838  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then  if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then
2839          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
2840  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
2841  echo "configure:2847: checking for bfd.h" >&5  echo "configure:2842: checking for bfd.h" >&5
2842  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2843    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2844  else  else
2845    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2846  #line 2852 "configure"  #line 2847 "configure"
2847  #include "confdefs.h"  #include "confdefs.h"
2848  #include <bfd.h>  #include <bfd.h>
2849  EOF  EOF
2850  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2851  { (eval echo configure:2857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2852  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2853  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2854    rm -rf conftest*    rm -rf conftest*
# Line 2870  fi Line 2865  fi
2865  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2866    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2867    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
2868  echo "configure:2874: checking for bfd_init in -lbfd" >&5  echo "configure:2869: checking for bfd_init in -lbfd" >&5
2869  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
2870  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
2871    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2878  else Line 2873  else
2873    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2874  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
2875  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2876  #line 2882 "configure"  #line 2877 "configure"
2877  #include "confdefs.h"  #include "confdefs.h"
2878  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2879  /* 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 2889  int main() { Line 2884  int main() {
2884  bfd_init()  bfd_init()
2885  ; return 0; }  ; return 0; }
2886  EOF  EOF
2887  if { (eval echo configure:2893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2888    rm -rf conftest*    rm -rf conftest*
2889    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2890  else  else
# Line 2908  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 2903  if eval "test \"`echo '$ac_cv_lib_'$ac_l
2903                  # Old binutils appear to need CONST defined to const                  # Old binutils appear to need CONST defined to const
2904                  #                  #
2905                          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
2906  echo "configure:2912: checking if need to define CONST for bfd" >&5  echo "configure:2907: checking if need to define CONST for bfd" >&5
2907                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
2908    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
2909  else  else
2910    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2911  #line 2917 "configure"  #line 2912 "configure"
2912  #include "confdefs.h"  #include "confdefs.h"
2913  #define IN_GCC  #define IN_GCC
2914                                      #include <bfd.h>                                      #include <bfd.h>
2915                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
2916  EOF  EOF
2917  if { (eval echo configure:2923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2918  then  then
2919    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2920  else  else
# Line 2930  else Line 2925  else
2925    echo "$ac_t""cannot use bfd" 1>&6 exit 1;    echo "$ac_t""cannot use bfd" 1>&6 exit 1;
2926  else  else
2927    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2928  #line 2934 "configure"  #line 2929 "configure"
2929  #include "confdefs.h"  #include "confdefs.h"
2930  #define CONST const  #define CONST const
2931                                              #define IN_GCC                                              #define IN_GCC
2932                                              #include <bfd.h>                                              #include <bfd.h>
2933                                              int main() {symbol_info t; return 0;}                                              int main() {symbol_info t; return 0;}
2934  EOF  EOF
2935  if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2936  then  then
2937    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2938                                          cat >> confdefs.h <<\EOF                                          cat >> confdefs.h <<\EOF
# Line 2987  EOF Line 2982  EOF
2982  fi  fi
2983    
2984  if test "$enable_locbfd" = "yes" ; then  if test "$enable_locbfd" = "yes" ; then
2985  #       echo "#"          echo "#"
2986  #       echo "#"          echo "#"
2987  #       echo "# -------------------------"          echo "# -------------------------"
2988  #       echo "# Subconfigure of LIBIBERTY"          echo "# Subconfigure of LIBIBERTY"
2989  #       echo "#"          echo "#"
2990  #       echo "#"          echo "#"
2991  #       cd binutils/libiberty && chmod +x configure && ./configure && cd ../..          cd binutils/libiberty && chmod +x configure && ./configure && cd ../..
2992          MY_SUBDIRS="$MY_SUBDIRS binutils/libiberty "  #       MY_SUBDIRS="$MY_SUBDIRS binutils/libiberty "
2993  #       echo "#"          echo "#"
2994  #       echo "#"          echo "#"
2995  #       echo "#"          echo "#"
2996  #       echo "# Subconfigure of LIBIBERTY done"          echo "# Subconfigure of LIBIBERTY done"
2997  #       echo "# ------------------------------"          echo "# ------------------------------"
2998  #       echo "#"          echo "#"
2999  #       echo "#"          echo "#"
3000  #       echo "#"          echo "#"
3001  #       echo "# -------------------"          echo "# -------------------"
3002  #       echo "# Subconfigure of BFD"          echo "# Subconfigure of BFD"
3003  #       echo "#"          echo "#"
3004  #       echo "#"          echo "#"
3005  #       cd binutils/bfd && chmod +x configure && ./configure && cd ../..          cd binutils/bfd && chmod +x configure && ./configure && cd ../..
3006          MY_SUBDIRS="$MY_SUBDIRS binutils/bfd "  #       MY_SUBDIRS="$MY_SUBDIRS binutils/bfd "
3007  #       echo "#"          echo "#"
3008  #       echo "#"          echo "#"
3009  #       echo "#"          echo "#"
3010  #       echo "# Subconfigure of BFD done"          echo "# Subconfigure of BFD done"
3011  #       echo "# ------------------------"          echo "# ------------------------"
3012  #       echo "#"          echo "#"
3013          TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a"          TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a"
3014          cat >> confdefs.h <<\EOF          cat >> confdefs.h <<\EOF
3015  #define HAVE_LIBBFD 1  #define HAVE_LIBBFD 1
# Line 3024  EOF Line 3019  EOF
3019                    
3020  fi  fi
3021    
3022  subdirs="$MY_SUBDIRS"  #AC_CONFIG_SUBDIRS($MY_SUBDIRS)
   
3023    
3024  # Find where Data begins.  This is used by the storage allocation  # Find where Data begins.  This is used by the storage allocation
3025  # mechanism, in the PAGE macro.  This offset is subtracted from  # mechanism, in the PAGE macro.  This offset is subtracted from
3026  # addresses, in calculating a page for an address in the heap.  # addresses, in calculating a page for an address in the heap.
3027    
3028  echo $ac_n "checking size of long *""... $ac_c" 1>&6  echo $ac_n "checking size of long *""... $ac_c" 1>&6
3029  echo "configure:3036: checking size of long *" >&5  echo "configure:3030: checking size of long *" >&5
3030  if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then
3031    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3032  else  else
# Line 3040  else Line 3034  else
3034    ac_cv_sizeof_long_p=0    ac_cv_sizeof_long_p=0
3035  else  else
3036    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3037  #line 3044 "configure"  #line 3038 "configure"
3038  #include "confdefs.h"  #include "confdefs.h"
3039  #include <stdio.h>  #include <stdio.h>
3040  #include <sys/types.h>  #include <sys/types.h>
# Line 3052  main() Line 3046  main()
3046    exit(0);    exit(0);
3047  }  }
3048  EOF  EOF
3049  if { (eval echo configure:3056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3050  then  then
3051    ac_cv_sizeof_long_p=`cat conftestval`    ac_cv_sizeof_long_p=`cat conftestval`
3052  else  else
# Line 3076  for ac_hdr in endian.h Line 3070  for ac_hdr in endian.h
3070  do  do
3071  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3072  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3073  echo "configure:3080: checking for $ac_hdr" >&5  echo "configure:3074: checking for $ac_hdr" >&5
3074  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3075    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3076  else  else
3077    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3078  #line 3085 "configure"  #line 3079 "configure"
3079  #include "confdefs.h"  #include "confdefs.h"
3080  #include <$ac_hdr>  #include <$ac_hdr>
3081  EOF  EOF
3082  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3083  { (eval echo configure:3090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3084  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3085  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3086    rm -rf conftest*    rm -rf conftest*
# Line 3107  if eval "test \"`echo '$ac_cv_header_'$a Line 3101  if eval "test \"`echo '$ac_cv_header_'$a
3101  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
3102  EOF  EOF
3103   echo $ac_n "checking "endianness"""... $ac_c" 1>&6   echo $ac_n "checking "endianness"""... $ac_c" 1>&6
3104  echo "configure:3111: checking "endianness"" >&5  echo "configure:3105: checking "endianness"" >&5
3105          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
3106    echo "$ac_t""big" 1>&6    echo "$ac_t""big" 1>&6
3107  else  else
3108    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3109  #line 3116 "configure"  #line 3110 "configure"
3110  #include "confdefs.h"  #include "confdefs.h"
3111  #define __ARMEB__  #define __ARMEB__
3112                  #include <endian.h>                  #include <endian.h>
3113                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
3114  EOF  EOF
3115  if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3116  then  then
3117    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3118  #define LITTLE_END 1  #define LITTLE_END 1
# Line 3141  done Line 3135  done
3135    
3136    
3137  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
3138  echo "configure:3145: checking "finding DBEGIN"" >&5  echo "configure:3139: checking "finding DBEGIN"" >&5
3139  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3140    dbegin=0    dbegin=0
3141  else  else
3142    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3143  #line 3150 "configure"  #line 3144 "configure"
3144  #include "confdefs.h"  #include "confdefs.h"
3145  #include <stdio.h>  #include <stdio.h>
3146              #include <stdlib.h>              #include <stdlib.h>
# Line 3163  main() Line 3157  main()
3157    return 0;    return 0;
3158  }  }
3159  EOF  EOF
3160  if { (eval echo configure:3167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3161  then  then
3162    dbegin=`cat conftest1`    dbegin=`cat conftest1`
3163  else  else
# Line 3185  echo "$ac_t""got $dbegin" 1>&6 Line 3179  echo "$ac_t""got $dbegin" 1>&6
3179    
3180    
3181  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
3182  echo "configure:3189: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:3183: checking "finding CSTACK_ADDRESS"" >&5
3183  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3184    cstack_address=0    cstack_address=0
3185  else  else
3186    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3187  #line 3194 "configure"  #line 3188 "configure"
3188  #include "confdefs.h"  #include "confdefs.h"
3189  #include <stdio.h>  #include <stdio.h>
3190  main()  main()
# Line 3202  main() Line 3196  main()
3196    return 0;    return 0;
3197  }  }
3198  EOF  EOF
3199  if { (eval echo configure:3206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3200  then  then
3201    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
3202  else  else
# Line 3224  echo "$ac_t""got $cstack_address" 1>&6 Line 3218  echo "$ac_t""got $cstack_address" 1>&6
3218    
3219    
3220  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
3221  echo "configure:3228: checking "sizeof long long int"" >&5  echo "configure:3222: checking "sizeof long long int"" >&5
3222  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3223    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3224    
3225  else  else
3226    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3227  #line 3234 "configure"  #line 3228 "configure"
3228  #include "confdefs.h"  #include "confdefs.h"
3229  #include <stdio.h>  #include <stdio.h>
3230  main()  main()
# Line 3240  main() Line 3234  main()
3234  }  }
3235    
3236  EOF  EOF
3237  if { (eval echo configure:3244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3238  then  then
3239    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3240  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 3293  fi Line 3287  fi
3287    
3288  # pagewidth  # pagewidth
3289  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
3290  echo "configure:3297: checking for pagewidth" >&5  echo "configure:3291: checking for pagewidth" >&5
3291  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3292    PAGEWIDTH=0    PAGEWIDTH=0
3293  else  else
3294    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3295  #line 3302 "configure"  #line 3296 "configure"
3296  #include "confdefs.h"  #include "confdefs.h"
3297  #include <stdio.h>  #include <stdio.h>
3298              #include <unistd.h>              #include <unistd.h>
# Line 3308  int main() {size_t i=getpagesize(),j; Line 3302  int main() {size_t i=getpagesize(),j;
3302              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
3303              return 0;}              return 0;}
3304  EOF  EOF
3305  if { (eval echo configure:3312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3306  then  then
3307    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
3308  else  else
# Line 3335  EOF Line 3329  EOF
3329  for ac_func in getcwd  for ac_func in getcwd
3330  do  do
3331  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3332  echo "configure:3339: checking for $ac_func" >&5  echo "configure:3333: checking for $ac_func" >&5
3333  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3334    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3335  else  else
3336    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3337  #line 3344 "configure"  #line 3338 "configure"
3338  #include "confdefs.h"  #include "confdefs.h"
3339  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3340      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 3363  $ac_func(); Line 3357  $ac_func();
3357    
3358  ; return 0; }  ; return 0; }
3359  EOF  EOF
3360  if { (eval echo configure:3367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3361    rm -rf conftest*    rm -rf conftest*
3362    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
3363  else  else
# Line 3390  done Line 3384  done
3384  for ac_func in getwd  for ac_func in getwd
3385  do  do
3386  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3387  echo "configure:3394: checking for $ac_func" >&5  echo "configure:3388: checking for $ac_func" >&5
3388  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3389    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3390  else  else
3391    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3392  #line 3399 "configure"  #line 3393 "configure"
3393  #include "confdefs.h"  #include "confdefs.h"
3394  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3395      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 3418  $ac_func(); Line 3412  $ac_func();
3412    
3413  ; return 0; }  ; return 0; }
3414  EOF  EOF
3415  if { (eval echo configure:3422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3416    rm -rf conftest*    rm -rf conftest*
3417    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
3418  else  else
# Line 3443  fi Line 3437  fi
3437  done  done
3438    
3439  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
3440  echo "configure:3447: checking for uname" >&5  echo "configure:3441: checking for uname" >&5
3441  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
3442    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3443  else  else
3444    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3445  #line 3452 "configure"  #line 3446 "configure"
3446  #include "confdefs.h"  #include "confdefs.h"
3447  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3448      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 3471  uname(); Line 3465  uname();
3465    
3466  ; return 0; }  ; return 0; }
3467  EOF  EOF
3468  if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3469    rm -rf conftest*    rm -rf conftest*
3470    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
3471  else  else
# Line 3495  EOF Line 3489  EOF
3489  fi  fi
3490    
3491  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
3492  echo "configure:3499: checking for gettimeofday" >&5  echo "configure:3493: checking for gettimeofday" >&5
3493  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
3494    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3495  else  else
3496    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3497  #line 3504 "configure"  #line 3498 "configure"
3498  #include "confdefs.h"  #include "confdefs.h"
3499  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3500      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 3523  gettimeofday(); Line 3517  gettimeofday();
3517    
3518  ; return 0; }  ; return 0; }
3519  EOF  EOF
3520  if { (eval echo configure:3527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3521    rm -rf conftest*    rm -rf conftest*
3522    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
3523  else  else
# Line 3552  for ac_hdr in sys/ioctl.h Line 3546  for ac_hdr in sys/ioctl.h
3546  do  do
3547  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3548  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3549  echo "configure:3556: checking for $ac_hdr" >&5  echo "configure:3550: checking for $ac_hdr" >&5
3550  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3551    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3552  else  else
3553    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3554  #line 3561 "configure"  #line 3555 "configure"
3555  #include "confdefs.h"  #include "confdefs.h"
3556  #include <$ac_hdr>  #include <$ac_hdr>
3557  EOF  EOF
3558  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3559  { (eval echo configure:3566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3560  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3561  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3562    rm -rf conftest*    rm -rf conftest*
# Line 3602  done Line 3596  done
3596  #--------------------------------------------------------------------  #--------------------------------------------------------------------
3597    
3598  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
3599  echo "configure:3606: checking for BSDgettimeofday" >&5  echo "configure:3600: checking for BSDgettimeofday" >&5
3600  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
3601    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3602  else  else
3603    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3604  #line 3611 "configure"  #line 3605 "configure"
3605  #include "confdefs.h"  #include "confdefs.h"
3606  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3607      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 3630  BSDgettimeofday(); Line 3624  BSDgettimeofday();
3624    
3625  ; return 0; }  ; return 0; }
3626  EOF  EOF
3627  if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3628    rm -rf conftest*    rm -rf conftest*
3629    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
3630  else  else
# Line 3651  EOF Line 3645  EOF
3645  else  else
3646    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
3647  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
3648  echo "configure:3655: checking for gettimeofday" >&5  echo "configure:3649: checking for gettimeofday" >&5
3649  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
3650    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3651  else  else
3652    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3653  #line 3660 "configure"  #line 3654 "configure"
3654  #include "confdefs.h"  #include "confdefs.h"
3655  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3656      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 3679  gettimeofday(); Line 3673  gettimeofday();
3673    
3674  ; return 0; }  ; return 0; }
3675  EOF  EOF
3676  if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3677    rm -rf conftest*    rm -rf conftest*
3678    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
3679  else  else
# Line 3706  fi Line 3700  fi
3700    
3701    
3702  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
3703  echo "configure:3710: checking for gettimeofday declaration" >&5  echo "configure:3704: checking for gettimeofday declaration" >&5
3704    
3705  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3706  #line 3713 "configure"  #line 3707 "configure"
3707  #include "confdefs.h"  #include "confdefs.h"
3708  #include <sys/time.h>  #include <sys/time.h>
3709  EOF  EOF
# Line 3730  rm -f conftest* Line 3724  rm -f conftest*
3724    
3725    
3726  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
3727  echo "configure:3734: checking for sin in -lm" >&5  echo "configure:3728: checking for sin in -lm" >&5
3728  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
3729  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
3730    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3738  else Line 3732  else
3732    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3733  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
3734  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3735  #line 3742 "configure"  #line 3736 "configure"
3736  #include "confdefs.h"  #include "confdefs.h"
3737  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3738  /* 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 3749  int main() { Line 3743  int main() {
3743  sin()  sin()
3744  ; return 0; }  ; return 0; }
3745  EOF  EOF
3746  if { (eval echo configure:3753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3747    rm -rf conftest*    rm -rf conftest*
3748    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3749  else  else
# Line 3771  true Line 3765  true
3765  fi  fi
3766    
3767  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
3768  echo "configure:3775: checking for main in -lmingwex" >&5  echo "configure:3769: checking for main in -lmingwex" >&5
3769  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
3770  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
3771    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3779  else Line 3773  else
3773    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3774  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
3775  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3776  #line 3783 "configure"  #line 3777 "configure"
3777  #include "confdefs.h"  #include "confdefs.h"
3778    
3779  int main() {  int main() {
3780  main()  main()
3781  ; return 0; }  ; return 0; }
3782  EOF  EOF
3783  if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3784    rm -rf conftest*    rm -rf conftest*
3785    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3786  else  else
# Line 3815  for ac_hdr in math.h Line 3809  for ac_hdr in math.h
3809  do  do
3810  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3811  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3812  echo "configure:3819: checking for $ac_hdr" >&5  echo "configure:3813: checking for $ac_hdr" >&5
3813  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3814    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3815  else  else
3816    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3817  #line 3824 "configure"  #line 3818 "configure"
3818  #include "confdefs.h"  #include "confdefs.h"
3819  #include <$ac_hdr>  #include <$ac_hdr>
3820  EOF  EOF
3821  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3822  { (eval echo configure:3829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3823  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3824  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3825    rm -rf conftest*    rm -rf conftest*
# Line 3862  for ac_hdr in values.h Line 3856  for ac_hdr in values.h
3856  do  do
3857  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3858  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3859  echo "configure:3866: checking for $ac_hdr" >&5  echo "configure:3860: checking for $ac_hdr" >&5
3860  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3861    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3862  else  else
3863    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3864  #line 3871 "configure"  #line 3865 "configure"
3865  #include "confdefs.h"  #include "confdefs.h"
3866  #include <$ac_hdr>  #include <$ac_hdr>
3867  EOF  EOF
3868  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3869  { (eval echo configure:3876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3870  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3871  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3872    rm -rf conftest*    rm -rf conftest*
# Line 3909  for ac_hdr in float.h Line 3903  for ac_hdr in float.h
3903  do  do
3904  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3905  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3906  echo "configure:3913: checking for $ac_hdr" >&5  echo "configure:3907: checking for $ac_hdr" >&5
3907  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3908    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3909  else  else
3910    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3911  #line 3918 "configure"  #line 3912 "configure"
3912  #include "confdefs.h"  #include "confdefs.h"
3913  #include <$ac_hdr>  #include <$ac_hdr>
3914  EOF  EOF
3915  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3916  { (eval echo configure:3923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3917  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3918  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3919    rm -rf conftest*    rm -rf conftest*
# Line 3955  done Line 3949  done
3949  # test makes sense.  CM  # test makes sense.  CM
3950  #  #
3951  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
3952  echo "configure:3959: checking for isnormal" >&5  echo "configure:3953: checking for isnormal" >&5
3953  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3954    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
3955  else  else
3956    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3957  #line 3964 "configure"  #line 3958 "configure"
3958  #include "confdefs.h"  #include "confdefs.h"
3959  #define _GNU_SOURCE  #define _GNU_SOURCE
3960              #include <math.h>              #include <math.h>
# Line 3969  else Line 3963  else
3963                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
3964                  }                  }
3965  EOF  EOF
3966  if { (eval echo configure:3973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3967  then  then
3968    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3969  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 3980  else Line 3974  else
3974    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
3975    rm -fr conftest*    rm -fr conftest*
3976    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
3977  echo "configure:3984: checking for fpclass in ieeefp.h" >&5  echo "configure:3978: checking for fpclass in ieeefp.h" >&5
3978                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
3979    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
3980  else  else
3981    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3982  #line 3989 "configure"  #line 3983 "configure"
3983  #include "confdefs.h"  #include "confdefs.h"
3984  #include <ieeefp.h>  #include <ieeefp.h>
3985                              int main() {                              int main() {
# Line 3993  else Line 3987  else
3987                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
3988                                  }                                  }
3989  EOF  EOF
3990  if { (eval echo configure:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3991  then  then
3992    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3993  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 4015  fi Line 4009  fi
4009    
4010    
4011  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
4012  echo "configure:4019: checking for isfinite" >&5  echo "configure:4013: checking for isfinite" >&5
4013  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
4014    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
4015  else  else
4016    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4017  #line 4024 "configure"  #line 4018 "configure"
4018  #include "confdefs.h"  #include "confdefs.h"
4019  #define _GNU_SOURCE  #define _GNU_SOURCE
4020              #include <math.h>              #include <math.h>
# Line 4029  else Line 4023  else
4023                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
4024                  }                  }
4025  EOF  EOF
4026  if { (eval echo configure:4033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4027  then  then
4028    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4029  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 4040  else Line 4034  else
4034    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
4035    rm -fr conftest*    rm -fr conftest*
4036    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
4037  echo "configure:4044: checking for finite()" >&5  echo "configure:4038: checking for finite()" >&5
4038                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
4039    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
4040  else  else
4041    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4042  #line 4049 "configure"  #line 4043 "configure"
4043  #include "confdefs.h"  #include "confdefs.h"
4044  #include <math.h>  #include <math.h>
4045                              #include <ieeefp.h>                              #include <ieeefp.h>
# Line 4054  else Line 4048  else
4048                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
4049                                  }                                  }
4050  EOF  EOF
4051  if { (eval echo configure:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4052  then  then
4053    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4054  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 4095  fi Line 4089  fi
4089  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
4090  #--------------------------------------------------------------------  #--------------------------------------------------------------------
4091  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
4092  echo "configure:4099: checking for sockets" >&5  echo "configure:4093: checking for sockets" >&5
4093  tcl_checkBoth=0  tcl_checkBoth=0
4094  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
4095  echo "configure:4102: checking for connect" >&5  echo "configure:4096: checking for connect" >&5
4096  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
4097    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4098  else  else
4099    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4100  #line 4107 "configure"  #line 4101 "configure"
4101  #include "confdefs.h"  #include "confdefs.h"
4102  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4103      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 4126  connect(); Line 4120  connect();
4120    
4121  ; return 0; }  ; return 0; }
4122  EOF  EOF
4123  if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4124    rm -rf conftest*    rm -rf conftest*
4125    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
4126  else  else
# Line 4148  fi Line 4142  fi
4142    
4143  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
4144      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
4145  echo "configure:4152: checking for main in -lsocket" >&5  echo "configure:4146: checking for main in -lsocket" >&5
4146  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
4147  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
4148    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4156  else Line 4150  else
4150    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4151  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
4152  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4153  #line 4160 "configure"  #line 4154 "configure"
4154  #include "confdefs.h"  #include "confdefs.h"
4155    
4156  int main() {  int main() {
4157  main()  main()
4158  ; return 0; }  ; return 0; }
4159  EOF  EOF
4160  if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4161    rm -rf conftest*    rm -rf conftest*
4162    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4163  else  else
# Line 4191  if test "$tcl_checkBoth" = 1; then Line 4185  if test "$tcl_checkBoth" = 1; then
4185      tk_oldLibs=$TLIBS      tk_oldLibs=$TLIBS
4186      TLIBS="$TLIBS -lsocket -lnsl"      TLIBS="$TLIBS -lsocket -lnsl"
4187      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
4188  echo "configure:4195: checking for accept" >&5  echo "configure:4189: checking for accept" >&5
4189  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
4190    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4191  else  else
4192    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4193  #line 4200 "configure"  #line 4194 "configure"
4194  #include "confdefs.h"  #include "confdefs.h"
4195  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4196      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 4219  accept(); Line 4213  accept();
4213    
4214  ; return 0; }  ; return 0; }
4215  EOF  EOF
4216  if { (eval echo configure:4223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4217    rm -rf conftest*    rm -rf conftest*
4218    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
4219  else  else
# Line 4241  fi Line 4235  fi
4235    
4236  fi  fi
4237  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4238  echo "configure:4245: checking for gethostbyname" >&5  echo "configure:4239: checking for gethostbyname" >&5
4239  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
4240    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4241  else  else
4242    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4243  #line 4250 "configure"  #line 4244 "configure"
4244  #include "confdefs.h"  #include "confdefs.h"
4245  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4246      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 4269  gethostbyname(); Line 4263  gethostbyname();
4263    
4264  ; return 0; }  ; return 0; }
4265  EOF  EOF
4266  if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4267    rm -rf conftest*    rm -rf conftest*
4268    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
4269  else  else
# Line 4287  if eval "test \"`echo '$ac_cv_func_'geth Line 4281  if eval "test \"`echo '$ac_cv_func_'geth
4281  else  else
4282    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4283  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
4284  echo "configure:4291: checking for main in -lnsl" >&5  echo "configure:4285: checking for main in -lnsl" >&5
4285  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
4286  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
4287    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4295  else Line 4289  else
4289    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4290  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
4291  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4292  #line 4299 "configure"  #line 4293 "configure"
4293  #include "confdefs.h"  #include "confdefs.h"
4294    
4295  int main() {  int main() {
4296  main()  main()
4297  ; return 0; }  ; return 0; }
4298  EOF  EOF
4299  if { (eval echo configure:4306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4300    rm -rf conftest*    rm -rf conftest*
4301    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4302  else  else
# Line 4327  fi Line 4321  fi
4321    
4322  if test "$enable_readline" = "yes" ; then  if test "$enable_readline" = "yes" ; then
4323          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
4324  echo "configure:4331: checking for main in -lreadline" >&5  echo "configure:4325: checking for main in -lreadline" >&5
4325  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
4326  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
4327    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4335  else Line 4329  else
4329    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4330  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
4331  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4332  #line 4339 "configure"  #line 4333 "configure"
4333  #include "confdefs.h"  #include "confdefs.h"
4334    
4335  int main() {  int main() {
4336  main()  main()
4337  ; return 0; }  ; return 0; }
4338  EOF  EOF
4339  if { (eval echo configure:4346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4340    rm -rf conftest*    rm -rf conftest*
4341    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4342  else  else
# Line 4374  fi Line 4368  fi
4368    
4369    
4370  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
4371  echo "configure:4378: checking For network code for nsocket.c" >&5  echo "configure:4372: checking For network code for nsocket.c" >&5
4372  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4373  #line 4380 "configure"  #line 4374 "configure"
4374  #include "confdefs.h"  #include "confdefs.h"
4375    
4376  #include <sys/time.h>  #include <sys/time.h>
# Line 4403  int main() { Line 4397  int main() {
4397                    
4398  ; return 0; }  ; return 0; }
4399  EOF  EOF
4400  if { (eval echo configure:4407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4401    rm -rf conftest*    rm -rf conftest*
4402    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4403  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 4420  rm -f conftest* Line 4414  rm -f conftest*
4414    
4415    
4416  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
4417  echo "configure:4424: checking check for listen using fcntl" >&5  echo "configure:4418: checking check for listen using fcntl" >&5
4418  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4419  #line 4426 "configure"  #line 4420 "configure"
4420  #include "confdefs.h"  #include "confdefs.h"
4421  #include <stdio.h>  #include <stdio.h>
4422  #include <fcntl.h>  #include <fcntl.h>
# Line 4435  FILE *fp=fopen("configure.in","r"); Line 4429  FILE *fp=fopen("configure.in","r");
4429    
4430  ; return 0; }  ; return 0; }
4431  EOF  EOF
4432  if { (eval echo configure:4439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4433    rm -rf conftest*    rm -rf conftest*
4434    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4435  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 4454  rm -f conftest* Line 4448  rm -f conftest*
4448    
4449    
4450  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
4451  echo "configure:4458: checking for profil" >&5  echo "configure:4452: checking for profil" >&5
4452  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+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 4463 "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 profil(); below.  */      which can conflict with char profil(); below.  */
# Line 4482  profil(); Line 4476  profil();
4476    
4477  ; return 0; }  ; return 0; }
4478  EOF  EOF
4479  if { (eval echo configure:4486: \"$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_profil=yes"    eval "ac_cv_func_profil=yes"
4482  else  else
# Line 4507  fi Line 4501  fi
4501    
4502    
4503  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
4504  echo "configure:4511: checking for setenv" >&5  echo "configure:4505: checking for setenv" >&5
4505  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
4506    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4507  else  else
4508    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4509  #line 4516 "configure"  #line 4510 "configure"
4510  #include "confdefs.h"  #include "confdefs.h"
4511  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4512      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 4535  setenv(); Line 4529  setenv();
4529    
4530  ; return 0; }  ; return 0; }
4531  EOF  EOF
4532  if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4533    rm -rf conftest*    rm -rf conftest*
4534    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
4535  else  else
# Line 4561  fi Line 4555  fi
4555    
4556  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
4557  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
4558  echo "configure:4565: checking for putenv" >&5  echo "configure:4559: checking for putenv" >&5
4559  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
4560    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4561  else  else
4562    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4563  #line 4570 "configure"  #line 4564 "configure"
4564  #include "confdefs.h"  #include "confdefs.h"
4565  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4566      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 4589  putenv(); Line 4583  putenv();
4583    
4584  ; return 0; }  ; return 0; }
4585  EOF  EOF
4586  if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4587    rm -rf conftest*    rm -rf conftest*
4588    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
4589  else  else
# Line 4615  fi Line 4609  fi
4609  fi  fi
4610    
4611  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
4612  echo "configure:4619: checking for _cleanup" >&5  echo "configure:4613: checking for _cleanup" >&5
4613  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
4614    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4615  else  else
4616    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4617  #line 4624 "configure"  #line 4618 "configure"
4618  #include "confdefs.h"  #include "confdefs.h"
4619  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4620      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 4643  _cleanup(); Line 4637  _cleanup();
4637    
4638  ; return 0; }  ; return 0; }
4639  EOF  EOF
4640  if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4641    rm -rf conftest*    rm -rf conftest*
4642    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
4643  else  else
# Line 4669  fi Line 4663  fi
4663  gcl_ok=no  gcl_ok=no
4664    
4665  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4666  #line 4673 "configure"  #line 4667 "configure"
4667  #include "confdefs.h"  #include "confdefs.h"
4668  #include <ctype.h>  #include <ctype.h>
4669  EOF  EOF
# Line 4697  fi Line 4691  fi
4691    
4692  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
4693  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
4694  echo "configure:4701: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:4695: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
4695    
4696  case $system in  case $system in
4697         OSF*)         OSF*)
# Line 4728  esac Line 4722  esac
4722    
4723    
4724  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
4725  echo "configure:4732: checking check for SV_ONSTACK" >&5  echo "configure:4726: checking check for SV_ONSTACK" >&5
4726  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4727  #line 4734 "configure"  #line 4728 "configure"
4728  #include "confdefs.h"  #include "confdefs.h"
4729  #include <signal.h>  #include <signal.h>
4730  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 4739  int main() { Line 4733  int main() {
4733    
4734  ; return 0; }  ; return 0; }
4735  EOF  EOF
4736  if { (eval echo configure:4743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4737    rm -rf conftest*    rm -rf conftest*
4738    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4739  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 4756  fi Line 4750  fi
4750  rm -f conftest*  rm -f conftest*
4751    
4752  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
4753  echo "configure:4760: checking check for SIGSYS" >&5  echo "configure:4754: checking check for SIGSYS" >&5
4754  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4755  #line 4762 "configure"  #line 4756 "configure"
4756  #include "confdefs.h"  #include "confdefs.h"
4757  #include <signal.h>  #include <signal.h>
4758  int joe=SIGSYS;  int joe=SIGSYS;
# Line 4767  int main() { Line 4761  int main() {
4761    
4762  ; return 0; }  ; return 0; }
4763  EOF  EOF
4764  if { (eval echo configure:4771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4765    rm -rf conftest*    rm -rf conftest*
4766    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4767  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 4785  rm -f conftest* Line 4779  rm -f conftest*
4779    
4780    
4781  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
4782  echo "configure:4789: checking check for SIGEMT" >&5  echo "configure:4783: checking check for SIGEMT" >&5
4783  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4784  #line 4791 "configure"  #line 4785 "configure"
4785  #include "confdefs.h"  #include "confdefs.h"
4786  #include <signal.h>  #include <signal.h>
4787  int joe=SIGEMT;  int joe=SIGEMT;
# Line 4796  int main() { Line 4790  int main() {
4790    
4791  ; return 0; }  ; return 0; }
4792  EOF  EOF
4793  if { (eval echo configure:4800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4794    rm -rf conftest*    rm -rf conftest*
4795    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
4796  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 4820  rm -f conftest* Line 4814  rm -f conftest*
4814  do  do
4815  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4816  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4817  echo "configure:4824: checking for $ac_hdr" >&5  echo "configure:4818: checking for $ac_hdr" >&5
4818  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4819    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4820  else  else
4821    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4822  #line 4829 "configure"  #line 4823 "configure"
4823  #include "confdefs.h"  #include "confdefs.h"
4824  #include <$ac_hdr>  #include <$ac_hdr>
4825  EOF  EOF
4826  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4827  { (eval echo configure:4834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4828  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4829  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4830    rm -rf conftest*    rm -rf conftest*
# Line 4860  done Line 4854  done
4854  do  do
4855  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4856  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4857  echo "configure:4864: checking for $ac_hdr" >&5  echo "configure:4858: checking for $ac_hdr" >&5
4858  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4859    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4860  else  else
4861    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4862  #line 4869 "configure"  #line 4863 "configure"
4863  #include "confdefs.h"  #include "confdefs.h"
4864  #include <$ac_hdr>  #include <$ac_hdr>
4865  EOF  EOF
4866  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4867  { (eval echo configure:4874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4868  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4869  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4870    rm -rf conftest*    rm -rf conftest*
# Line 4897  fi Line 4891  fi
4891  done  done
4892    
4893          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
4894  #line 4901 "configure"  #line 4895 "configure"
4895  #include "confdefs.h"  #include "confdefs.h"
4896  #include <signal.h>  #include <signal.h>
4897                          long code;                            long code;  
# Line 4908  int main() { Line 4902  int main() {
4902                
4903  ; return 0; }  ; return 0; }
4904  EOF  EOF
4905  if { (eval echo configure:4912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4906    rm -rf conftest*    rm -rf conftest*
4907        
4908          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 4929  fi Line 4923  fi
4923  rm -f conftest*  rm -f conftest*
4924         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
4925         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
4926  #line 4933 "configure"  #line 4927 "configure"
4927  #include "confdefs.h"  #include "confdefs.h"
4928  #include <signal.h>  #include <signal.h>
4929               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 4946  int main() { Line 4940  int main() {
4940                    
4941  ; return 0; }  ; return 0; }
4942  EOF  EOF
4943  if { (eval echo configure:4950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4944    rm -rf conftest*    rm -rf conftest*
4945        
4946          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 4989  rm -f conftest* Line 4983  rm -f conftest*
4983  # 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.
4984  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
4985  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4986  echo "configure:4993: checking for $ac_word" >&5  echo "configure:4987: checking for $ac_word" >&5
4987  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
4988    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4989  else  else
# Line 5037  cat >> conftest.el <<EOF Line 5031  cat >> conftest.el <<EOF
5031  EOF  EOF
5032    
5033  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
5034  echo "configure:5041: checking emacs site lisp directory" >&5  echo "configure:5035: checking emacs site lisp directory" >&5
5035  if [ "$EMACS" != "" ]  && [ "$EMACS_SITE_LISP" = "unknown" ] ; then  if [ "$EMACS" != "" ]  && [ "$EMACS_SITE_LISP" = "unknown" ] ; then
5036          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 `
5037  else  else
# Line 5059  cat >> conftest.el <<EOF Line 5053  cat >> conftest.el <<EOF
5053  EOF  EOF
5054    
5055  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
5056  echo "configure:5063: checking emacs default.el" >&5  echo "configure:5057: checking emacs default.el" >&5
5057  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
5058          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 `
5059  else  else
# Line 5088  cat >> conftest.el <<EOF Line 5082  cat >> conftest.el <<EOF
5082  EOF  EOF
5083    
5084  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
5085  echo "configure:5092: checking emacs info/dir" >&5  echo "configure:5086: checking emacs info/dir" >&5
5086  if [ "$EMACS" != "" ] && [ "$INFO_DIR" = "unknown" ] ; then  if [ "$EMACS" != "" ] && [ "$INFO_DIR" = "unknown" ] ; then
5087          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 `
5088  fi  fi
# Line 5102  echo "$ac_t""$INFO_DIR" 1>&6 Line 5096  echo "$ac_t""$INFO_DIR" 1>&6
5096    
5097    
5098  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
5099  echo "configure:5106: checking for tcl/tk" >&5  echo "configure:5100: checking for tcl/tk" >&5
5100    
5101    
5102  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 5125  EOF Line 5119  EOF
5119  # 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.
5120  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
5121  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5122  echo "configure:5129: checking for $ac_word" >&5  echo "configure:5123: checking for $ac_word" >&5
5123  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
5124    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5125  else  else
# Line 5225  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 5219  if test -f ${TCL_CONFIG_PREFIX}/../inclu
5219    fi    fi
5220  fi  fi
5221  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
5222  echo "configure:5229: checking for main in -llieee" >&5  echo "configure:5223: checking for main in -llieee" >&5
5223  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
5224  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
5225    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5233  else Line 5227  else
5227    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5228  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
5229  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5230  #line 5237 "configure"  #line 5231 "configure"
5231  #include "confdefs.h"  #include "confdefs.h"
5232    
5233  int main() {  int main() {
5234  main()  main()
5235  ; return 0; }  ; return 0; }
5236  EOF  EOF
5237  if { (eval echo configure:5244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5238    rm -rf conftest*    rm -rf conftest*
5239    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5240  else  else
# Line 5305  NOTIFY=$enable_notify Line 5299  NOTIFY=$enable_notify
5299  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
5300    
5301  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
5302  echo "configure:5309: checking alloca" >&5  echo "configure:5303: checking alloca" >&5
5303  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5304    gcl_ok=no    gcl_ok=no
5305  else  else
5306    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5307  #line 5314 "configure"  #line 5308 "configure"
5308  #include "confdefs.h"  #include "confdefs.h"
5309  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
5310  EOF  EOF
5311  if { (eval echo configure:5318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5312  then  then
5313    :    :
5314  else  else
# Line 5337  else Line 5331  else
5331    gcl_ok=no    gcl_ok=no
5332  else  else
5333    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5334  #line 5341 "configure"  #line 5335 "configure"
5335  #include "confdefs.h"  #include "confdefs.h"
5336  #include <alloca.h>  #include <alloca.h>
5337    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
5338  EOF  EOF
5339  if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5340  then  then
5341    :    :
5342  else  else
# Line 5403  if test $gcl_ok = no ; then     echo "$a Line 5397  if test $gcl_ok = no ; then     echo "$a
5397  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
5398  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
5399  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
5400  echo "configure:5407: checking Checking for buggy gcc version from redhat" >&5  echo "configure:5401: checking Checking for buggy gcc version from redhat" >&5
5401  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
5402     then     then
5403          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1
# Line 5581  s%@X_PRE_LIBS@%$X_PRE_LIBS%g Line 5575  s%@X_PRE_LIBS@%$X_PRE_LIBS%g
5575  s%@X_LIBS@%$X_LIBS%g  s%@X_LIBS@%$X_LIBS%g
5576  s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g  s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
5577  s%@BUILD_BFD@%$BUILD_BFD%g  s%@BUILD_BFD@%$BUILD_BFD%g
 s%@subdirs@%$subdirs%g  
5578  s%@LITTLE_END@%$LITTLE_END%g  s%@LITTLE_END@%$LITTLE_END%g
5579  s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g  s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g
5580  s%@FLISP@%$FLISP%g  s%@FLISP@%$FLISP%g
# Line 5833  chmod +x $CONFIG_STATUS Line 5826  chmod +x $CONFIG_STATUS
5826  rm -fr confdefs* $ac_clean_files  rm -fr confdefs* $ac_clean_files
5827  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
5828    
 if test "$no_recursion" != yes; then  
   
   # Remove --cache-file and --srcdir arguments so they do not pile up.  
   ac_sub_configure_args=  
   ac_prev=  
   for ac_arg in $ac_configure_args; do  
     if test -n "$ac_prev"; then  
       ac_prev=  
       continue  
     fi  
     case "$ac_arg" in  
     -cache-file | --cache-file | --cache-fil | --cache-fi \  
     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)  
       ac_prev=cache_file ;;  
     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \  
     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)  
       ;;  
     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)  
       ac_prev=srcdir ;;  
     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)  
       ;;  
     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;  
     esac  
   done  
   
   for ac_config_dir in $MY_SUBDIRS; do  
   
     # Do not complain, so a configure script can configure whichever  
     # parts of a large source tree are present.  
     if test ! -d $srcdir/$ac_config_dir; then  
       continue  
     fi  
   
     echo configuring in $ac_config_dir  
   
     case "$srcdir" in  
     .) ;;  
     *)  
       if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;  
       else  
         { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }  
       fi  
       ;;  
     esac  
   
     ac_popdir=`pwd`  
     cd $ac_config_dir  
   
       # A "../" for each directory in /$ac_config_dir.  
       ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`  
   
     case "$srcdir" in  
     .) # No --srcdir option.  We are building in place.  
       ac_sub_srcdir=$srcdir ;;  
     /*) # Absolute path.  
       ac_sub_srcdir=$srcdir/$ac_config_dir ;;  
     *) # Relative path.  
       ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;  
     esac  
   
     # Check for guested configure; otherwise get Cygnus style configure.  
     if test -f $ac_sub_srcdir/configure; then  
       ac_sub_configure=$ac_sub_srcdir/configure  
     elif test -f $ac_sub_srcdir/configure.in; then  
       ac_sub_configure=$ac_configure  
     else  
       echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2  
       ac_sub_configure=  
     fi  
   
     # The recursion is here.  
     if test -n "$ac_sub_configure"; then  
   
       # Make the cache file name correct relative to the subdirectory.  
       case "$cache_file" in  
       /*) ac_sub_cache_file=$cache_file ;;  
       *) # Relative path.  
         ac_sub_cache_file="$ac_dots$cache_file" ;;  
       esac  
   
       echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"  
       # The eval makes quoting arguments work.  
       if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir  
       then :  
       else  
         { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }  
       fi  
     fi  
   
     cd $ac_popdir  
   done  
 fi  
   
5829    echo makedefc    echo makedefc
5830    cat makedefc    cat makedefc
5831    

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.91

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