From a97390c1c30e5b81bce3ca05670c12848d84dbda Mon Sep 17 00:00:00 2001 From: stasinos Date: Mon, 4 Mar 2002 10:02:03 +0000 Subject: [PATCH] fix compiling with MPI, but without MPE git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@397 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- configure.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 8c3b326aa..6d2f83d88 100644 --- a/configure.in +++ b/configure.in @@ -278,6 +278,7 @@ then AC_CHECK_LIB(gmp,main) fi +MPI_OBJS= if test "$yap_cv_mpi" != "no" then OLD_CC=${CC} @@ -299,13 +300,13 @@ then MPI_OBJS=mpi.o else #YAPMPILIB= - MPI_OBJS= MPI_CC='$(CC)' fi fi CC=${OLD_CC} fi +MPI_LIBS= if test "$yap_cv_mpe" != "no" then OLD_CC=${CC} @@ -317,9 +318,6 @@ then then MPI_LIBS="-lmpe" MPI_OBJS="$MPI_OBJS mpe.o" - else - MPI_LIBS= - MPI_OBJS= fi CC=${OLD_CC} fi