fix configure to handle or-parallelism correctly and to remove random from clib.

This commit is contained in:
Vitor Santos Costa 2011-12-07 09:04:46 -08:00
parent 65c7b4250a
commit dcbf8b0522
2 changed files with 6 additions and 6 deletions

6
configure vendored
View File

@ -4955,7 +4955,7 @@ else
#define MAX_WORKERS $yap_cv_max_workers
_ACEOF
if test "$orparallelism" = copy
if test "$orparallelism" = copy -o "$orparallelism" = yes
then
use_malloc="no"
fi
@ -9693,8 +9693,8 @@ CHR_TARGETS=chr_support."$SO"
if test "$ENABLE_CLIB" = ""; then
CLIB_TARGETS="random.$SO socket.$SO cgi.$SO memfile.$SO files.$SO mime.$SO $CRYPT_TARGETS"
CLIB_PLTARGETS="random.pl socket.pl cgi.pl memfile.pl filesex.pl mime.pl $CRYPT_TARGETS"
CLIB_TARGETS="socket.$SO cgi.$SO memfile.$SO files.$SO mime.$SO $CRYPT_TARGETS"
CLIB_PLTARGETS="socket.pl cgi.pl memfile.pl filesex.pl mime.pl $CRYPT_TARGETS"
if test "$ac_cv_func_setitimer" = "yes"; then
CLIB_TARGETS="$CLIB_TARGETS time.$SO"

View File

@ -469,7 +469,7 @@ then
AC_DEFINE(MAX_WORKERS,1)
else
AC_DEFINE_UNQUOTED(MAX_WORKERS,$yap_cv_max_workers)
if test "$orparallelism" = copy
if test "$orparallelism" = copy -o "$orparallelism" = yes
then
use_malloc="no"
fi
@ -2073,8 +2073,8 @@ AC_SUBST(CHR_TARGETS)
dnl clib
if test "$ENABLE_CLIB" = ""; then
CLIB_TARGETS="random.$SO socket.$SO cgi.$SO memfile.$SO files.$SO mime.$SO $CRYPT_TARGETS"
CLIB_PLTARGETS="random.pl socket.pl cgi.pl memfile.pl filesex.pl mime.pl $CRYPT_TARGETS"
CLIB_TARGETS="socket.$SO cgi.$SO memfile.$SO files.$SO mime.$SO $CRYPT_TARGETS"
CLIB_PLTARGETS="socket.pl cgi.pl memfile.pl filesex.pl mime.pl $CRYPT_TARGETS"
if test "$ac_cv_func_setitimer" = "yes"; then
CLIB_TARGETS="$CLIB_TARGETS time.$SO"