event/external: Fix typo in LDFLAGS vs LIBS var before check
* This should have been `LDFLAGS` not `LIBS`. Either works, but `LDFLAGS` is more correct. We should also include `CPPFLAGS` just in case the header is important to the check. Signed-off-by: Joshua Hursey <jhursey@us.ibm.com> (cherry picked from commit 22d8fa197b73eff7afc6d5fd11a99ced396c388a)
Этот коммит содержится в:
родитель
f744668f5f
Коммит
a73a89f6cf
7
opal/mca/event/external/configure.m4
поставляемый
7
opal/mca/event/external/configure.m4
поставляемый
@ -6,6 +6,7 @@
|
||||
# and Technology (RIST). All rights reserved.
|
||||
#
|
||||
# Copyright (c) 2017-2018 Intel, Inc. All rights reserved.
|
||||
# Copyright (c) 2020 IBM Corporation. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -115,11 +116,15 @@ AC_DEFUN([MCA_opal_event_external_CONFIG],[
|
||||
[opal_event_external_support=yes],
|
||||
[opal_event_external_support=no])
|
||||
|
||||
AS_IF([test "$opal_event_external_support" = "yes"],
|
||||
[LDFLAGS="$opal_event_external_LDFLAGS $LDFLAGS"
|
||||
CPPFLAGS="$opal_event_external_CPPFLAGS $CPPFLAGS"],
|
||||
[])
|
||||
|
||||
AS_IF([test "$opal_event_external_support" = "yes"],
|
||||
[# Ensure that this libevent has the symbol
|
||||
# "evthread_set_lock_callbacks", which will only exist if
|
||||
# libevent was configured with thread support.
|
||||
LIBS="$opal_event_external_LDFLAGS $LIBS"
|
||||
AC_CHECK_LIB([event], [evthread_set_lock_callbacks],
|
||||
[],
|
||||
[AC_MSG_WARN([External libevent does not have thread support])
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user