mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
(AC_HAVE_LIBRARY): Use cache var lib_foo, not libfoo.
This commit is contained in:
parent
07592d2739
commit
57012075a5
@ -935,7 +935,7 @@ define(AC_HAVE_LIBRARY, [dnl
|
|||||||
changequote(/,/)dnl
|
changequote(/,/)dnl
|
||||||
define(/AC_LIB_NAME/, dnl
|
define(/AC_LIB_NAME/, dnl
|
||||||
patsubst(patsubst($1, /lib\([^\.]*\)\.a/, /\1/), /-l/, //))dnl
|
patsubst(patsubst($1, /lib\([^\.]*\)\.a/, /\1/), /-l/, //))dnl
|
||||||
define(/AC_CV_NAME/, ac_cv_lib//AC_LIB_NAME)dnl
|
define(/AC_CV_NAME/, ac_cv_lib_//AC_LIB_NAME)dnl
|
||||||
changequote([,])dnl
|
changequote([,])dnl
|
||||||
AC_CACHE_VAL(AC_CV_NAME,
|
AC_CACHE_VAL(AC_CV_NAME,
|
||||||
[ac_save_LIBS="${LIBS}"
|
[ac_save_LIBS="${LIBS}"
|
||||||
|
@ -935,7 +935,7 @@ define(AC_HAVE_LIBRARY, [dnl
|
|||||||
changequote(/,/)dnl
|
changequote(/,/)dnl
|
||||||
define(/AC_LIB_NAME/, dnl
|
define(/AC_LIB_NAME/, dnl
|
||||||
patsubst(patsubst($1, /lib\([^\.]*\)\.a/, /\1/), /-l/, //))dnl
|
patsubst(patsubst($1, /lib\([^\.]*\)\.a/, /\1/), /-l/, //))dnl
|
||||||
define(/AC_CV_NAME/, ac_cv_lib//AC_LIB_NAME)dnl
|
define(/AC_CV_NAME/, ac_cv_lib_//AC_LIB_NAME)dnl
|
||||||
changequote([,])dnl
|
changequote([,])dnl
|
||||||
AC_CACHE_VAL(AC_CV_NAME,
|
AC_CACHE_VAL(AC_CV_NAME,
|
||||||
[ac_save_LIBS="${LIBS}"
|
[ac_save_LIBS="${LIBS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user