/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.15 by camm, Sun Jan 6 03:50:03 2002 UTC revision 1.16 by camm, Mon Jan 7 21:27:27 2002 UTC
# Line 2783  if test -f ${TK_CONFIG_PREFIX}/tkConfig. Line 2783  if test -f ${TK_CONFIG_PREFIX}/tkConfig.
2783    
2784  if test -d ${TK_CONFIG_PREFIX}/tk${TK_VERSION} ; then  if test -d ${TK_CONFIG_PREFIX}/tk${TK_VERSION} ; then
2785    TK_LIBRARY=${TK_CONFIG_PREFIX}/tk${TK_VERSION}    TK_LIBRARY=${TK_CONFIG_PREFIX}/tk${TK_VERSION}
2786      else
2787      if test -d ${TK_CONFIG_PREFIX}/../tk${TK_VERSION} ; then
2788        TK_LIBRARY=${TK_CONFIG_PREFIX}/../tk${TK_VERSION}
2789      fi
2790  fi  fi
2791  if test -d ${TK_CONFIG_PREFIX}/tcl${TCL_VERSION} ; then  if test -d ${TK_CONFIG_PREFIX}/tcl${TCL_VERSION} ; then
2792    TCL_LIBRARY=${TK_CONFIG_PREFIX}/tcl${TCL_VERSION}    TCL_LIBRARY=${TK_CONFIG_PREFIX}/tcl${TCL_VERSION}
2793      else
2794      if test -d ${TK_CONFIG_PREFIX}/../tcl${TCL_VERSION} ; then
2795        TCL_LIBRARY=${TK_CONFIG_PREFIX}/../tcl${TCL_VERSION}
2796      fi
2797  fi  fi
2798  if test -f ${TK_CONFIG_PREFIX}/../include/tk.h ; then  if test -f ${TK_CONFIG_PREFIX}/../include/tk.h ; then
2799    TK_INCLUDE=-I${TK_CONFIG_PREFIX}/../include    TK_INCLUDE=-I${TK_CONFIG_PREFIX}/../include
2800      else
2801      if test -f /usr/include/tcl${TCL_VERSION}/tk.h ; then
2802        TK_INCLUDE=-I/usr/include/tcl${TCL_VERSION}
2803      fi    
2804  fi  fi
2805  if test -f ${TCL_CONFIG_PREFIX}/../include/tcl.h ; then  if test -f ${TCL_CONFIG_PREFIX}/../include/tcl.h ; then
2806    TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include    TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include
2807      else
2808      if test -f /usr/include/tcl${TCL_VERSION}/tcl.h ; then
2809        TCL_INCLUDE=-I/usr/include/tcl${TCL_VERSION}
2810      fi
2811  fi  fi
2812  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
2813  echo "configure:2798: checking for main in -llieee" >&5  echo "configure:2814: checking for main in -llieee" >&5
2814  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
2815  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
2816    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2802  else Line 2818  else
2818    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2819  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
2820  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2821  #line 2806 "configure"  #line 2822 "configure"
2822  #include "confdefs.h"  #include "confdefs.h"
2823    
2824  int main() {  int main() {
2825  main()  main()
2826  ; return 0; }  ; return 0; }
2827  EOF  EOF
2828  if { (eval echo configure:2813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2829    rm -rf conftest*    rm -rf conftest*
2830    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2831  else  else
# Line 2834  if test "$have_ieee" = "0" ; then Line 2850  if test "$have_ieee" = "0" ; then
2850   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
2851  fi  fi
2852  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2853  echo "configure:2838: checking for dlopen in -ldl" >&5  echo "configure:2854: checking for dlopen in -ldl" >&5
2854  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2855  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
2856    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2842  else Line 2858  else
2858    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2859  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
2860  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2861  #line 2846 "configure"  #line 2862 "configure"
2862  #include "confdefs.h"  #include "confdefs.h"
2863  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2864  /* 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 2853  int main() { Line 2869  int main() {
2869  dlopen()  dlopen()
2870  ; return 0; }  ; return 0; }
2871  EOF  EOF
2872  if { (eval echo configure:2857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2873    rm -rf conftest*    rm -rf conftest*
2874    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2875  else  else
# Line 2935  echo "$ac_t""use=$use" 1>&6 Line 2951  echo "$ac_t""use=$use" 1>&6
2951  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
2952    
2953  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
2954  echo "configure:2939: checking alloca" >&5  echo "configure:2955: checking alloca" >&5
2955  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
2956    gcl_ok=no    gcl_ok=no
2957  else  else
2958    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2959  #line 2944 "configure"  #line 2960 "configure"
2960  #include "confdefs.h"  #include "confdefs.h"
2961  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
2962  EOF  EOF
2963  if { (eval echo configure:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2964  then  then
2965    :    :
2966  else  else
# Line 2967  else Line 2983  else
2983    gcl_ok=no    gcl_ok=no
2984  else  else
2985    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2986  #line 2971 "configure"  #line 2987 "configure"
2987  #include "confdefs.h"  #include "confdefs.h"
2988  #include <alloca.h>  #include <alloca.h>
2989    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
2990  EOF  EOF
2991  if { (eval echo configure:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2992  then  then
2993    :    :
2994  else  else
# Line 3034  rm -f makedefsafter Line 3050  rm -f makedefsafter
3050    
3051  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
3052   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
3053  echo "configure:3038: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:3054: checking use_gmp=yes, doing configure in gmp directory" >&5
3054   case "${canonical}" in   case "${canonical}" in
3055     i[5-9]86* | pentium* | k6* | athlon*)     i[5-9]86* | pentium* | k6* | athlon*)
3056        (cd gmp ; ./configure --target=i486) ;;        (cd gmp ; ./configure --target=i486) ;;
# Line 3055  fi Line 3071  fi
3071  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
3072  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
3073  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
3074  echo "configure:3059: checking Checking for buggy gcc version from redhat" >&5  echo "configure:3075: checking Checking for buggy gcc version from redhat" >&5
3075  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
3076     then     then
3077          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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