opal_check_package: make the var name match
The cache variable now only needs the function name, not the lib name.
Этот коммит содержится в:
родитель
3481d4ef1f
Коммит
7da50433f7
@ -66,9 +66,7 @@ AC_DEFUN([_OPAL_CHECK_PACKAGE_LIB], [
|
|||||||
# This is stolen from autoconf to peek under the covers to get the
|
# This is stolen from autoconf to peek under the covers to get the
|
||||||
# cache variable for the library check. one should not copy this
|
# cache variable for the library check. one should not copy this
|
||||||
# code into other places unless you want much pain and suffering
|
# code into other places unless you want much pain and suffering
|
||||||
AS_LITERAL_IF([$2],
|
AS_VAR_PUSHDEF([opal_Lib], [ac_cv_search_$3])
|
||||||
[AS_VAR_PUSHDEF([opal_Lib], [ac_cv_search_$2_$3])],
|
|
||||||
[AS_VAR_PUSHDEF([opal_Lib], [ac_cv_search_$2''_$3])])dnl
|
|
||||||
|
|
||||||
# see comment above
|
# see comment above
|
||||||
unset opal_Lib
|
unset opal_Lib
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user