From b62437307dd69398139ee33eead6b4e5030d4f1c Mon Sep 17 00:00:00 2001 From: eschnett Date: Mon, 20 May 2013 18:50:01 +0000 Subject: Correct auto-detecting MacPorts OpenMPI git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/MPI/trunk@32 043a8217-7a68-40fe-abfd-36aa7d4fa6a8 --- configure.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.sh b/configure.sh index eff032f..1738d9b 100755 --- a/configure.sh +++ b/configure.sh @@ -51,8 +51,9 @@ if [ -z "${MPI_DIR}" ]; then if [ -z "${MPI_DIR}" -a -z "${MPI_INC_DIRS}" ]; then # MacPorts OpenMPI - if [ -r /opt/local/include/openmpi/mpi.h -a \ - -r /opt/local/lib/libmpi.a ]; + if [ -r /opt/local/include/openmpi/mpi.h -a \ + -r /opt/local/lib/libmpi.dylib -a \ + -r /opt/local/lib/libmpi_cxx.dylib ]; \ then MPI_DIR=/opt/local MPI_INC_DIRS=/opt/local/include/openmpi -- cgit v1.2.3