Only configure libatomics when actually used

This commit is contained in:
Juan Jose Garcia Ripoll 2010-11-06 17:18:11 +01:00
parent 3b92fb53f0
commit e43b31aec0
2 changed files with 2463 additions and 8407 deletions

2
src/aclocal.m4 vendored
View file

@ -877,7 +877,7 @@ dnl ----------------------------------------------------------------------
dnl Configure libatomic-ops
dnl
AC_DEFUN([ECL_LIBATOMIC_OPS],[
if test "x$ecl_threads" != "xno"; then
if test "x${enable_threads}" != "xno"; then
test -d atomic || mkdir atomic
(destdir=`${PWDCMD}`; cd atomic && CC="${CC} ${PICFLAG}" \
$srcdir/gc/libatomic*/configure --disable-shared --prefix=${destdir} \

10868
src/configure vendored

File diff suppressed because it is too large Load diff