1022 |
MP_INLCUDE="" |
MP_INLCUDE="" |
1023 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
1024 |
AC_MSG_CHECKING([use_gmp=yes, doing configure in gmp directory]) |
AC_MSG_CHECKING([use_gmp=yes, doing configure in gmp directory]) |
1025 |
case "${canonical}" in |
case "$use" in |
1026 |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
# i[[5-9]]86* | pentium* | k6* | athlon*) |
1027 |
# (cd gmp3 ; ./configure --target=i486) ;; |
# (cd gmp3 ; ./configure --target=i486) ;; |
1028 |
|
# Seem to be some problems with gmp3 on 68060 machines. CM |
1029 |
|
m68k-linux) |
1030 |
|
(cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;; |
1031 |
*) |
*) |
1032 |
(cd gmp3 && ./configure) ;; |
(cd gmp3 && ./configure) ;; |
1033 |
esac |
esac |
1034 |
[[ "`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/ |
1035 |
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 |
|
1036 |
AC_MSG_CHECKING("for size of gmp limbs") |
AC_MSG_CHECKING("for size of gmp limbs") |
1037 |
AC_TRY_RUN([#include <stdio.h> |
AC_TRY_RUN([#include <stdio.h> |
1038 |
#include "h/gmp.h" |
#include "h/gmp.h" |