fix compiling with MPI, but without MPE
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@397 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
44a00eb7fc
commit
a97390c1c3
@ -278,6 +278,7 @@ then
|
|||||||
AC_CHECK_LIB(gmp,main)
|
AC_CHECK_LIB(gmp,main)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
MPI_OBJS=
|
||||||
if test "$yap_cv_mpi" != "no"
|
if test "$yap_cv_mpi" != "no"
|
||||||
then
|
then
|
||||||
OLD_CC=${CC}
|
OLD_CC=${CC}
|
||||||
@ -299,13 +300,13 @@ then
|
|||||||
MPI_OBJS=mpi.o
|
MPI_OBJS=mpi.o
|
||||||
else
|
else
|
||||||
#YAPMPILIB=
|
#YAPMPILIB=
|
||||||
MPI_OBJS=
|
|
||||||
MPI_CC='$(CC)'
|
MPI_CC='$(CC)'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
CC=${OLD_CC}
|
CC=${OLD_CC}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
MPI_LIBS=
|
||||||
if test "$yap_cv_mpe" != "no"
|
if test "$yap_cv_mpe" != "no"
|
||||||
then
|
then
|
||||||
OLD_CC=${CC}
|
OLD_CC=${CC}
|
||||||
@ -317,9 +318,6 @@ then
|
|||||||
then
|
then
|
||||||
MPI_LIBS="-lmpe"
|
MPI_LIBS="-lmpe"
|
||||||
MPI_OBJS="$MPI_OBJS mpe.o"
|
MPI_OBJS="$MPI_OBJS mpe.o"
|
||||||
else
|
|
||||||
MPI_LIBS=
|
|
||||||
MPI_OBJS=
|
|
||||||
fi
|
fi
|
||||||
CC=${OLD_CC}
|
CC=${OLD_CC}
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user