From b0a426ade5530b49d9c4bf3b7a0331198188f64d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 20 Mar 1996 14:32:02 +0000 Subject: [PATCH] Wed Mar 13 22:10:42 1996 Andreas Schwab * acgeneral.m4 (AC_CHECK_LIB): Put quotes around _ when constructing cache variable name, to separate it from preceding text. --- acgeneral.m4 | 2 +- lib/autoconf/general.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acgeneral.m4 b/acgeneral.m4 index b5220b4b..a1ea9a01 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -1408,7 +1408,7 @@ dnl Use a cache variable name containing both the library and function name, dnl because the test really is for library $1 defining function $2, not dnl just for library $1. Separate tests with the same $1 and different $2s dnl may have different results. -ac_lib_var=`echo $1[_]$2 | tr '.-/+' '___p'` +ac_lib_var=`echo $1['_']$2 | tr '.-/+' '___p'` AC_CACHE_VAL(ac_cv_lib_$ac_lib_var, [ac_save_LIBS="$LIBS" LIBS="-l$1 $5 $LIBS" diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index b5220b4b..a1ea9a01 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1408,7 +1408,7 @@ dnl Use a cache variable name containing both the library and function name, dnl because the test really is for library $1 defining function $2, not dnl just for library $1. Separate tests with the same $1 and different $2s dnl may have different results. -ac_lib_var=`echo $1[_]$2 | tr '.-/+' '___p'` +ac_lib_var=`echo $1['_']$2 | tr '.-/+' '___p'` AC_CACHE_VAL(ac_cv_lib_$ac_lib_var, [ac_save_LIBS="$LIBS" LIBS="-l$1 $5 $LIBS" -- 2.47.2