/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.52 by camm, Wed Jun 26 21:28:00 2002 UTC revision 1.53 by camm, Tue Jul 9 19:39:41 2002 UTC
# Line 1824  if eval "test \"`echo '$ac_cv_header_'$a Line 1824  if eval "test \"`echo '$ac_cv_header_'$a
1824  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
1825  EOF  EOF
1826   cat >> confdefs.h <<\EOF   cat >> confdefs.h <<\EOF
1827  #define NEED_MATH_H 1  #define HAVE_MATH_H 1
1828    EOF
1829    
1830    else
1831      echo "$ac_t""no" 1>&6
1832    fi
1833    done
1834    
1835    
1836    #
1837    # For DBL_MAX et. al. on (only) certain Linux arches, apparently CM
1838    #
1839    for ac_hdr in values.h
1840    do
1841    ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1842    echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1843    echo "configure:1844: checking for $ac_hdr" >&5
1844    if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1845      echo $ac_n "(cached) $ac_c" 1>&6
1846    else
1847      cat > conftest.$ac_ext <<EOF
1848    #line 1849 "configure"
1849    #include "confdefs.h"
1850    #include <$ac_hdr>
1851    EOF
1852    ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1853    { (eval echo configure:1854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1854    ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1855    if test -z "$ac_err"; then
1856      rm -rf conftest*
1857      eval "ac_cv_header_$ac_safe=yes"
1858    else
1859      echo "$ac_err" >&5
1860      echo "configure: failed program was:" >&5
1861      cat conftest.$ac_ext >&5
1862      rm -rf conftest*
1863      eval "ac_cv_header_$ac_safe=no"
1864    fi
1865    rm -f conftest*
1866    fi
1867    if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1868      echo "$ac_t""yes" 1>&6
1869        ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1870      cat >> confdefs.h <<EOF
1871    #define $ac_tr_hdr 1
1872    EOF
1873     cat >> confdefs.h <<\EOF
1874    #define HAVE_VALUES_H 1
1875  EOF  EOF
1876    
1877  else  else
# Line 1839  done Line 1886  done
1886  # test makes sense.  CM  # test makes sense.  CM
1887  #  #
1888  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
1889  echo "configure:1843: checking for isnormal" >&5  echo "configure:1890: checking for isnormal" >&5
1890  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1891    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
1892  else  else
1893    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1894  #line 1848 "configure"  #line 1895 "configure"
1895  #include "confdefs.h"  #include "confdefs.h"
1896  #define _GNU_SOURCE  #define _GNU_SOURCE
1897              #include <math.h>              #include <math.h>
# Line 1853  else Line 1900  else
1900                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
1901                  }                  }
1902  EOF  EOF
1903  if { (eval echo configure:1857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1904  then  then
1905    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1906  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 1864  else Line 1911  else
1911    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
1912    rm -fr conftest*    rm -fr conftest*
1913    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
1914  echo "configure:1868: checking for fpclass in ieeefp.h" >&5  echo "configure:1915: checking for fpclass in ieeefp.h" >&5
1915                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
1916    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
1917  else  else
1918    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1919  #line 1873 "configure"  #line 1920 "configure"
1920  #include "confdefs.h"  #include "confdefs.h"
1921  #include <ieeefp.h>  #include <ieeefp.h>
1922                              int main() {                              int main() {
# Line 1877  else Line 1924  else
1924                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
1925                                  }                                  }
1926  EOF  EOF
1927  if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1928  then  then
1929    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1930  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 1899  fi Line 1946  fi
1946    
1947    
1948  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
1949  echo "configure:1903: checking for isfinite" >&5  echo "configure:1950: checking for isfinite" >&5
1950  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1951    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
1952  else  else
1953    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1954  #line 1908 "configure"  #line 1955 "configure"
1955  #include "confdefs.h"  #include "confdefs.h"
1956  #define _GNU_SOURCE  #define _GNU_SOURCE
1957              #include <math.h>              #include <math.h>
# Line 1913  else Line 1960  else
1960                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
1961                  }                  }
1962  EOF  EOF
1963  if { (eval echo configure:1917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1964  then  then
1965    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1966  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 1924  else Line 1971  else
1971    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
1972    rm -fr conftest*    rm -fr conftest*
1973    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
1974  echo "configure:1928: checking for finite()" >&5  echo "configure:1975: checking for finite()" >&5
1975                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
1976    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
1977  else  else
1978    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1979  #line 1933 "configure"  #line 1980 "configure"
1980  #include "confdefs.h"  #include "confdefs.h"
1981  #include <math.h>  #include <math.h>
1982                              int main() {                              int main() {
# Line 1937  else Line 1984  else
1984                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
1985                                  }                                  }
1986  EOF  EOF
1987  if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1988  then  then
1989    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1990  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 1978  fi Line 2025  fi
2025  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
2026  #--------------------------------------------------------------------  #--------------------------------------------------------------------
2027  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
2028  echo "configure:1982: checking for sockets" >&5  echo "configure:2029: checking for sockets" >&5
2029  tcl_checkBoth=0  tcl_checkBoth=0
2030  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
2031  echo "configure:1985: checking for connect" >&5  echo "configure:2032: checking for connect" >&5
2032  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2033    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2034  else  else
2035    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2036  #line 1990 "configure"  #line 2037 "configure"
2037  #include "confdefs.h"  #include "confdefs.h"
2038  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2039      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 2009  connect(); Line 2056  connect();
2056    
2057  ; return 0; }  ; return 0; }
2058  EOF  EOF
2059  if { (eval echo configure:2013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2060    rm -rf conftest*    rm -rf conftest*
2061    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
2062  else  else
# Line 2031  fi Line 2078  fi
2078    
2079  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
2080      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
2081  echo "configure:2035: checking for main in -lsocket" >&5  echo "configure:2082: checking for main in -lsocket" >&5
2082  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
2083  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
2084    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2039  else Line 2086  else
2086    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2087  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
2088  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2089  #line 2043 "configure"  #line 2090 "configure"
2090  #include "confdefs.h"  #include "confdefs.h"
2091    
2092  int main() {  int main() {
2093  main()  main()
2094  ; return 0; }  ; return 0; }
2095  EOF  EOF
2096  if { (eval echo configure:2050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2097    rm -rf conftest*    rm -rf conftest*
2098    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2099  else  else
# Line 2074  if test "$tcl_checkBoth" = 1; then Line 2121  if test "$tcl_checkBoth" = 1; then
2121      tk_oldLibs=$LIBS      tk_oldLibs=$LIBS
2122      LIBS="$LIBS -lsocket -lnsl"      LIBS="$LIBS -lsocket -lnsl"
2123      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
2124  echo "configure:2078: checking for accept" >&5  echo "configure:2125: checking for accept" >&5
2125  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
2126    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2127  else  else
2128    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2129  #line 2083 "configure"  #line 2130 "configure"
2130  #include "confdefs.h"  #include "confdefs.h"
2131  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2132      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 2102  accept(); Line 2149  accept();
2149    
2150  ; return 0; }  ; return 0; }
2151  EOF  EOF
2152  if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2153    rm -rf conftest*    rm -rf conftest*
2154    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
2155  else  else
# Line 2124  fi Line 2171  fi
2171    
2172  fi  fi
2173  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
2174  echo "configure:2128: checking for gethostbyname" >&5  echo "configure:2175: checking for gethostbyname" >&5
2175  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
2176    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2177  else  else
2178    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2179  #line 2133 "configure"  #line 2180 "configure"
2180  #include "confdefs.h"  #include "confdefs.h"
2181  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2182      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 2152  gethostbyname(); Line 2199  gethostbyname();
2199    
2200  ; return 0; }  ; return 0; }
2201  EOF  EOF
2202  if { (eval echo configure:2156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2203    rm -rf conftest*    rm -rf conftest*
2204    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
2205  else  else
# Line 2170  if eval "test \"`echo '$ac_cv_func_'geth Line 2217  if eval "test \"`echo '$ac_cv_func_'geth
2217  else  else
2218    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2219  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
2220  echo "configure:2174: checking for main in -lnsl" >&5  echo "configure:2221: checking for main in -lnsl" >&5
2221  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
2222  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
2223    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2178  else Line 2225  else
2225    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2226  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2227  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2228  #line 2182 "configure"  #line 2229 "configure"
2229  #include "confdefs.h"  #include "confdefs.h"
2230    
2231  int main() {  int main() {
2232  main()  main()
2233  ; return 0; }  ; return 0; }
2234  EOF  EOF
2235  if { (eval echo configure:2189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2236    rm -rf conftest*    rm -rf conftest*
2237    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2238  else  else
# Line 2210  fi Line 2257  fi
2257    
2258  if test "$enable_readline" = "yes" ; then  if test "$enable_readline" = "yes" ; then
2259          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
2260  echo "configure:2214: checking for main in -lreadline" >&5  echo "configure:2261: checking for main in -lreadline" >&5
2261  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
2262  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
2263    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2218  else Line 2265  else
2265    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2266  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
2267  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2268  #line 2222 "configure"  #line 2269 "configure"
2269  #include "confdefs.h"  #include "confdefs.h"
2270    
2271  int main() {  int main() {
2272  main()  main()
2273  ; return 0; }  ; return 0; }
2274  EOF  EOF
2275  if { (eval echo configure:2229: \"$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_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2278  else  else
# Line 2256  fi Line 2303  fi
2303  if test "$enable_bfd" = "yes" ; then  if test "$enable_bfd" = "yes" ; then
2304          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`          ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
2305  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
2306  echo "configure:2260: checking for bfd.h" >&5  echo "configure:2307: checking for bfd.h" >&5
2307  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2308    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2309  else  else
2310    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2311  #line 2265 "configure"  #line 2312 "configure"
2312  #include "confdefs.h"  #include "confdefs.h"
2313  #include <bfd.h>  #include <bfd.h>
2314  EOF  EOF
2315  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2316  { (eval echo configure:2270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2317  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2318  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2319    rm -rf conftest*    rm -rf conftest*
# Line 2283  fi Line 2330  fi
2330  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2331    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2332    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
2333  echo "configure:2287: checking for bfd_init in -lbfd" >&5  echo "configure:2334: checking for bfd_init in -lbfd" >&5
2334  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
2335  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
2336    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2291  else Line 2338  else
2338    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2339  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
2340  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2341  #line 2295 "configure"  #line 2342 "configure"
2342  #include "confdefs.h"  #include "confdefs.h"
2343  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2344  /* 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 2302  int main() { Line 2349  int main() {
2349  bfd_init()  bfd_init()
2350  ; return 0; }  ; return 0; }
2351  EOF  EOF
2352  if { (eval echo configure:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2353    rm -rf conftest*    rm -rf conftest*
2354    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2355  else  else
# Line 2326  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 2373  if eval "test \"`echo '$ac_cv_lib_'$ac_l
2373  # Old binutils appear to need CONST defined to const  # Old binutils appear to need CONST defined to const
2374  #  #
2375                          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
2376  echo "configure:2330: checking if need to define CONST for bfd" >&5  echo "configure:2377: checking if need to define CONST for bfd" >&5
2377                          if test "$cross_compiling" = yes; then                          if test "$cross_compiling" = yes; then
2378    echo "$ac_t""cannot use bfd" 1>&6    echo "$ac_t""cannot use bfd" 1>&6
2379  else  else
2380    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2381  #line 2335 "configure"  #line 2382 "configure"
2382  #include "confdefs.h"  #include "confdefs.h"
2383  #define IN_GCC  #define IN_GCC
2384                                      #include <bfd.h>                                      #include <bfd.h>
2385                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
2386  EOF  EOF
2387  if { (eval echo configure:2341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2388  then  then
2389    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2390                                  cat >> confdefs.h <<\EOF                                  cat >> confdefs.h <<\EOF
# Line 2353  else Line 2400  else
2400    echo "$ac_t""cannot use bfd" 1>&6    echo "$ac_t""cannot use bfd" 1>&6
2401  else  else
2402    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2403  #line 2357 "configure"  #line 2404 "configure"
2404  #include "confdefs.h"  #include "confdefs.h"
2405  #define IN_GCC  #define IN_GCC
2406                                              #include <bfd.h>                                              #include <bfd.h>
2407                                              #define CONST const                                              #define CONST const
2408                                              int main() {symbol_info t; return 0;}                                              int main() {symbol_info t; return 0;}
2409  EOF  EOF
2410  if { (eval echo configure:2364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2411  then  then
2412    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2413                                          cat >> confdefs.h <<\EOF                                          cat >> confdefs.h <<\EOF
# Line 2402  fi Line 2449  fi
2449    
2450    
2451  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
2452  echo "configure:2406: checking For network code for nsocket.c" >&5  echo "configure:2453: checking For network code for nsocket.c" >&5
2453  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2454  #line 2408 "configure"  #line 2455 "configure"
2455  #include "confdefs.h"  #include "confdefs.h"
2456    
2457  #include <sys/time.h>  #include <sys/time.h>
# Line 2431  int main() { Line 2478  int main() {
2478                    
2479  ; return 0; }  ; return 0; }
2480  EOF  EOF
2481  if { (eval echo configure:2435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2482    rm -rf conftest*    rm -rf conftest*
2483    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2484  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 2448  rm -f conftest* Line 2495  rm -f conftest*
2495    
2496    
2497  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
2498  echo "configure:2452: checking check for listen using fcntl" >&5  echo "configure:2499: checking check for listen using fcntl" >&5
2499  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2500  #line 2454 "configure"  #line 2501 "configure"
2501  #include "confdefs.h"  #include "confdefs.h"
2502  #include <stdio.h>  #include <stdio.h>
2503  #include <fcntl.h>  #include <fcntl.h>
# Line 2463  FILE *fp=fopen("configure.in","r"); Line 2510  FILE *fp=fopen("configure.in","r");
2510    
2511  ; return 0; }  ; return 0; }
2512  EOF  EOF
2513  if { (eval echo configure:2467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2514    rm -rf conftest*    rm -rf conftest*
2515    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2516  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 2482  rm -f conftest* Line 2529  rm -f conftest*
2529    
2530    
2531  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
2532  echo "configure:2486: checking for profil" >&5  echo "configure:2533: checking for profil" >&5
2533  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
2534    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2535  else  else
2536    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2537  #line 2491 "configure"  #line 2538 "configure"
2538  #include "confdefs.h"  #include "confdefs.h"
2539  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2540      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 2510  profil(); Line 2557  profil();
2557    
2558  ; return 0; }  ; return 0; }
2559  EOF  EOF
2560  if { (eval echo configure:2514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2561    rm -rf conftest*    rm -rf conftest*
2562    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
2563  else  else
# Line 2535  fi Line 2582  fi
2582    
2583    
2584  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
2585  echo "configure:2539: checking for setenv" >&5  echo "configure:2586: checking for setenv" >&5
2586  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
2587    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2588  else  else
2589    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2590  #line 2544 "configure"  #line 2591 "configure"
2591  #include "confdefs.h"  #include "confdefs.h"
2592  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2593      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 2563  setenv(); Line 2610  setenv();
2610    
2611  ; return 0; }  ; return 0; }
2612  EOF  EOF
2613  if { (eval echo configure:2567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2614    rm -rf conftest*    rm -rf conftest*
2615    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
2616  else  else
# Line 2589  fi Line 2636  fi
2636    
2637  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
2638  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
2639  echo "configure:2593: checking for putenv" >&5  echo "configure:2640: checking for putenv" >&5
2640  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
2641    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2642  else  else
2643    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2644  #line 2598 "configure"  #line 2645 "configure"
2645  #include "confdefs.h"  #include "confdefs.h"
2646  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2647      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 2617  putenv(); Line 2664  putenv();
2664    
2665  ; return 0; }  ; return 0; }
2666  EOF  EOF
2667  if { (eval echo configure:2621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2668    rm -rf conftest*    rm -rf conftest*
2669    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
2670  else  else
# Line 2643  fi Line 2690  fi
2690  fi  fi
2691    
2692  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
2693  echo "configure:2647: checking for _cleanup" >&5  echo "configure:2694: checking for _cleanup" >&5
2694  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
2695    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2696  else  else
2697    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2698  #line 2652 "configure"  #line 2699 "configure"
2699  #include "confdefs.h"  #include "confdefs.h"
2700  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2701      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 2671  _cleanup(); Line 2718  _cleanup();
2718    
2719  ; return 0; }  ; return 0; }
2720  EOF  EOF
2721  if { (eval echo configure:2675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2722    rm -rf conftest*    rm -rf conftest*
2723    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
2724  else  else
# Line 2697  fi Line 2744  fi
2744  gcl_ok=no  gcl_ok=no
2745    
2746  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2747  #line 2701 "configure"  #line 2748 "configure"
2748  #include "confdefs.h"  #include "confdefs.h"
2749  #include <ctype.h>  #include <ctype.h>
2750  EOF  EOF
# Line 2725  fi Line 2772  fi
2772    
2773  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
2774  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
2775  echo "configure:2729: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:2776: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
2776    
2777  case $system in  case $system in
2778         OSF*)         OSF*)
# Line 2781  else { echo "configure: error: can not r Line 2828  else { echo "configure: error: can not r
2828  fi  fi
2829    
2830  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
2831  echo "configure:2785: checking host system type" >&5  echo "configure:2832: checking host system type" >&5
2832    
2833  host_alias=$host  host_alias=$host
2834  case "$host_alias" in  case "$host_alias" in
# Line 2954  case $canonical in Line 3001  case $canonical in
3001    
3002  esac  esac
3003  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
3004  echo "configure:2958: checking check for SV_ONSTACK" >&5  echo "configure:3005: checking check for SV_ONSTACK" >&5
3005  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3006  #line 2960 "configure"  #line 3007 "configure"
3007  #include "confdefs.h"  #include "confdefs.h"
3008  #include <signal.h>  #include <signal.h>
3009  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 2965  int main() { Line 3012  int main() {
3012    
3013  ; return 0; }  ; return 0; }
3014  EOF  EOF
3015  if { (eval echo configure:2969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3016    rm -rf conftest*    rm -rf conftest*
3017    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3018  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 2983  rm -f conftest* Line 3030  rm -f conftest*
3030    
3031    
3032  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
3033  echo "configure:2987: checking check for SIGSYS" >&5  echo "configure:3034: checking check for SIGSYS" >&5
3034  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3035  #line 2989 "configure"  #line 3036 "configure"
3036  #include "confdefs.h"  #include "confdefs.h"
3037  #include <signal.h>  #include <signal.h>
3038  int joe=SIGSYS;  int joe=SIGSYS;
# Line 2994  int main() { Line 3041  int main() {
3041    
3042  ; return 0; }  ; return 0; }
3043  EOF  EOF
3044  if { (eval echo configure:2998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3045    rm -rf conftest*    rm -rf conftest*
3046    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3047  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 3012  rm -f conftest* Line 3059  rm -f conftest*
3059    
3060    
3061  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
3062  echo "configure:3016: checking check for SIGEMT" >&5  echo "configure:3063: checking check for SIGEMT" >&5
3063  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3064  #line 3018 "configure"  #line 3065 "configure"
3065  #include "confdefs.h"  #include "confdefs.h"
3066  #include <signal.h>  #include <signal.h>
3067  int joe=SIGEMT;  int joe=SIGEMT;
# Line 3023  int main() { Line 3070  int main() {
3070    
3071  ; return 0; }  ; return 0; }
3072  EOF  EOF
3073  if { (eval echo configure:3027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3074    rm -rf conftest*    rm -rf conftest*
3075    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3076  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 3047  rm -f conftest* Line 3094  rm -f conftest*
3094  do  do
3095  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3096  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3097  echo "configure:3051: checking for $ac_hdr" >&5  echo "configure:3098: checking for $ac_hdr" >&5
3098  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3099    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3100  else  else
3101    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3102  #line 3056 "configure"  #line 3103 "configure"
3103  #include "confdefs.h"  #include "confdefs.h"
3104  #include <$ac_hdr>  #include <$ac_hdr>
3105  EOF  EOF
3106  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3107  { (eval echo configure:3061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3108  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3109  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3110    rm -rf conftest*    rm -rf conftest*
# Line 3087  done Line 3134  done
3134  do  do
3135  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3136  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3137  echo "configure:3091: checking for $ac_hdr" >&5  echo "configure:3138: checking for $ac_hdr" >&5
3138  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3139    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3140  else  else
3141    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3142  #line 3096 "configure"  #line 3143 "configure"
3143  #include "confdefs.h"  #include "confdefs.h"
3144  #include <$ac_hdr>  #include <$ac_hdr>
3145  EOF  EOF
3146  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3147  { (eval echo configure:3101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3148  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3149  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3150    rm -rf conftest*    rm -rf conftest*
# Line 3124  fi Line 3171  fi
3171  done  done
3172    
3173          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
3174  #line 3128 "configure"  #line 3175 "configure"
3175  #include "confdefs.h"  #include "confdefs.h"
3176  #include <signal.h>  #include <signal.h>
3177                          long code;                            long code;  
# Line 3135  int main() { Line 3182  int main() {
3182                
3183  ; return 0; }  ; return 0; }
3184  EOF  EOF
3185  if { (eval echo configure:3139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3186    rm -rf conftest*    rm -rf conftest*
3187        
3188          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 3156  fi Line 3203  fi
3203  rm -f conftest*  rm -f conftest*
3204         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
3205         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
3206  #line 3160 "configure"  #line 3207 "configure"
3207  #include "confdefs.h"  #include "confdefs.h"
3208  #include <signal.h>  #include <signal.h>
3209               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 3173  int main() { Line 3220  int main() {
3220                    
3221  ; return 0; }  ; return 0; }
3222  EOF  EOF
3223  if { (eval echo configure:3177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3224    rm -rf conftest*    rm -rf conftest*
3225        
3226          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 3216  rm -f conftest* Line 3263  rm -f conftest*
3263  # 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.
3264  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
3265  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3266  echo "configure:3220: checking for $ac_word" >&5  echo "configure:3267: checking for $ac_word" >&5
3267  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
3268    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3269  else  else
# Line 3264  cat >> conftest.el <<EOF Line 3311  cat >> conftest.el <<EOF
3311  EOF  EOF
3312    
3313  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
3314  echo "configure:3268: checking emacs site lisp directory" >&5  echo "configure:3315: checking emacs site lisp directory" >&5
3315  #EMACS_SITE_LISP=unknown  #EMACS_SITE_LISP=unknown
3316  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3317          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 3287  cat >> conftest.el <<EOF Line 3334  cat >> conftest.el <<EOF
3334  EOF  EOF
3335    
3336  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
3337  echo "configure:3291: checking emacs default.el" >&5  echo "configure:3338: checking emacs default.el" >&5
3338  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3339          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 `
3340  else  else
# Line 3316  cat >> conftest.el <<EOF Line 3363  cat >> conftest.el <<EOF
3363  EOF  EOF
3364    
3365  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
3366  echo "configure:3320: checking emacs info/dir" >&5  echo "configure:3367: checking emacs info/dir" >&5
3367  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3368          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 `
3369  fi  fi
# Line 3330  echo "$ac_t""$INFO_DIR" 1>&6 Line 3377  echo "$ac_t""$INFO_DIR" 1>&6
3377    
3378    
3379  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
3380  echo "configure:3334: checking for tcl/tk" >&5  echo "configure:3381: checking for tcl/tk" >&5
3381    
3382    
3383  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 3353  EOF Line 3400  EOF
3400  # 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.
3401  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
3402  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3403  echo "configure:3357: checking for $ac_word" >&5  echo "configure:3404: checking for $ac_word" >&5
3404  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
3405    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3406  else  else
# Line 3453  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 3500  if test -f ${TCL_CONFIG_PREFIX}/../inclu
3500    fi    fi
3501  fi  fi
3502  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
3503  echo "configure:3457: checking for main in -llieee" >&5  echo "configure:3504: checking for main in -llieee" >&5
3504  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
3505  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
3506    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3461  else Line 3508  else
3508    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3509  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
3510  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3511  #line 3465 "configure"  #line 3512 "configure"
3512  #include "confdefs.h"  #include "confdefs.h"
3513    
3514  int main() {  int main() {
3515  main()  main()
3516  ; return 0; }  ; return 0; }
3517  EOF  EOF
3518  if { (eval echo configure:3472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3519    rm -rf conftest*    rm -rf conftest*
3520    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3521  else  else
# Line 3493  if test "$have_ieee" = "0" ; then Line 3540  if test "$have_ieee" = "0" ; then
3540   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
3541  fi  fi
3542  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
3543  echo "configure:3497: checking for dlopen in -ldl" >&5  echo "configure:3544: checking for dlopen in -ldl" >&5
3544  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
3545  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
3546    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3501  else Line 3548  else
3548    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3549  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
3550  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3551  #line 3505 "configure"  #line 3552 "configure"
3552  #include "confdefs.h"  #include "confdefs.h"
3553  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3554  /* 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 3512  int main() { Line 3559  int main() {
3559  dlopen()  dlopen()
3560  ; return 0; }  ; return 0; }
3561  EOF  EOF
3562  if { (eval echo configure:3516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3563    rm -rf conftest*    rm -rf conftest*
3564    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3565  else  else
# Line 3594  echo "$ac_t""use=$use" 1>&6 Line 3641  echo "$ac_t""use=$use" 1>&6
3641  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
3642    
3643  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
3644  echo "configure:3598: checking alloca" >&5  echo "configure:3645: checking alloca" >&5
3645  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3646    gcl_ok=no    gcl_ok=no
3647  else  else
3648    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3649  #line 3603 "configure"  #line 3650 "configure"
3650  #include "confdefs.h"  #include "confdefs.h"
3651  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
3652  EOF  EOF
3653  if { (eval echo configure:3607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3654  then  then
3655    :    :
3656  else  else
# Line 3626  else Line 3673  else
3673    gcl_ok=no    gcl_ok=no
3674  else  else
3675    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3676  #line 3630 "configure"  #line 3677 "configure"
3677  #include "confdefs.h"  #include "confdefs.h"
3678  #include <alloca.h>  #include <alloca.h>
3679    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
3680  EOF  EOF
3681  if { (eval echo configure:3635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3682  then  then
3683    :    :
3684  else  else
# Line 3694  rm -f makedefsafter Line 3741  rm -f makedefsafter
3741  MP_INLCUDE=""  MP_INLCUDE=""
3742  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
3743   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
3744  echo "configure:3698: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:3745: checking use_gmp=yes, doing configure in gmp directory" >&5
3745   case "${canonical}" in   case "${canonical}" in
3746  #   i[[5-9]]86* | pentium* | k6* | athlon*)  #   i[[5-9]]86* | pentium* | k6* | athlon*)
3747  #      (cd gmp ; ./configure --target=i486) ;;  #      (cd gmp ; ./configure --target=i486) ;;
# Line 3718  fi Line 3765  fi
3765  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
3766  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
3767  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
3768  echo "configure:3722: checking Checking for buggy gcc version from redhat" >&5  echo "configure:3769: checking Checking for buggy gcc version from redhat" >&5
3769  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
3770     then     then
3771          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

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