/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.44 by camm, Mon Jun 17 04:44:30 2002 UTC revision 1.45 by camm, Mon Jun 17 12:52:31 2002 UTC
# Line 2222  else Line 2222  else
2222    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2223  #line 2224 "configure"  #line 2224 "configure"
2224  #include "confdefs.h"  #include "confdefs.h"
2225  #include <bfd.h>  #define IN_GCC
2226                                        #include <bfd.h>
2227                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
2228  EOF  EOF
2229  if { (eval echo configure:2229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2230  then  then
2231    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2232                                  cat >> confdefs.h <<\EOF                                  cat >> confdefs.h <<\EOF
# Line 2241  else Line 2242  else
2242    echo "$ac_t""cannot use bfd" 1>&6    echo "$ac_t""cannot use bfd" 1>&6
2243  else  else
2244    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2245  #line 2245 "configure"  #line 2246 "configure"
2246  #include "confdefs.h"  #include "confdefs.h"
2247  #include <bfd.h>  #define IN_GCC
2248                                                #include <bfd.h>
2249                                              #define CONST const                                              #define CONST const
2250                                              int main() {symbol_info t; return 0;}                                              int main() {symbol_info t; return 0;}
2251  EOF  EOF
2252  if { (eval echo configure:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2253  then  then
2254    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
2255                                          cat >> confdefs.h <<\EOF                                          cat >> confdefs.h <<\EOF
# Line 2289  fi Line 2291  fi
2291    
2292    
2293  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
2294  echo "configure:2293: checking For network code for nsocket.c" >&5  echo "configure:2295: checking For network code for nsocket.c" >&5
2295  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2296  #line 2295 "configure"  #line 2297 "configure"
2297  #include "confdefs.h"  #include "confdefs.h"
2298    
2299  #include <sys/time.h>  #include <sys/time.h>
# Line 2318  int main() { Line 2320  int main() {
2320                    
2321  ; return 0; }  ; return 0; }
2322  EOF  EOF
2323  if { (eval echo configure:2322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2324    rm -rf conftest*    rm -rf conftest*
2325    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2326  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 2335  rm -f conftest* Line 2337  rm -f conftest*
2337    
2338    
2339  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
2340  echo "configure:2339: checking check for listen using fcntl" >&5  echo "configure:2341: checking check for listen using fcntl" >&5
2341  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2342  #line 2341 "configure"  #line 2343 "configure"
2343  #include "confdefs.h"  #include "confdefs.h"
2344  #include <stdio.h>  #include <stdio.h>
2345  #include <fcntl.h>  #include <fcntl.h>
# Line 2350  FILE *fp=fopen("configure.in","r"); Line 2352  FILE *fp=fopen("configure.in","r");
2352    
2353  ; return 0; }  ; return 0; }
2354  EOF  EOF
2355  if { (eval echo configure:2354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2356    rm -rf conftest*    rm -rf conftest*
2357    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2358  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 2369  rm -f conftest* Line 2371  rm -f conftest*
2371    
2372    
2373  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
2374  echo "configure:2373: checking for profil" >&5  echo "configure:2375: checking for profil" >&5
2375  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
2376    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2377  else  else
2378    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2379  #line 2378 "configure"  #line 2380 "configure"
2380  #include "confdefs.h"  #include "confdefs.h"
2381  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2382      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 2397  profil(); Line 2399  profil();
2399    
2400  ; return 0; }  ; return 0; }
2401  EOF  EOF
2402  if { (eval echo configure:2401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2403    rm -rf conftest*    rm -rf conftest*
2404    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
2405  else  else
# Line 2422  fi Line 2424  fi
2424    
2425    
2426  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
2427  echo "configure:2426: checking for setenv" >&5  echo "configure:2428: checking for setenv" >&5
2428  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
2429    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2430  else  else
2431    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2432  #line 2431 "configure"  #line 2433 "configure"
2433  #include "confdefs.h"  #include "confdefs.h"
2434  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2435      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 2450  setenv(); Line 2452  setenv();
2452    
2453  ; return 0; }  ; return 0; }
2454  EOF  EOF
2455  if { (eval echo configure:2454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2456    rm -rf conftest*    rm -rf conftest*
2457    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
2458  else  else
# Line 2476  fi Line 2478  fi
2478    
2479  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
2480  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
2481  echo "configure:2480: checking for putenv" >&5  echo "configure:2482: checking for putenv" >&5
2482  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
2483    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2484  else  else
2485    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2486  #line 2485 "configure"  #line 2487 "configure"
2487  #include "confdefs.h"  #include "confdefs.h"
2488  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2489      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 2504  putenv(); Line 2506  putenv();
2506    
2507  ; return 0; }  ; return 0; }
2508  EOF  EOF
2509  if { (eval echo configure:2508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2510    rm -rf conftest*    rm -rf conftest*
2511    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
2512  else  else
# Line 2530  fi Line 2532  fi
2532  fi  fi
2533    
2534  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
2535  echo "configure:2534: checking for _cleanup" >&5  echo "configure:2536: checking for _cleanup" >&5
2536  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
2537    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2538  else  else
2539    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2540  #line 2539 "configure"  #line 2541 "configure"
2541  #include "confdefs.h"  #include "confdefs.h"
2542  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2543      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 2558  _cleanup(); Line 2560  _cleanup();
2560    
2561  ; return 0; }  ; return 0; }
2562  EOF  EOF
2563  if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2564    rm -rf conftest*    rm -rf conftest*
2565    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
2566  else  else
# Line 2584  fi Line 2586  fi
2586  gcl_ok=no  gcl_ok=no
2587    
2588  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2589  #line 2588 "configure"  #line 2590 "configure"
2590  #include "confdefs.h"  #include "confdefs.h"
2591  #include <ctype.h>  #include <ctype.h>
2592  EOF  EOF
# Line 2612  fi Line 2614  fi
2614    
2615  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
2616  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
2617  echo "configure:2616: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:2618: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
2618    
2619  case $system in  case $system in
2620         OSF*)         OSF*)
# Line 2668  else { echo "configure: error: can not r Line 2670  else { echo "configure: error: can not r
2670  fi  fi
2671    
2672  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
2673  echo "configure:2672: checking host system type" >&5  echo "configure:2674: checking host system type" >&5
2674    
2675  host_alias=$host  host_alias=$host
2676  case "$host_alias" in  case "$host_alias" in
# Line 2841  case $canonical in Line 2843  case $canonical in
2843    
2844  esac  esac
2845  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
2846  echo "configure:2845: checking check for SV_ONSTACK" >&5  echo "configure:2847: checking check for SV_ONSTACK" >&5
2847  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2848  #line 2847 "configure"  #line 2849 "configure"
2849  #include "confdefs.h"  #include "confdefs.h"
2850  #include <signal.h>  #include <signal.h>
2851  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 2852  int main() { Line 2854  int main() {
2854    
2855  ; return 0; }  ; return 0; }
2856  EOF  EOF
2857  if { (eval echo configure:2856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2858    rm -rf conftest*    rm -rf conftest*
2859    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2860  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 2870  rm -f conftest* Line 2872  rm -f conftest*
2872    
2873    
2874  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
2875  echo "configure:2874: checking check for SIGSYS" >&5  echo "configure:2876: checking check for SIGSYS" >&5
2876  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2877  #line 2876 "configure"  #line 2878 "configure"
2878  #include "confdefs.h"  #include "confdefs.h"
2879  #include <signal.h>  #include <signal.h>
2880  int joe=SIGSYS;  int joe=SIGSYS;
# Line 2881  int main() { Line 2883  int main() {
2883    
2884  ; return 0; }  ; return 0; }
2885  EOF  EOF
2886  if { (eval echo configure:2885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2887    rm -rf conftest*    rm -rf conftest*
2888    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2889  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 2899  rm -f conftest* Line 2901  rm -f conftest*
2901    
2902    
2903  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
2904  echo "configure:2903: checking check for SIGEMT" >&5  echo "configure:2905: checking check for SIGEMT" >&5
2905  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2906  #line 2905 "configure"  #line 2907 "configure"
2907  #include "confdefs.h"  #include "confdefs.h"
2908  #include <signal.h>  #include <signal.h>
2909  int joe=SIGEMT;  int joe=SIGEMT;
# Line 2910  int main() { Line 2912  int main() {
2912    
2913  ; return 0; }  ; return 0; }
2914  EOF  EOF
2915  if { (eval echo configure:2914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2916    rm -rf conftest*    rm -rf conftest*
2917    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2918  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 2934  rm -f conftest* Line 2936  rm -f conftest*
2936  do  do
2937  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2938  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2939  echo "configure:2938: checking for $ac_hdr" >&5  echo "configure:2940: checking for $ac_hdr" >&5
2940  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2941    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2942  else  else
2943    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2944  #line 2943 "configure"  #line 2945 "configure"
2945  #include "confdefs.h"  #include "confdefs.h"
2946  #include <$ac_hdr>  #include <$ac_hdr>
2947  EOF  EOF
2948  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2949  { (eval echo configure:2948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2950  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2951  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2952    rm -rf conftest*    rm -rf conftest*
# Line 2974  done Line 2976  done
2976  do  do
2977  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2978  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2979  echo "configure:2978: checking for $ac_hdr" >&5  echo "configure:2980: checking for $ac_hdr" >&5
2980  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2981    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2982  else  else
2983    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2984  #line 2983 "configure"  #line 2985 "configure"
2985  #include "confdefs.h"  #include "confdefs.h"
2986  #include <$ac_hdr>  #include <$ac_hdr>
2987  EOF  EOF
2988  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2989  { (eval echo configure:2988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2990  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2991  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2992    rm -rf conftest*    rm -rf conftest*
# Line 3011  fi Line 3013  fi
3013  done  done
3014    
3015          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
3016  #line 3015 "configure"  #line 3017 "configure"
3017  #include "confdefs.h"  #include "confdefs.h"
3018  #include <signal.h>  #include <signal.h>
3019                          long code;                            long code;  
# Line 3022  int main() { Line 3024  int main() {
3024                
3025  ; return 0; }  ; return 0; }
3026  EOF  EOF
3027  if { (eval echo configure:3026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3028    rm -rf conftest*    rm -rf conftest*
3029        
3030          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 3043  fi Line 3045  fi
3045  rm -f conftest*  rm -f conftest*
3046         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
3047         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
3048  #line 3047 "configure"  #line 3049 "configure"
3049  #include "confdefs.h"  #include "confdefs.h"
3050  #include <signal.h>  #include <signal.h>
3051               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 3060  int main() { Line 3062  int main() {
3062                    
3063  ; return 0; }  ; return 0; }
3064  EOF  EOF
3065  if { (eval echo configure:3064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3066    rm -rf conftest*    rm -rf conftest*
3067        
3068          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 3103  rm -f conftest* Line 3105  rm -f conftest*
3105  # 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.
3106  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
3107  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3108  echo "configure:3107: checking for $ac_word" >&5  echo "configure:3109: checking for $ac_word" >&5
3109  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
3110    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3111  else  else
# Line 3151  cat >> conftest.el <<EOF Line 3153  cat >> conftest.el <<EOF
3153  EOF  EOF
3154    
3155  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
3156  echo "configure:3155: checking emacs site lisp directory" >&5  echo "configure:3157: checking emacs site lisp directory" >&5
3157  #EMACS_SITE_LISP=unknown  #EMACS_SITE_LISP=unknown
3158  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3159          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 3174  cat >> conftest.el <<EOF Line 3176  cat >> conftest.el <<EOF
3176  EOF  EOF
3177    
3178  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
3179  echo "configure:3178: checking emacs default.el" >&5  echo "configure:3180: checking emacs default.el" >&5
3180  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3181          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 `
3182  else  else
# Line 3203  cat >> conftest.el <<EOF Line 3205  cat >> conftest.el <<EOF
3205  EOF  EOF
3206    
3207  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
3208  echo "configure:3207: checking emacs info/dir" >&5  echo "configure:3209: checking emacs info/dir" >&5
3209  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3210          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 `
3211  fi  fi
# Line 3217  echo "$ac_t""$INFO_DIR" 1>&6 Line 3219  echo "$ac_t""$INFO_DIR" 1>&6
3219    
3220    
3221  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
3222  echo "configure:3221: checking for tcl/tk" >&5  echo "configure:3223: checking for tcl/tk" >&5
3223    
3224    
3225  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 3240  cp conftest.tcl foo.tcl Line 3242  cp conftest.tcl foo.tcl
3242  # 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.
3243  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
3244  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3245  echo "configure:3244: checking for $ac_word" >&5  echo "configure:3246: checking for $ac_word" >&5
3246  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
3247    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3248  else  else
# Line 3340  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 3342  if test -f ${TCL_CONFIG_PREFIX}/../inclu
3342    fi    fi
3343  fi  fi
3344  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
3345  echo "configure:3344: checking for main in -llieee" >&5  echo "configure:3346: checking for main in -llieee" >&5
3346  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
3347  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
3348    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3348  else Line 3350  else
3350    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3351  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
3352  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3353  #line 3352 "configure"  #line 3354 "configure"
3354  #include "confdefs.h"  #include "confdefs.h"
3355    
3356  int main() {  int main() {
3357  main()  main()
3358  ; return 0; }  ; return 0; }
3359  EOF  EOF
3360  if { (eval echo configure:3359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3361    rm -rf conftest*    rm -rf conftest*
3362    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3363  else  else
# Line 3380  if test "$have_ieee" = "0" ; then Line 3382  if test "$have_ieee" = "0" ; then
3382   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
3383  fi  fi
3384  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
3385  echo "configure:3384: checking for dlopen in -ldl" >&5  echo "configure:3386: checking for dlopen in -ldl" >&5
3386  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
3387  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
3388    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3388  else Line 3390  else
3390    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3391  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
3392  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3393  #line 3392 "configure"  #line 3394 "configure"
3394  #include "confdefs.h"  #include "confdefs.h"
3395  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3396  /* 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 3399  int main() { Line 3401  int main() {
3401  dlopen()  dlopen()
3402  ; return 0; }  ; return 0; }
3403  EOF  EOF
3404  if { (eval echo configure:3403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3405    rm -rf conftest*    rm -rf conftest*
3406    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3407  else  else
# Line 3481  echo "$ac_t""use=$use" 1>&6 Line 3483  echo "$ac_t""use=$use" 1>&6
3483  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
3484    
3485  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
3486  echo "configure:3485: checking alloca" >&5  echo "configure:3487: checking alloca" >&5
3487  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3488    gcl_ok=no    gcl_ok=no
3489  else  else
3490    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3491  #line 3490 "configure"  #line 3492 "configure"
3492  #include "confdefs.h"  #include "confdefs.h"
3493  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
3494  EOF  EOF
3495  if { (eval echo configure:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3496  then  then
3497    :    :
3498  else  else
# Line 3513  else Line 3515  else
3515    gcl_ok=no    gcl_ok=no
3516  else  else
3517    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3518  #line 3517 "configure"  #line 3519 "configure"
3519  #include "confdefs.h"  #include "confdefs.h"
3520  #include <alloca.h>  #include <alloca.h>
3521    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
3522  EOF  EOF
3523  if { (eval echo configure:3522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3524  then  then
3525    :    :
3526  else  else
# Line 3581  rm -f makedefsafter Line 3583  rm -f makedefsafter
3583  MP_INLCUDE=""  MP_INLCUDE=""
3584  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
3585   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
3586  echo "configure:3585: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:3587: checking use_gmp=yes, doing configure in gmp directory" >&5
3587   case "${canonical}" in   case "${canonical}" in
3588  #   i[[5-9]]86* | pentium* | k6* | athlon*)  #   i[[5-9]]86* | pentium* | k6* | athlon*)
3589  #      (cd gmp ; ./configure --target=i486) ;;  #      (cd gmp ; ./configure --target=i486) ;;
# Line 3605  fi Line 3607  fi
3607  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
3608  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
3609  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
3610  echo "configure:3609: checking Checking for buggy gcc version from redhat" >&5  echo "configure:3611: checking Checking for buggy gcc version from redhat" >&5
3611  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
3612     then     then
3613          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

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