Under OSX, force 32-bit build of GMP

This commit is contained in:
jgarcia 2007-02-25 09:18:41 +00:00
parent ea9feacb15
commit 479fb4dd22
2 changed files with 7 additions and 1 deletions

3
src/aclocal.m4 vendored
View file

@ -276,6 +276,9 @@ case "${host_os}" in
if test "`uname -m`" = i386; then
gmp_build=none-apple-${host_os}
fi
# ECL, due to some of the libraries, does not build on
# 64 bit mode on OSX. We prevent GMP using that mode.
export ABI=mode32
;;
*)
Thehost="$host_os"

5
src/configure vendored
View file

@ -4334,6 +4334,9 @@ case "${host_os}" in
if test "`uname -m`" = i386; then
gmp_build=none-apple-${host_os}
fi
# ECL, due to some of the libraries, does not build on
# 64 bit mode on OSX. We prevent GMP using that mode.
export ABI=mode32
;;
*)
Thehost="$host_os"
@ -12227,7 +12230,7 @@ echo "$as_me: Configuring included GMP library:" >&6;}
fi
if mkdir gmp; then
ECL_GMP_HEADER='ecl/gmp.h'
(destdir=`${PWDCMD}`; cd gmp; CC="${CC} ${PICFLAG} -DPIC" \
(destdir=`${PWDCMD}`; cd gmp; CC="${CC} ${PICFLAG} -DPIC" \
$srcdir/gmp/configure --disable-shared --prefix=${destdir} \
--infodir=${destdir}/doc --includedir=${destdir}/ecl \
--libdir=${destdir} --build=${gmp_build} --host=${host_alias} $with_gmp)