mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-02 15:40:55 -08:00
Fixes to build with Mac OSX Intel.
This commit is contained in:
parent
b98391ba3b
commit
330c3e6e09
4 changed files with 24 additions and 4 deletions
|
|
@ -44,7 +44,13 @@
|
|||
"#include <fcntl.h>"
|
||||
"#include <stdio.h>"
|
||||
#+:cygwin
|
||||
"#define MSG_WAITALL 0")
|
||||
"#define MSG_WAITALL 0"
|
||||
"#ifndef MSG_CONFIRM"
|
||||
"#define MSG_CONFIRM 0"
|
||||
"#endif"
|
||||
"#ifndef MSG_NOSIGNAL"
|
||||
"#define MSG_NOSIGNAL 0"
|
||||
"#endif")
|
||||
#+:wsock
|
||||
(clines
|
||||
#+(and (or :msvc :mingw32) (not :threads))
|
||||
|
|
|
|||
6
src/aclocal.m4
vendored
6
src/aclocal.m4
vendored
|
|
@ -263,9 +263,13 @@ case "${host_os}" in
|
|||
LDRPATH=''
|
||||
THREAD_CFLAGS='-D_THREAD_SAFE'
|
||||
THREAD_LIBS='-lpthread'
|
||||
# The GMP library has not yet been ported to Intel-OSX
|
||||
if test `uname -m` = i386; then
|
||||
gmp_build=none-apple-${host_os}
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
thehost="$host_os"
|
||||
Thehost="$host_os"
|
||||
shared="no"
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
9
src/configure
vendored
9
src/configure
vendored
|
|
@ -3588,6 +3588,10 @@ case "${host_os}" in
|
|||
LDRPATH=''
|
||||
THREAD_CFLAGS='-D_THREAD_SAFE'
|
||||
THREAD_LIBS='-lpthread'
|
||||
# The GMP library has not yet been ported to Intel-OSX
|
||||
if test `uname -m` = i386; then
|
||||
gmp_build=none-apple-${host_os}
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
thehost="$host_os"
|
||||
|
|
@ -9851,12 +9855,15 @@ _ACEOF
|
|||
{ echo "$as_me:$LINENO: Configuring included GMP library:" >&5
|
||||
echo "$as_me: Configuring included GMP library:" >&6;}
|
||||
test -d gmp && rm -rf gmp
|
||||
if test -z "$gmp_build"; then
|
||||
gmp_build="${build_alias}"
|
||||
fi
|
||||
if mkdir gmp; then
|
||||
ECL_GMP_HEADER='ecl/gmp.h'
|
||||
(destdir=`${PWDCMD}`; cd gmp; CC="${CC} ${PICFLAG}" \
|
||||
$srcdir/gmp/configure --disable-shared --prefix=${destdir} \
|
||||
--infodir=${destdir}/doc --includedir=${destdir}/ecl \
|
||||
--libdir=${destdir} --build=${build_alias} --host=${host_alias} $with_gmp)
|
||||
--libdir=${destdir} --build=${gmp_build} --host=${host_alias} $with_gmp)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -494,12 +494,15 @@ else
|
|||
if test "${with_system_gmp}" = "no" ; then
|
||||
AC_MSG_NOTICE(Configuring included GMP library:)
|
||||
test -d gmp && rm -rf gmp
|
||||
if test -z "$gmp_build"; then
|
||||
gmp_build="${build_alias}"
|
||||
fi
|
||||
if mkdir gmp; then
|
||||
ECL_GMP_HEADER='ecl/gmp.h'
|
||||
(destdir=`${PWDCMD}`; cd gmp; CC="${CC} ${PICFLAG}" \
|
||||
$srcdir/gmp/configure --disable-shared --prefix=${destdir} \
|
||||
--infodir=${destdir}/doc --includedir=${destdir}/ecl \
|
||||
--libdir=${destdir} --build=${build_alias} --host=${host_alias} $with_gmp)
|
||||
--libdir=${destdir} --build=${gmp_build} --host=${host_alias} $with_gmp)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue