]> 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 20:16:42 +0000 (20:16 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 20 Mar 1996 20:16:42 +0000 (20:16 +0000)
* acgeneral.m4 (AC_CHECK_LIB): Put - last in tr set so it is not
considered a range.

acgeneral.m4
lib/autoconf/general.m4

index 7fdf189da2788c0863ad34a4664e7129414a4077..755b264c6c10ed2e61a07629fa6dbfd292f78137 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 './+-' '__p_'`
 AC_CACHE_VAL(ac_cv_lib_$ac_lib_var,
 [ac_save_LIBS="$LIBS"
 LIBS="-l$1 $5 $LIBS"
@@ -1419,7 +1419,7 @@ ifelse([$2], [main], , dnl Avoid conflicting decl of main.
 extern "C"
 #endif
 ])dnl
-[/* We use `char' because `int' might match the return type of a gcc2
+[/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char $2();
 ]),
@@ -1689,7 +1689,7 @@ dnl select.  Similarly for bzero.
 extern "C"
 #endif
 ])dnl
-[/* We use `char' because `int' might match the return type of a gcc2
+[/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char $1();
 ], [
index 7fdf189da2788c0863ad34a4664e7129414a4077..755b264c6c10ed2e61a07629fa6dbfd292f78137 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 './+-' '__p_'`
 AC_CACHE_VAL(ac_cv_lib_$ac_lib_var,
 [ac_save_LIBS="$LIBS"
 LIBS="-l$1 $5 $LIBS"
@@ -1419,7 +1419,7 @@ ifelse([$2], [main], , dnl Avoid conflicting decl of main.
 extern "C"
 #endif
 ])dnl
-[/* We use `char' because `int' might match the return type of a gcc2
+[/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char $2();
 ]),
@@ -1689,7 +1689,7 @@ dnl select.  Similarly for bzero.
 extern "C"
 #endif
 ])dnl
-[/* We use `char' because `int' might match the return type of a gcc2
+[/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char $1();
 ], [