From: Roland McGrath Date: Wed, 20 Mar 1996 19:12:57 +0000 (+0000) Subject: Wed Mar 20 09:37:31 1996 Roland McGrath X-Git-Tag: fsf-origin~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50e966964fadafc8569da49998fd96ceb63e0a7f;p=thirdparty%2Fautoconf.git Wed Mar 20 09:37:31 1996 Roland McGrath * acgeneral.m4 (AC_CHECK_LIB): Put - first in tr set so it is not consiedered a range. --- diff --git a/acgeneral.m4 b/acgeneral.m4 index 4a3b9c9d..7fdf189d 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 '.\055/+' '___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 4a3b9c9d..7fdf189d 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 '.\055/+' '___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"