summaryrefslogtreecommitdiff
path: root/lib/make/extras/MPI/MPICH
diff options
context:
space:
mode:
Diffstat (limited to 'lib/make/extras/MPI/MPICH')
-rw-r--r--lib/make/extras/MPI/MPICH6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/make/extras/MPI/MPICH b/lib/make/extras/MPI/MPICH
index 23641721..14bcaf5a 100644
--- a/lib/make/extras/MPI/MPICH
+++ b/lib/make/extras/MPI/MPICH
@@ -89,7 +89,11 @@ if test -d "$MPICH_DIR/build/$MPICH_ARCH" ; then
MPICH_INC_DIRS="$MPICH_DIR/include $MPICH_DIR/build/$MPICH_ARCH/$MPICH_DEVICE/include"
else
# don't explicitely add standard include search paths
- if test "$MPICH_DIR" != '/usr' -a "$MPICH_DIR" != '/usr/local'; then
+ if test \
+ "$MPICH_DIR" != '/' -a \
+ "$MPICH_DIR" != '/usr' -a \
+ "$MPICH_DIR" != '/usr/local'; \
+ then
MPICH_LIB_DIR="$MPICH_DIR/lib"
MPICH_INC_DIRS="$MPICH_DIR/include"
fi