Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 4046def

Browse files
authored
Merge pull request #1303 from karasevb/libevent_config_fix
configury/libevent: fix incorrect drop of OPAL_HAVE_WORKING_EVENTOPS
2 parents 6c3a1fd + edd9448 commit 4046def

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

opal/mca/event/libevent2022/configure.m4

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,15 @@ AC_DEFUN([MCA_opal_event_libevent2022_CONFIG],[
194194

195195
AS_IF([test "$with_libevent" != "internal" && test -n "$with_libevent" && test "$with_libevent" != "yes"],
196196
[AC_MSG_WARN([using an external libevent; disqualifying this component])
197-
libevent_happy=no])
198-
199-
AS_IF([test "$libevent_happy" = "yes" && test -r $libevent_file],
200-
[OPAL_HAVE_WORKING_EVENTOPS=`grep HAVE_WORKING_EVENTOPS $libevent_file | awk '{print [$]3 }'`
201-
$1],
202-
[$2
203-
OPAL_HAVE_WORKING_EVENTOPS=0])
197+
libevent_happy=no],
198+
199+
[AS_IF([test "$libevent_happy" = "yes" && test -r $libevent_file],
200+
[OPAL_HAVE_WORKING_EVENTOPS=`grep HAVE_WORKING_EVENTOPS $libevent_file | awk '{print [$]3 }'`
201+
$1],
202+
[$2
203+
OPAL_HAVE_WORKING_EVENTOPS=0])
204+
]
205+
)
204206

205207
OPAL_VAR_SCOPE_POP
206208
])

0 commit comments

Comments
 (0)