From dcbf8b0522db23f93270cec5096128712fbc7c89 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Wed, 7 Dec 2011 09:04:46 -0800 Subject: [PATCH] fix configure to handle or-parallelism correctly and to remove random from clib. --- configure | 6 +++--- configure.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index a2ca2141e..e2ddf1495 100755 --- a/configure +++ b/configure @@ -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" diff --git a/configure.in b/configure.in index 211e35f7b..853f7ea4f 100755 --- a/configure.in +++ b/configure.in @@ -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"