From 7da50433f799c98de82e2963d2fb5ea5d21663fb Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 23 Apr 2015 03:22:38 -0700 Subject: [PATCH] opal_check_package: make the var name match The cache variable now only needs the function name, not the lib name. --- config/opal_check_package.m4 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/opal_check_package.m4 b/config/opal_check_package.m4 index bde47b57c7..8e3f83d46b 100644 --- a/config/opal_check_package.m4 +++ b/config/opal_check_package.m4 @@ -66,9 +66,7 @@ AC_DEFUN([_OPAL_CHECK_PACKAGE_LIB], [ # This is stolen from autoconf to peek under the covers to get the # cache variable for the library check. one should not copy this # code into other places unless you want much pain and suffering - AS_LITERAL_IF([$2], - [AS_VAR_PUSHDEF([opal_Lib], [ac_cv_search_$2_$3])], - [AS_VAR_PUSHDEF([opal_Lib], [ac_cv_search_$2''_$3])])dnl + AS_VAR_PUSHDEF([opal_Lib], [ac_cv_search_$3]) # see comment above unset opal_Lib