File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,15 @@ AC_DEFUN([OPAL_CHECK_KNEM],[
31
31
32
32
opal_check_knem_CPPFLAGS_save=" ${CPPFLAGS} "
33
33
34
- AS_IF([test -n " ${with_knem} " -a " ${with_knem} " != " yes " -a " ${with_knem} " ! = " no" ],
35
- [$1 _CPPFLAGS = " -I ${with_knem} /include "
36
- CPPFLAGS = " $CPPFLAGS ${ $1 _CPPFLAGS} " ])
34
+ AS_IF([test -n " ${with_knem} " -a " ${with_knem} " = " no" ],
35
+ [opal_check_knem_happy = " no " ],
36
+ [opal_check_knem_happy = " yes " ])
37
37
38
- AC_CHECK_HEADER([knem_io.h], [opal_check_knem_happy= " yes" ], [opal_check_knem_happy= " no" ])
38
+ AS_IF([test " ${opal_check_knem_happy} " = " yes" ],
39
+ [AS_IF([test -a " ${with_knem} " != " yes" ],
40
+ [$1 _CPPFLAGS= " -I${with_knem} /include"
41
+ CPPFLAGS= " $CPPFLAGS ${$1 _CPPFLAGS} " ])
42
+ AC_CHECK_HEADER([knem_io.h], [opal_check_knem_happy= " yes" ], [opal_check_knem_happy= " no" ])])
39
43
40
44
# need at least version 0x0000000b
41
45
AS_IF([test " $opal_check_knem_happy " = " yes" ],
You can’t perform that action at this time.
0 commit comments