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 |
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 |
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 |
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 |
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 |
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 |
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 |
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) ;; |
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 |