/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.32 by camm, Mon Jun 3 22:24:46 2002 UTC revision 1.33 by camm, Tue Jun 4 00:18:45 2002 UTC
# Line 1936  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 1936  if eval "test \"`echo '$ac_cv_lib_'$ac_l
1936  #define HAVE_LIBBFD 1  #define HAVE_LIBBFD 1
1937  EOF  EOF
1938    
1939                  echo "int main() {return 0;}" >foo.c                  echo "int main() {bfd_init();return 0;}" >foo.c
1940                  MP=`$GCC -t -o foo foo.c -lbfd -liberty 2>&1 |grep '^\-lbfd' | awk '{print $2}' | tr -d '()'`                  MP=`$GCC -t -o foo foo.c -lbfd -liberty 2>&1 |tr -d '()' | awk '/\/libbfd/ || /\/libiberty/ {for (j=1;j<=NF;j++) {sub("\.so$",".a",$j); if ($j ~ "/libbfd") a=$j; if ($j ~ "/libiberty") b=$j;}} END {print a " " b}'`
1941                  MPD=`dirname $MP`                  LIBS="$LIBS  $MP"
                 LIBS="$LIBS  $MPD/libbfd.a $MPD/libiberty.a"  
1942                                    
1943  else  else
1944    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
# Line 1955  fi Line 1954  fi
1954    
1955    
1956  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
1957  echo "configure:1959: checking For network code for nsocket.c" >&5  echo "configure:1958: checking For network code for nsocket.c" >&5
1958  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1959  #line 1961 "configure"  #line 1960 "configure"
1960  #include "confdefs.h"  #include "confdefs.h"
1961    
1962  #include <sys/time.h>  #include <sys/time.h>
# Line 1984  int main() { Line 1983  int main() {
1983                    
1984  ; return 0; }  ; return 0; }
1985  EOF  EOF
1986  if { (eval echo configure:1988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1987    rm -rf conftest*    rm -rf conftest*
1988    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1989  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 2001  rm -f conftest* Line 2000  rm -f conftest*
2000    
2001    
2002  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
2003  echo "configure:2005: checking check for listen using fcntl" >&5  echo "configure:2004: checking check for listen using fcntl" >&5
2004  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2005  #line 2007 "configure"  #line 2006 "configure"
2006  #include "confdefs.h"  #include "confdefs.h"
2007  #include <stdio.h>  #include <stdio.h>
2008  #include <fcntl.h>  #include <fcntl.h>
# Line 2016  FILE *fp=fopen("configure.in","r"); Line 2015  FILE *fp=fopen("configure.in","r");
2015    
2016  ; return 0; }  ; return 0; }
2017  EOF  EOF
2018  if { (eval echo configure:2020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2019    rm -rf conftest*    rm -rf conftest*
2020    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2021  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 2035  rm -f conftest* Line 2034  rm -f conftest*
2034    
2035    
2036  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
2037  echo "configure:2039: checking for profil" >&5  echo "configure:2038: checking for profil" >&5
2038  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
2039    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2040  else  else
2041    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2042  #line 2044 "configure"  #line 2043 "configure"
2043  #include "confdefs.h"  #include "confdefs.h"
2044  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2045      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 2063  profil(); Line 2062  profil();
2062    
2063  ; return 0; }  ; return 0; }
2064  EOF  EOF
2065  if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2066    rm -rf conftest*    rm -rf conftest*
2067    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
2068  else  else
# Line 2088  fi Line 2087  fi
2087    
2088    
2089  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
2090  echo "configure:2092: checking for setenv" >&5  echo "configure:2091: checking for setenv" >&5
2091  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
2092    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2093  else  else
2094    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2095  #line 2097 "configure"  #line 2096 "configure"
2096  #include "confdefs.h"  #include "confdefs.h"
2097  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2098      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 2116  setenv(); Line 2115  setenv();
2115    
2116  ; return 0; }  ; return 0; }
2117  EOF  EOF
2118  if { (eval echo configure:2120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2119    rm -rf conftest*    rm -rf conftest*
2120    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
2121  else  else
# Line 2142  fi Line 2141  fi
2141    
2142  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
2143  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
2144  echo "configure:2146: checking for putenv" >&5  echo "configure:2145: checking for putenv" >&5
2145  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
2146    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2147  else  else
2148    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2149  #line 2151 "configure"  #line 2150 "configure"
2150  #include "confdefs.h"  #include "confdefs.h"
2151  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2152      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 2170  putenv(); Line 2169  putenv();
2169    
2170  ; return 0; }  ; return 0; }
2171  EOF  EOF
2172  if { (eval echo configure:2174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2173    rm -rf conftest*    rm -rf conftest*
2174    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
2175  else  else
# Line 2196  fi Line 2195  fi
2195  fi  fi
2196    
2197  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
2198  echo "configure:2200: checking for _cleanup" >&5  echo "configure:2199: checking for _cleanup" >&5
2199  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
2200    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2201  else  else
2202    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2203  #line 2205 "configure"  #line 2204 "configure"
2204  #include "confdefs.h"  #include "confdefs.h"
2205  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2206      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 2224  _cleanup(); Line 2223  _cleanup();
2223    
2224  ; return 0; }  ; return 0; }
2225  EOF  EOF
2226  if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2227    rm -rf conftest*    rm -rf conftest*
2228    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
2229  else  else
# Line 2250  fi Line 2249  fi
2249  gcl_ok=no  gcl_ok=no
2250    
2251  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2252  #line 2254 "configure"  #line 2253 "configure"
2253  #include "confdefs.h"  #include "confdefs.h"
2254  #include <ctype.h>  #include <ctype.h>
2255  EOF  EOF
# Line 2278  fi Line 2277  fi
2277    
2278  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
2279  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
2280  echo "configure:2282: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:2281: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
2281    
2282  case $system in  case $system in
2283         OSF*)         OSF*)
# Line 2334  else { echo "configure: error: can not r Line 2333  else { echo "configure: error: can not r
2333  fi  fi
2334    
2335  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
2336  echo "configure:2338: checking host system type" >&5  echo "configure:2337: checking host system type" >&5
2337    
2338  host_alias=$host  host_alias=$host
2339  case "$host_alias" in  case "$host_alias" in
# Line 2507  case $canonical in Line 2506  case $canonical in
2506    
2507  esac  esac
2508  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
2509  echo "configure:2511: checking check for SV_ONSTACK" >&5  echo "configure:2510: checking check for SV_ONSTACK" >&5
2510  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2511  #line 2513 "configure"  #line 2512 "configure"
2512  #include "confdefs.h"  #include "confdefs.h"
2513  #include <signal.h>  #include <signal.h>
2514  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 2518  int main() { Line 2517  int main() {
2517    
2518  ; return 0; }  ; return 0; }
2519  EOF  EOF
2520  if { (eval echo configure:2522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2521    rm -rf conftest*    rm -rf conftest*
2522    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2523  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 2536  rm -f conftest* Line 2535  rm -f conftest*
2535    
2536    
2537  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
2538  echo "configure:2540: checking check for SIGSYS" >&5  echo "configure:2539: checking check for SIGSYS" >&5
2539  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2540  #line 2542 "configure"  #line 2541 "configure"
2541  #include "confdefs.h"  #include "confdefs.h"
2542  #include <signal.h>  #include <signal.h>
2543  int joe=SIGSYS;  int joe=SIGSYS;
# Line 2547  int main() { Line 2546  int main() {
2546    
2547  ; return 0; }  ; return 0; }
2548  EOF  EOF
2549  if { (eval echo configure:2551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2550    rm -rf conftest*    rm -rf conftest*
2551    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2552  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 2565  rm -f conftest* Line 2564  rm -f conftest*
2564    
2565    
2566  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
2567  echo "configure:2569: checking check for SIGEMT" >&5  echo "configure:2568: checking check for SIGEMT" >&5
2568  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2569  #line 2571 "configure"  #line 2570 "configure"
2570  #include "confdefs.h"  #include "confdefs.h"
2571  #include <signal.h>  #include <signal.h>
2572  int joe=SIGEMT;  int joe=SIGEMT;
# Line 2576  int main() { Line 2575  int main() {
2575    
2576  ; return 0; }  ; return 0; }
2577  EOF  EOF
2578  if { (eval echo configure:2580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2579    rm -rf conftest*    rm -rf conftest*
2580    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2581  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 2600  rm -f conftest* Line 2599  rm -f conftest*
2599  do  do
2600  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2601  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2602  echo "configure:2604: checking for $ac_hdr" >&5  echo "configure:2603: checking for $ac_hdr" >&5
2603  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2604    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2605  else  else
2606    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2607  #line 2609 "configure"  #line 2608 "configure"
2608  #include "confdefs.h"  #include "confdefs.h"
2609  #include <$ac_hdr>  #include <$ac_hdr>
2610  EOF  EOF
2611  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2612  { (eval echo configure:2614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2613  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2614  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2615    rm -rf conftest*    rm -rf conftest*
# Line 2640  done Line 2639  done
2639  do  do
2640  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2641  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2642  echo "configure:2644: checking for $ac_hdr" >&5  echo "configure:2643: checking for $ac_hdr" >&5
2643  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2644    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2645  else  else
2646    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2647  #line 2649 "configure"  #line 2648 "configure"
2648  #include "confdefs.h"  #include "confdefs.h"
2649  #include <$ac_hdr>  #include <$ac_hdr>
2650  EOF  EOF
2651  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2652  { (eval echo configure:2654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2653  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2654  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2655    rm -rf conftest*    rm -rf conftest*
# Line 2677  fi Line 2676  fi
2676  done  done
2677    
2678          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2679  #line 2681 "configure"  #line 2680 "configure"
2680  #include "confdefs.h"  #include "confdefs.h"
2681  #include <signal.h>  #include <signal.h>
2682                          long code;                            long code;  
# Line 2688  int main() { Line 2687  int main() {
2687                
2688  ; return 0; }  ; return 0; }
2689  EOF  EOF
2690  if { (eval echo configure:2692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2691    rm -rf conftest*    rm -rf conftest*
2692        
2693          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 2709  fi Line 2708  fi
2708  rm -f conftest*  rm -f conftest*
2709         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
2710         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
2711  #line 2713 "configure"  #line 2712 "configure"
2712  #include "confdefs.h"  #include "confdefs.h"
2713  #include <signal.h>  #include <signal.h>
2714               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 2726  int main() { Line 2725  int main() {
2725                    
2726  ; return 0; }  ; return 0; }
2727  EOF  EOF
2728  if { (eval echo configure:2730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2729    rm -rf conftest*    rm -rf conftest*
2730        
2731          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 2769  rm -f conftest* Line 2768  rm -f conftest*
2768  # 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.
2769  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
2770  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2771  echo "configure:2773: checking for $ac_word" >&5  echo "configure:2772: checking for $ac_word" >&5
2772  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
2773    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2774  else  else
# Line 2817  cat >> conftest.el <<EOF Line 2816  cat >> conftest.el <<EOF
2816  EOF  EOF
2817    
2818  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
2819  echo "configure:2821: checking emacs site lisp directory" >&5  echo "configure:2820: checking emacs site lisp directory" >&5
2820  #EMACS_SITE_LISP=unknown  #EMACS_SITE_LISP=unknown
2821  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
2822          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 2840  cat >> conftest.el <<EOF Line 2839  cat >> conftest.el <<EOF
2839  EOF  EOF
2840    
2841  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
2842  echo "configure:2844: checking emacs default.el" >&5  echo "configure:2843: checking emacs default.el" >&5
2843  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
2844          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 `
2845  else  else
# Line 2869  cat >> conftest.el <<EOF Line 2868  cat >> conftest.el <<EOF
2868  EOF  EOF
2869    
2870  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
2871  echo "configure:2873: checking emacs info/dir" >&5  echo "configure:2872: checking emacs info/dir" >&5
2872  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
2873          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 `
2874  fi  fi
# Line 2883  echo "$ac_t""$INFO_DIR" 1>&6 Line 2882  echo "$ac_t""$INFO_DIR" 1>&6
2882    
2883    
2884  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
2885  echo "configure:2887: checking for tcl/tk" >&5  echo "configure:2886: checking for tcl/tk" >&5
2886    
2887    
2888  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 2906  cp conftest.tcl foo.tcl Line 2905  cp conftest.tcl foo.tcl
2905  # 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.
2906  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
2907  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2908  echo "configure:2910: checking for $ac_word" >&5  echo "configure:2909: checking for $ac_word" >&5
2909  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
2910    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2911  else  else
# Line 3006  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 3005  if test -f ${TCL_CONFIG_PREFIX}/../inclu
3005    fi    fi
3006  fi  fi
3007  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
3008  echo "configure:3010: checking for main in -llieee" >&5  echo "configure:3009: checking for main in -llieee" >&5
3009  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
3010  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
3011    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3014  else Line 3013  else
3013    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3014  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
3015  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3016  #line 3018 "configure"  #line 3017 "configure"
3017  #include "confdefs.h"  #include "confdefs.h"
3018    
3019  int main() {  int main() {
3020  main()  main()
3021  ; return 0; }  ; return 0; }
3022  EOF  EOF
3023  if { (eval echo configure:3025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3024    rm -rf conftest*    rm -rf conftest*
3025    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3026  else  else
# Line 3046  if test "$have_ieee" = "0" ; then Line 3045  if test "$have_ieee" = "0" ; then
3045   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
3046  fi  fi
3047  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
3048  echo "configure:3050: checking for dlopen in -ldl" >&5  echo "configure:3049: checking for dlopen in -ldl" >&5
3049  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
3050  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
3051    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3054  else Line 3053  else
3053    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3054  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
3055  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3056  #line 3058 "configure"  #line 3057 "configure"
3057  #include "confdefs.h"  #include "confdefs.h"
3058  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3059  /* 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 3065  int main() { Line 3064  int main() {
3064  dlopen()  dlopen()
3065  ; return 0; }  ; return 0; }
3066  EOF  EOF
3067  if { (eval echo configure:3069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3068    rm -rf conftest*    rm -rf conftest*
3069    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3070  else  else
# Line 3147  echo "$ac_t""use=$use" 1>&6 Line 3146  echo "$ac_t""use=$use" 1>&6
3146  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
3147    
3148  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
3149  echo "configure:3151: checking alloca" >&5  echo "configure:3150: checking alloca" >&5
3150  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3151    gcl_ok=no    gcl_ok=no
3152  else  else
3153    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3154  #line 3156 "configure"  #line 3155 "configure"
3155  #include "confdefs.h"  #include "confdefs.h"
3156  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
3157  EOF  EOF
3158  if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3159  then  then
3160    :    :
3161  else  else
# Line 3179  else Line 3178  else
3178    gcl_ok=no    gcl_ok=no
3179  else  else
3180    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3181  #line 3183 "configure"  #line 3182 "configure"
3182  #include "confdefs.h"  #include "confdefs.h"
3183  #include <alloca.h>  #include <alloca.h>
3184    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
3185  EOF  EOF
3186  if { (eval echo configure:3188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3187  then  then
3188    :    :
3189  else  else
# Line 3246  rm -f makedefsafter Line 3245  rm -f makedefsafter
3245    
3246  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
3247   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
3248  echo "configure:3250: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:3249: checking use_gmp=yes, doing configure in gmp directory" >&5
3249   case "${canonical}" in   case "${canonical}" in
3250  #   i[[5-9]]86* | pentium* | k6* | athlon*)  #   i[[5-9]]86* | pentium* | k6* | athlon*)
3251  #      (cd gmp ; ./configure --target=i486) ;;  #      (cd gmp ; ./configure --target=i486) ;;
3252     *)     *)
3253        (cd gmp ; ./configure) ;;        (cd gmp ; ./configure) ;;
3254   esac   esac
3255   test -f gmp/mpn/add_n.* || cp gmp/mpn/generic/*.c gmp/mpn/   [ "`ls -1 gmp/mpn/add_n.* 2>/dev/null`" != "" ] || cp gmp/mpn/generic/*.c gmp/mpn/
3256   GMP=1   GMP=1
3257   cat >> confdefs.h <<\EOF   cat >> confdefs.h <<\EOF
3258  #define GMP 1  #define GMP 1
# Line 3268  fi Line 3267  fi
3267  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
3268  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
3269  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
3270  echo "configure:3272: checking Checking for buggy gcc version from redhat" >&5  echo "configure:3271: checking Checking for buggy gcc version from redhat" >&5
3271  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
3272     then     then
3273          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

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