]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Wed, 20 Mar 1996 21:27:48 +0000 (21:27 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 20 Mar 1996 21:27:48 +0000 (21:27 +0000)
* acgeneral.m4 (AC_CHECK_LIB): Use \055 for -; leading and trailing
both lose with some tr.

acgeneral.m4
lib/autoconf/general.m4

index 755b264c6c10ed2e61a07629fa6dbfd292f78137..fa950d803d7e63ff3b53a52d1ccf656466a28d96 100644 (file)
@@ -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 './+\055' '__p_'`
 AC_CACHE_VAL(ac_cv_lib_$ac_lib_var,
 [ac_save_LIBS="$LIBS"
 LIBS="-l$1 $5 $LIBS"
index 755b264c6c10ed2e61a07629fa6dbfd292f78137..fa950d803d7e63ff3b53a52d1ccf656466a28d96 100644 (file)
@@ -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 './+\055' '__p_'`
 AC_CACHE_VAL(ac_cv_lib_$ac_lib_var,
 [ac_save_LIBS="$LIBS"
 LIBS="-l$1 $5 $LIBS"