]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Translate the ":" character to a "_", which allows checking for member
authorMatthew D. Langston <langston@SLAC.Stanford.EDU>
Thu, 27 May 1999 08:21:27 +0000 (08:21 +0000)
committerMatthew D. Langston <langston@SLAC.Stanford.EDU>
Thu, 27 May 1999 08:21:27 +0000 (08:21 +0000)
functions in C++ libraries.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index c29944cf9faea035a8b96d776668d5e646784c76..e12b618806b27314977ea48b528e04e5127d4346 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-05-27  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
+
+       * acgeneral.m4 (AC_CHECK_LIB): Translate the ":" character to a
+       "_", which allows checking for member functions in C++ libraries.
+
 1995-05-25  H.J. Lu  <hjl@gnu.org>
 
        * config.guess (dummy): Changed to $dummy.
index d51d26a1d26b7ab17eb19e2ebf0240f0e144d7ba..4e0eaedb961d4c6af5c229e19b34ab893e62e335 100644 (file)
@@ -1564,7 +1564,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 | sed 'y%./+-%__p_%'`
+ac_lib_var=`echo $1['_']$2 | sed 'y%./+-:%__p__%'`
 AC_CACHE_VAL(ac_cv_lib_$ac_lib_var,
 [ac_save_LIBS="$LIBS"
 LIBS="-l$1 $5 $LIBS"
index d51d26a1d26b7ab17eb19e2ebf0240f0e144d7ba..4e0eaedb961d4c6af5c229e19b34ab893e62e335 100644 (file)
@@ -1564,7 +1564,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 | sed 'y%./+-%__p_%'`
+ac_lib_var=`echo $1['_']$2 | sed 'y%./+-:%__p__%'`
 AC_CACHE_VAL(ac_cv_lib_$ac_lib_var,
 [ac_save_LIBS="$LIBS"
 LIBS="-l$1 $5 $LIBS"