10
10
# University of Stuttgart. All rights reserved.
11
11
# Copyright (c) 2004-2005 The Regents of the University of California.
12
12
# All rights reserved.
13
- # Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
13
+ # Copyright (c) 2009-2019 Cisco Systems, Inc. All rights reserved.
14
14
# Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights
15
15
# reserved.
16
16
# Copyright (c) 2014-2019 Intel, Inc. All rights reserved.
@@ -36,6 +36,10 @@ AC_DEFUN([OPAL_CHECK_PMIX_LIB],[
36
36
OPAL_VAR_SCOPE_PUSH([ opal_external_pmix_save_CPPFLAGS opal_external_pmix_save_LDFLAGS opal_external_pmix_save_LIBS] )
37
37
opal_external_pmix_happy=no
38
38
39
+ opal_external_pmix_save_CPPFLAGS=$CPPFLAGS
40
+ opal_external_pmix_save_LDFLAGS=$LDFLAGS
41
+ opal_external_pmix_save_LIBS=$LIBS
42
+
39
43
# Make sure we have the headers and libs in the correct location
40
44
AC_MSG_CHECKING ( [ for pmix.h in $1 ] )
41
45
files=`ls $1 /pmix.h 2> /dev/null | wc -l`
@@ -91,10 +95,6 @@ AC_DEFUN([OPAL_CHECK_PMIX_LIB],[
91
95
AC_MSG_ERROR ( [ Cannot continue] ) ] ) ] ) ] )
92
96
93
97
# check the version
94
- opal_external_pmix_save_CPPFLAGS=$CPPFLAGS
95
- opal_external_pmix_save_LDFLAGS=$LDFLAGS
96
- opal_external_pmix_save_LIBS=$LIBS
97
-
98
98
# if the pmix_version.h file does not exist, then
99
99
# this must be from a pre-1.1.5 version OMPI does
100
100
# NOT support anything older than v1.2.5
0 commit comments