From 66f447b396bb0e1078a49dc05b6f62c01b9b21da Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Tue, 23 Dec 2014 15:42:19 -0700 Subject: [PATCH] opal/configury: allow param usage multiple times Turns out the OPAL_FLAGS_UNIQ function was chopping off multiple instances of --param when set in the CFLAGS. This can happen when -mnative or other machine target is specified as part of CFLAGS. Thanks to QuesarVII for reporting this and supplying a patch. Fixes #324 --- config/opal_functions.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/opal_functions.m4 b/config/opal_functions.m4 index cd1d1b7590..4018f4cc8b 100644 --- a/config/opal_functions.m4 +++ b/config/opal_functions.m4 @@ -399,6 +399,10 @@ AC_DEFUN([OPAL_FLAGS_UNIQ],[ opal_found=0 opal_i=`expr $opal_count + 1` ;; + --param) + ompi_found=0 + ompi_i=`expr $ompi_count + 1` + ;; esac # If we didn't find the token, add it to the "array"