Skip to content

Commit 3c6c901

Browse files
authored
Merge pull request #2091 from rhc54/topic/fix
Minor fix to libevent configury
2 parents 935f4fd + 2083719 commit 3c6c901

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/pmix_setup_libevent.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,12 @@ AC_DEFUN([_PMIX_LIBEVENT_EMBEDDED_MODE], [
8888
PMIX_EVENT2_THREAD_HEADER="$with_libevent_header"])
8989

9090
AC_MSG_CHECKING([if co-built libevent includes thread support])
91-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
91+
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
9292
[
9393
#include <event.h>
9494
#include <event2/thread.h>
95+
],
96+
[
9597
#if !(EVTHREAD_LOCK_API_VERSION >= 1)
9698
#error "No threads!"
9799
#endif

0 commit comments

Comments
 (0)