mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-12 10:35:06 +08:00
Translate the ":" character to a "_", which allows checking for member
functions in C++ libraries.
This commit is contained in:
parent
d571a354b0
commit
6926ab1514
@ -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.
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user