/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.11.2.6 by camm, Sun Jan 6 03:50:51 2002 UTC revision 1.11.2.7 by camm, Mon Jan 7 21:29:26 2002 UTC
# Line 2941  if test -f ${TK_CONFIG_PREFIX}/tkConfig. Line 2941  if test -f ${TK_CONFIG_PREFIX}/tkConfig.
2941    
2942  if test -d ${TK_CONFIG_PREFIX}/tk${TK_VERSION} ; then  if test -d ${TK_CONFIG_PREFIX}/tk${TK_VERSION} ; then
2943    TK_LIBRARY=${TK_CONFIG_PREFIX}/tk${TK_VERSION}    TK_LIBRARY=${TK_CONFIG_PREFIX}/tk${TK_VERSION}
2944      else
2945      if test -d ${TK_CONFIG_PREFIX}/../tk${TK_VERSION} ; then
2946        TK_LIBRARY=${TK_CONFIG_PREFIX}/../tk${TK_VERSION}
2947      fi
2948  fi  fi
2949  if test -d ${TK_CONFIG_PREFIX}/tcl${TCL_VERSION} ; then  if test -d ${TK_CONFIG_PREFIX}/tcl${TCL_VERSION} ; then
2950    TCL_LIBRARY=${TK_CONFIG_PREFIX}/tcl${TCL_VERSION}    TCL_LIBRARY=${TK_CONFIG_PREFIX}/tcl${TCL_VERSION}
2951      else
2952      if test -d ${TK_CONFIG_PREFIX}/../tcl${TCL_VERSION} ; then
2953        TCL_LIBRARY=${TK_CONFIG_PREFIX}/../tcl${TCL_VERSION}
2954      fi
2955  fi  fi
2956  if test -f ${TK_CONFIG_PREFIX}/../include/tk.h ; then  if test -f ${TK_CONFIG_PREFIX}/../include/tk.h ; then
2957    TK_INCLUDE=-I${TK_CONFIG_PREFIX}/../include    TK_INCLUDE=-I${TK_CONFIG_PREFIX}/../include
2958      else
2959      if test -f /usr/include/tcl${TCL_VERSION}/tk.h ; then
2960        TK_INCLUDE=-I/usr/include/tcl${TCL_VERSION}
2961      fi    
2962  fi  fi
2963  if test -f ${TCL_CONFIG_PREFIX}/../include/tcl.h ; then  if test -f ${TCL_CONFIG_PREFIX}/../include/tcl.h ; then
2964    TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include    TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include
2965      else
2966      if test -f /usr/include/tcl${TCL_VERSION}/tcl.h ; then
2967        TCL_INCLUDE=-I/usr/include/tcl${TCL_VERSION}
2968      fi
2969  fi  fi
2970  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
2971  echo "configure:2956: checking for main in -llieee" >&5  echo "configure:2972: checking for main in -llieee" >&5
2972  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
2973  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
2974    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2960  else Line 2976  else
2976    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2977  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
2978  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2979  #line 2964 "configure"  #line 2980 "configure"
2980  #include "confdefs.h"  #include "confdefs.h"
2981    
2982  int main() {  int main() {
2983  main()  main()
2984  ; return 0; }  ; return 0; }
2985  EOF  EOF
2986  if { (eval echo configure:2971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2987    rm -rf conftest*    rm -rf conftest*
2988    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2989  else  else
# Line 2992  if test "$have_ieee" = "0" ; then Line 3008  if test "$have_ieee" = "0" ; then
3008   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
3009  fi  fi
3010  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
3011  echo "configure:2996: checking for dlopen in -ldl" >&5  echo "configure:3012: checking for dlopen in -ldl" >&5
3012  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
3013  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
3014    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3000  else Line 3016  else
3016    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3017  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
3018  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3019  #line 3004 "configure"  #line 3020 "configure"
3020  #include "confdefs.h"  #include "confdefs.h"
3021  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3022  /* 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 3011  int main() { Line 3027  int main() {
3027  dlopen()  dlopen()
3028  ; return 0; }  ; return 0; }
3029  EOF  EOF
3030  if { (eval echo configure:3015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3031    rm -rf conftest*    rm -rf conftest*
3032    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3033  else  else
# Line 3093  echo "$ac_t""use=$use" 1>&6 Line 3109  echo "$ac_t""use=$use" 1>&6
3109  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
3110    
3111  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
3112  echo "configure:3097: checking alloca" >&5  echo "configure:3113: checking alloca" >&5
3113  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3114    gcl_ok=no    gcl_ok=no
3115  else  else
3116    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3117  #line 3102 "configure"  #line 3118 "configure"
3118  #include "confdefs.h"  #include "confdefs.h"
3119  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
3120  EOF  EOF
3121  if { (eval echo configure:3106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3122  then  then
3123    :    :
3124  else  else
# Line 3125  else Line 3141  else
3141    gcl_ok=no    gcl_ok=no
3142  else  else
3143    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3144  #line 3129 "configure"  #line 3145 "configure"
3145  #include "confdefs.h"  #include "confdefs.h"
3146  #include <alloca.h>  #include <alloca.h>
3147    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
3148  EOF  EOF
3149  if { (eval echo configure:3134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3150  then  then
3151    :    :
3152  else  else
# Line 3192  rm -f makedefsafter Line 3208  rm -f makedefsafter
3208    
3209  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
3210   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
3211  echo "configure:3196: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:3212: checking use_gmp=yes, doing configure in gmp directory" >&5
3212   case "${canonical}" in   case "${canonical}" in
3213     i[5-9]86* | pentium* | k6* | athlon*)     i[5-9]86* | pentium* | k6* | athlon*)
3214        (cd gmp ; ./configure --target=i486) ;;        (cd gmp ; ./configure --target=i486) ;;
# Line 3213  fi Line 3229  fi
3229  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
3230  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
3231  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
3232  echo "configure:3217: checking Checking for buggy gcc version from redhat" >&5  echo "configure:3233: checking Checking for buggy gcc version from redhat" >&5
3233  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
3234     then     then
3235          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1

Legend:
Removed from v.1.11.2.6  
changed lines
  Added in v.1.11.2.7

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