/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.34 by camm, Wed Jun 5 18:37:54 2002 UTC revision 1.35 by camm, Thu Jun 6 16:41:52 2002 UTC
# Line 549  echo $ac_n "checking system version (for Line 549  echo $ac_n "checking system version (for
549  echo "configure:550: checking system version (for dynamic loading)" >&5  echo "configure:550: checking system version (for dynamic loading)" >&5
550  if machine=`uname -m` ; then true; else machine=unknown ; fi  if machine=`uname -m` ; then true; else machine=unknown ; fi
551    
552  for ac_prog in awk nawk  for ac_prog in gawk nawk awk
553  do  do
554  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
555  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
# Line 1611  fi Line 1611  fi
1611  done  done
1612    
1613    
1614    #
1615    # The second alternative is for solaris.  This needs to be
1616    # a more comprehensive later, i.e. checking that the fpclass
1617    # test makes sense.  CM
1618    #
1619    echo $ac_n "checking for isnormal""... $ac_c" 1>&6
1620    echo "configure:1621: checking for isnormal" >&5
1621    if test "$cross_compiling" = yes; then
1622      HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
1623    else
1624      cat > conftest.$ac_ext <<EOF
1625    #line 1626 "configure"
1626    #include "confdefs.h"
1627    #define _GNU_SOURCE
1628                #include <math.h>
1629                int main() {
1630                    float f;
1631                    return isnormal(f) || !isnormal(f) ? 0 : 1;
1632                    }
1633    EOF
1634    if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1635    then
1636      cat >> confdefs.h <<\EOF
1637    #define HAVE_ISNORMAL 1
1638    EOF
1639     echo "$ac_t""yes" 1>&6
1640    else
1641      echo "configure: failed program was:" >&5
1642      cat conftest.$ac_ext >&5
1643      rm -fr conftest*
1644      echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6
1645    echo "configure:1646: checking for fpclass in ieeefp.h" >&5
1646                    if test "$cross_compiling" = yes; then
1647      HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
1648    else
1649      cat > conftest.$ac_ext <<EOF
1650    #line 1651 "configure"
1651    #include "confdefs.h"
1652    #include <ieeefp.h>
1653                                int main() {
1654                                    float f;
1655                                    return fpclass(f)>=FP_NZERO || fpclass<FP_NZERO ? 0 : 1;
1656                                    }
1657    EOF
1658    if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1659    then
1660      cat >> confdefs.h <<\EOF
1661    #define HAVE_IEEEFP 1
1662    EOF
1663     echo "$ac_t""yes" 1>&6
1664    else
1665      echo "configure: failed program was:" >&5
1666      cat conftest.$ac_ext >&5
1667      rm -fr conftest*
1668      HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
1669    fi
1670    rm -fr conftest*
1671    fi
1672    
1673            
1674    fi
1675    rm -fr conftest*
1676    fi
1677    
1678    
1679    
1680    
1681  #--------------------------------------------------------------------  #--------------------------------------------------------------------
1682  #       Check for the existence of the -lsocket and -lnsl libraries.  #       Check for the existence of the -lsocket and -lnsl libraries.
1683  #       The order here is important, so that they end up in the right  #       The order here is important, so that they end up in the right
# Line 1629  done Line 1696  done
1696  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
1697  #--------------------------------------------------------------------  #--------------------------------------------------------------------
1698  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
1699  echo "configure:1633: checking for sockets" >&5  echo "configure:1700: checking for sockets" >&5
1700  tcl_checkBoth=0  tcl_checkBoth=0
1701  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
1702  echo "configure:1636: checking for connect" >&5  echo "configure:1703: checking for connect" >&5
1703  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1704    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1705  else  else
1706    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1707  #line 1641 "configure"  #line 1708 "configure"
1708  #include "confdefs.h"  #include "confdefs.h"
1709  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1710      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 1660  connect(); Line 1727  connect();
1727    
1728  ; return 0; }  ; return 0; }
1729  EOF  EOF
1730  if { (eval echo configure:1664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1731    rm -rf conftest*    rm -rf conftest*
1732    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
1733  else  else
# Line 1682  fi Line 1749  fi
1749    
1750  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
1751      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
1752  echo "configure:1686: checking for main in -lsocket" >&5  echo "configure:1753: checking for main in -lsocket" >&5
1753  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
1754  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
1755    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1690  else Line 1757  else
1757    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1758  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
1759  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1760  #line 1694 "configure"  #line 1761 "configure"
1761  #include "confdefs.h"  #include "confdefs.h"
1762    
1763  int main() {  int main() {
1764  main()  main()
1765  ; return 0; }  ; return 0; }
1766  EOF  EOF
1767  if { (eval echo configure:1701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1768    rm -rf conftest*    rm -rf conftest*
1769    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1770  else  else
# Line 1725  if test "$tcl_checkBoth" = 1; then Line 1792  if test "$tcl_checkBoth" = 1; then
1792      tk_oldLibs=$LIBS      tk_oldLibs=$LIBS
1793      LIBS="$LIBS -lsocket -lnsl"      LIBS="$LIBS -lsocket -lnsl"
1794      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
1795  echo "configure:1729: checking for accept" >&5  echo "configure:1796: checking for accept" >&5
1796  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
1797    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1798  else  else
1799    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1800  #line 1734 "configure"  #line 1801 "configure"
1801  #include "confdefs.h"  #include "confdefs.h"
1802  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1803      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 1753  accept(); Line 1820  accept();
1820    
1821  ; return 0; }  ; return 0; }
1822  EOF  EOF
1823  if { (eval echo configure:1757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1824    rm -rf conftest*    rm -rf conftest*
1825    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
1826  else  else
# Line 1775  fi Line 1842  fi
1842    
1843  fi  fi
1844  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1845  echo "configure:1779: checking for gethostbyname" >&5  echo "configure:1846: checking for gethostbyname" >&5
1846  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1847    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1848  else  else
1849    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1850  #line 1784 "configure"  #line 1851 "configure"
1851  #include "confdefs.h"  #include "confdefs.h"
1852  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1853      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 1803  gethostbyname(); Line 1870  gethostbyname();
1870    
1871  ; return 0; }  ; return 0; }
1872  EOF  EOF
1873  if { (eval echo configure:1807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1874    rm -rf conftest*    rm -rf conftest*
1875    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
1876  else  else
# Line 1821  if eval "test \"`echo '$ac_cv_func_'geth Line 1888  if eval "test \"`echo '$ac_cv_func_'geth
1888  else  else
1889    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1890  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
1891  echo "configure:1825: checking for main in -lnsl" >&5  echo "configure:1892: checking for main in -lnsl" >&5
1892  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
1893  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
1894    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1829  else Line 1896  else
1896    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1897  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
1898  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1899  #line 1833 "configure"  #line 1900 "configure"
1900  #include "confdefs.h"  #include "confdefs.h"
1901    
1902  int main() {  int main() {
1903  main()  main()
1904  ; return 0; }  ; return 0; }
1905  EOF  EOF
1906  if { (eval echo configure:1840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1907    rm -rf conftest*    rm -rf conftest*
1908    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1909  else  else
# Line 1860  fi Line 1927  fi
1927    
1928    
1929  echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6  echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
1930  echo "configure:1864: checking for main in -lreadline" >&5  echo "configure:1931: checking for main in -lreadline" >&5
1931  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
1932  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
1933    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1868  else Line 1935  else
1935    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1936  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
1937  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1938  #line 1872 "configure"  #line 1939 "configure"
1939  #include "confdefs.h"  #include "confdefs.h"
1940    
1941  int main() {  int main() {
1942  main()  main()
1943  ; return 0; }  ; return 0; }
1944  EOF  EOF
1945  if { (eval echo configure:1879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1946    rm -rf conftest*    rm -rf conftest*
1947    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1948  else  else
# Line 1907  fi Line 1974  fi
1974    
1975  ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`  ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
1976  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
1977  echo "configure:1911: checking for bfd.h" >&5  echo "configure:1978: checking for bfd.h" >&5
1978  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1979    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1980  else  else
1981    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1982  #line 1916 "configure"  #line 1983 "configure"
1983  #include "confdefs.h"  #include "confdefs.h"
1984  #include <bfd.h>  #include <bfd.h>
1985  EOF  EOF
1986  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1987  { (eval echo configure:1921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1988  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1989  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1990    rm -rf conftest*    rm -rf conftest*
# Line 1934  fi Line 2001  fi
2001  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2002    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2003    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
2004  echo "configure:1938: checking for bfd_init in -lbfd" >&5  echo "configure:2005: checking for bfd_init in -lbfd" >&5
2005  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
2006  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
2007    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1942  else Line 2009  else
2009    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2010  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
2011  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2012  #line 1946 "configure"  #line 2013 "configure"
2013  #include "confdefs.h"  #include "confdefs.h"
2014  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2015  /* 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 1953  int main() { Line 2020  int main() {
2020  bfd_init()  bfd_init()
2021  ; return 0; }  ; return 0; }
2022  EOF  EOF
2023  if { (eval echo configure:1957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2024    rm -rf conftest*    rm -rf conftest*
2025    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2026  else  else
# Line 1990  fi Line 2057  fi
2057    
2058    
2059  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
2060  echo "configure:1994: checking For network code for nsocket.c" >&5  echo "configure:2061: checking For network code for nsocket.c" >&5
2061  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2062  #line 1996 "configure"  #line 2063 "configure"
2063  #include "confdefs.h"  #include "confdefs.h"
2064    
2065  #include <sys/time.h>  #include <sys/time.h>
# Line 2019  int main() { Line 2086  int main() {
2086                    
2087  ; return 0; }  ; return 0; }
2088  EOF  EOF
2089  if { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2090    rm -rf conftest*    rm -rf conftest*
2091    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2092  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 2036  rm -f conftest* Line 2103  rm -f conftest*
2103    
2104    
2105  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
2106  echo "configure:2040: checking check for listen using fcntl" >&5  echo "configure:2107: checking check for listen using fcntl" >&5
2107  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2108  #line 2042 "configure"  #line 2109 "configure"
2109  #include "confdefs.h"  #include "confdefs.h"
2110  #include <stdio.h>  #include <stdio.h>
2111  #include <fcntl.h>  #include <fcntl.h>
# Line 2051  FILE *fp=fopen("configure.in","r"); Line 2118  FILE *fp=fopen("configure.in","r");
2118    
2119  ; return 0; }  ; return 0; }
2120  EOF  EOF
2121  if { (eval echo configure:2055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2122    rm -rf conftest*    rm -rf conftest*
2123    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2124  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 2070  rm -f conftest* Line 2137  rm -f conftest*
2137    
2138    
2139  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
2140  echo "configure:2074: checking for profil" >&5  echo "configure:2141: checking for profil" >&5
2141  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
2142    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2143  else  else
2144    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2145  #line 2079 "configure"  #line 2146 "configure"
2146  #include "confdefs.h"  #include "confdefs.h"
2147  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2148      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 2098  profil(); Line 2165  profil();
2165    
2166  ; return 0; }  ; return 0; }
2167  EOF  EOF
2168  if { (eval echo configure:2102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2169    rm -rf conftest*    rm -rf conftest*
2170    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
2171  else  else
# Line 2123  fi Line 2190  fi
2190    
2191    
2192  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
2193  echo "configure:2127: checking for setenv" >&5  echo "configure:2194: checking for setenv" >&5
2194  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
2195    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2196  else  else
2197    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2198  #line 2132 "configure"  #line 2199 "configure"
2199  #include "confdefs.h"  #include "confdefs.h"
2200  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2201      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 2151  setenv(); Line 2218  setenv();
2218    
2219  ; return 0; }  ; return 0; }
2220  EOF  EOF
2221  if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2222    rm -rf conftest*    rm -rf conftest*
2223    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
2224  else  else
# Line 2177  fi Line 2244  fi
2244    
2245  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
2246  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
2247  echo "configure:2181: checking for putenv" >&5  echo "configure:2248: checking for putenv" >&5
2248  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
2249    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2250  else  else
2251    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2252  #line 2186 "configure"  #line 2253 "configure"
2253  #include "confdefs.h"  #include "confdefs.h"
2254  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2255      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 2205  putenv(); Line 2272  putenv();
2272    
2273  ; return 0; }  ; return 0; }
2274  EOF  EOF
2275  if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2276    rm -rf conftest*    rm -rf conftest*
2277    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
2278  else  else
# Line 2231  fi Line 2298  fi
2298  fi  fi
2299    
2300  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
2301  echo "configure:2235: checking for _cleanup" >&5  echo "configure:2302: checking for _cleanup" >&5
2302  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
2303    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2304  else  else
2305    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2306  #line 2240 "configure"  #line 2307 "configure"
2307  #include "confdefs.h"  #include "confdefs.h"
2308  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2309      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 2259  _cleanup(); Line 2326  _cleanup();
2326    
2327  ; return 0; }  ; return 0; }
2328  EOF  EOF
2329  if { (eval echo configure:2263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2330    rm -rf conftest*    rm -rf conftest*
2331    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
2332  else  else
# Line 2285  fi Line 2352  fi
2352  gcl_ok=no  gcl_ok=no
2353    
2354  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2355  #line 2289 "configure"  #line 2356 "configure"
2356  #include "confdefs.h"  #include "confdefs.h"
2357  #include <ctype.h>  #include <ctype.h>
2358  EOF  EOF
# Line 2313  fi Line 2380  fi
2380    
2381  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
2382  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
2383  echo "configure:2317: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:2384: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
2384    
2385  case $system in  case $system in
2386         OSF*)         OSF*)
# Line 2369  else { echo "configure: error: can not r Line 2436  else { echo "configure: error: can not r
2436  fi  fi
2437    
2438  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
2439  echo "configure:2373: checking host system type" >&5  echo "configure:2440: checking host system type" >&5
2440    
2441  host_alias=$host  host_alias=$host
2442  case "$host_alias" in  case "$host_alias" in
# Line 2542  case $canonical in Line 2609  case $canonical in
2609    
2610  esac  esac
2611  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
2612  echo "configure:2546: checking check for SV_ONSTACK" >&5  echo "configure:2613: checking check for SV_ONSTACK" >&5
2613  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2614  #line 2548 "configure"  #line 2615 "configure"
2615  #include "confdefs.h"  #include "confdefs.h"
2616  #include <signal.h>  #include <signal.h>
2617  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 2553  int main() { Line 2620  int main() {
2620    
2621  ; return 0; }  ; return 0; }
2622  EOF  EOF
2623  if { (eval echo configure:2557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2624    rm -rf conftest*    rm -rf conftest*
2625    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2626  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 2571  rm -f conftest* Line 2638  rm -f conftest*
2638    
2639    
2640  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
2641  echo "configure:2575: checking check for SIGSYS" >&5  echo "configure:2642: checking check for SIGSYS" >&5
2642  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2643  #line 2577 "configure"  #line 2644 "configure"
2644  #include "confdefs.h"  #include "confdefs.h"
2645  #include <signal.h>  #include <signal.h>
2646  int joe=SIGSYS;  int joe=SIGSYS;
# Line 2582  int main() { Line 2649  int main() {
2649    
2650  ; return 0; }  ; return 0; }
2651  EOF  EOF
2652  if { (eval echo configure:2586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2653    rm -rf conftest*    rm -rf conftest*
2654    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2655  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 2600  rm -f conftest* Line 2667  rm -f conftest*
2667    
2668    
2669  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
2670  echo "configure:2604: checking check for SIGEMT" >&5  echo "configure:2671: checking check for SIGEMT" >&5
2671  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2672  #line 2606 "configure"  #line 2673 "configure"
2673  #include "confdefs.h"  #include "confdefs.h"
2674  #include <signal.h>  #include <signal.h>
2675  int joe=SIGEMT;  int joe=SIGEMT;
# Line 2611  int main() { Line 2678  int main() {
2678    
2679  ; return 0; }  ; return 0; }
2680  EOF  EOF
2681  if { (eval echo configure:2615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2682    rm -rf conftest*    rm -rf conftest*
2683    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2684  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 2635  rm -f conftest* Line 2702  rm -f conftest*
2702  do  do
2703  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2704  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2705  echo "configure:2639: checking for $ac_hdr" >&5  echo "configure:2706: checking for $ac_hdr" >&5
2706  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2707    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2708  else  else
2709    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2710  #line 2644 "configure"  #line 2711 "configure"
2711  #include "confdefs.h"  #include "confdefs.h"
2712  #include <$ac_hdr>  #include <$ac_hdr>
2713  EOF  EOF
2714  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2715  { (eval echo configure:2649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2716  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2717  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2718    rm -rf conftest*    rm -rf conftest*
# Line 2675  done Line 2742  done
2742  do  do
2743  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2744  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2745  echo "configure:2679: checking for $ac_hdr" >&5  echo "configure:2746: checking for $ac_hdr" >&5
2746  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2747    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2748  else  else
2749    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2750  #line 2684 "configure"  #line 2751 "configure"
2751  #include "confdefs.h"  #include "confdefs.h"
2752  #include <$ac_hdr>  #include <$ac_hdr>
2753  EOF  EOF
2754  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2755  { (eval echo configure:2689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2756  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2757  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2758    rm -rf conftest*    rm -rf conftest*
# Line 2712  fi Line 2779  fi
2779  done  done
2780    
2781          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2782  #line 2716 "configure"  #line 2783 "configure"
2783  #include "confdefs.h"  #include "confdefs.h"
2784  #include <signal.h>  #include <signal.h>
2785                          long code;                            long code;  
# Line 2723  int main() { Line 2790  int main() {
2790                
2791  ; return 0; }  ; return 0; }
2792  EOF  EOF
2793  if { (eval echo configure:2727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2794    rm -rf conftest*    rm -rf conftest*
2795        
2796          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 2744  fi Line 2811  fi
2811  rm -f conftest*  rm -f conftest*
2812         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
2813         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
2814  #line 2748 "configure"  #line 2815 "configure"
2815  #include "confdefs.h"  #include "confdefs.h"
2816  #include <signal.h>  #include <signal.h>
2817               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 2761  int main() { Line 2828  int main() {
2828                    
2829  ; return 0; }  ; return 0; }
2830  EOF  EOF
2831  if { (eval echo configure:2765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2832    rm -rf conftest*    rm -rf conftest*
2833        
2834          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 2804  rm -f conftest* Line 2871  rm -f conftest*
2871  # 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.
2872  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
2873  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2874  echo "configure:2808: checking for $ac_word" >&5  echo "configure:2875: checking for $ac_word" >&5
2875  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
2876    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2877  else  else
# Line 2852  cat >> conftest.el <<EOF Line 2919  cat >> conftest.el <<EOF
2919  EOF  EOF
2920    
2921  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
2922  echo "configure:2856: checking emacs site lisp directory" >&5  echo "configure:2923: checking emacs site lisp directory" >&5
2923  #EMACS_SITE_LISP=unknown  #EMACS_SITE_LISP=unknown
2924  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
2925          EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `          EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
# Line 2875  cat >> conftest.el <<EOF Line 2942  cat >> conftest.el <<EOF
2942  EOF  EOF
2943    
2944  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
2945  echo "configure:2879: checking emacs default.el" >&5  echo "configure:2946: checking emacs default.el" >&5
2946  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
2947          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 `
2948  else  else
# Line 2904  cat >> conftest.el <<EOF Line 2971  cat >> conftest.el <<EOF
2971  EOF  EOF
2972    
2973  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
2974  echo "configure:2908: checking emacs info/dir" >&5  echo "configure:2975: checking emacs info/dir" >&5
2975  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
2976          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 `
2977  fi  fi
# Line 2918  echo "$ac_t""$INFO_DIR" 1>&6 Line 2985  echo "$ac_t""$INFO_DIR" 1>&6
2985    
2986    
2987  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
2988  echo "configure:2922: checking for tcl/tk" >&5  echo "configure:2989: checking for tcl/tk" >&5
2989    
2990    
2991  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 2941  cp conftest.tcl foo.tcl Line 3008  cp conftest.tcl foo.tcl
3008  # 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.
3009  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
3010  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3011  echo "configure:2945: checking for $ac_word" >&5  echo "configure:3012: checking for $ac_word" >&5
3012  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
3013    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3014  else  else
# Line 3041  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 3108  if test -f ${TCL_CONFIG_PREFIX}/../inclu
3108    fi    fi
3109  fi  fi
3110  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
3111  echo "configure:3045: checking for main in -llieee" >&5  echo "configure:3112: checking for main in -llieee" >&5
3112  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
3113  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
3114    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3049  else Line 3116  else
3116    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3117  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
3118  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3119  #line 3053 "configure"  #line 3120 "configure"
3120  #include "confdefs.h"  #include "confdefs.h"
3121    
3122  int main() {  int main() {
3123  main()  main()
3124  ; return 0; }  ; return 0; }
3125  EOF  EOF
3126  if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3127    rm -rf conftest*    rm -rf conftest*
3128    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3129  else  else
# Line 3081  if test "$have_ieee" = "0" ; then Line 3148  if test "$have_ieee" = "0" ; then
3148   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
3149  fi  fi
3150  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
3151  echo "configure:3085: checking for dlopen in -ldl" >&5  echo "configure:3152: checking for dlopen in -ldl" >&5
3152  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
3153  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
3154    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3089  else Line 3156  else
3156    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3157  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
3158  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3159  #line 3093 "configure"  #line 3160 "configure"
3160  #include "confdefs.h"  #include "confdefs.h"
3161  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3162  /* 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 3100  int main() { Line 3167  int main() {
3167  dlopen()  dlopen()
3168  ; return 0; }  ; return 0; }
3169  EOF  EOF
3170  if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3171    rm -rf conftest*    rm -rf conftest*
3172    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3173  else  else
# Line 3182  echo "$ac_t""use=$use" 1>&6 Line 3249  echo "$ac_t""use=$use" 1>&6
3249  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
3250    
3251  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
3252  echo "configure:3186: checking alloca" >&5  echo "configure:3253: checking alloca" >&5
3253  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3254    gcl_ok=no    gcl_ok=no
3255  else  else
3256    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3257  #line 3191 "configure"  #line 3258 "configure"
3258  #include "confdefs.h"  #include "confdefs.h"
3259  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
3260  EOF  EOF
3261  if { (eval echo configure:3195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3262  then  then
3263    :    :
3264  else  else
# Line 3214  else Line 3281  else
3281    gcl_ok=no    gcl_ok=no
3282  else  else
3283    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3284  #line 3218 "configure"  #line 3285 "configure"
3285  #include "confdefs.h"  #include "confdefs.h"
3286  #include <alloca.h>  #include <alloca.h>
3287    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
3288  EOF  EOF
3289  if { (eval echo configure:3223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3290  then  then
3291    :    :
3292  else  else
# Line 3281  rm -f makedefsafter Line 3348  rm -f makedefsafter
3348    
3349  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
3350   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
3351  echo "configure:3285: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:3352: checking use_gmp=yes, doing configure in gmp directory" >&5
3352   case "${canonical}" in   case "${canonical}" in
3353  #   i[[5-9]]86* | pentium* | k6* | athlon*)  #   i[[5-9]]86* | pentium* | k6* | athlon*)
3354  #      (cd gmp ; ./configure --target=i486) ;;  #      (cd gmp ; ./configure --target=i486) ;;
# Line 3303  fi Line 3370  fi
3370  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
3371  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
3372  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
3373  echo "configure:3307: checking Checking for buggy gcc version from redhat" >&5  echo "configure:3374: checking Checking for buggy gcc version from redhat" >&5
3374  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
3375     then     then
3376          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

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