3839 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3840 |
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 |
3841 |
echo "configure:3842: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:3842: checking use_gmp=yes, doing configure in gmp directory" >&5 |
3842 |
case "${canonical}" in |
case "$use" in |
3843 |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
3844 |
# (cd gmp3 ; ./configure --target=i486) ;; |
# (cd gmp3 ; ./configure --target=i486) ;; |
3845 |
|
# Seem to be some problems with gmp3 on 68060 machines. CM |
3846 |
|
m68k-linux) |
3847 |
|
(cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;; |
3848 |
*) |
*) |
3849 |
(cd gmp3 && ./configure) ;; |
(cd gmp3 && ./configure) ;; |
3850 |
esac |
esac |
3851 |
[ "`ls -1 gmp3/mpn/add_n.* 2>/dev/null`" != "" ] || cp gmp3/mpn/generic/*.c gmp/mpn/ |
# [[ "`ls -1 gmp3/mpn/add_n.* 2>/dev/null`" != "" ]] || cp gmp3/mpn/generic/*.c gmp3/mpn/ |
3852 |
cp gmp3/gmp.h h/gmp.h |
cp gmp3/gmp.h h/gmp.h |
|
if test "$use" = "m68k-linux" ; then |
|
|
ln -snf generic/lshift.c gmp3/mpn/ |
|
|
rm gmp3/mpn/lshift.asm |
|
|
fi |
|
3853 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
3854 |
echo "configure:3856: checking "for size of gmp limbs"" >&5 |
echo "configure:3855: checking "for size of gmp limbs"" >&5 |
3855 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3856 |
mpsize=0 |
mpsize=0 |
3857 |
else |
else |
3858 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3859 |
#line 3861 "configure" |
#line 3860 "configure" |
3860 |
#include "confdefs.h" |
#include "confdefs.h" |
3861 |
#include <stdio.h> |
#include <stdio.h> |
3862 |
#include "h/gmp.h" |
#include "h/gmp.h" |
3868 |
return 0; |
return 0; |
3869 |
} |
} |
3870 |
EOF |
EOF |
3871 |
if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3872 |
then |
then |
3873 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
3874 |
else |
else |
3905 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
3906 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
3907 |
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 |
3908 |
echo "configure:3910: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:3909: checking Checking for buggy gcc version from redhat" >&5 |
3909 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
3910 |
then |
then |
3911 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |