(AC_HAVE_LIBRARY): Use cache var lib_foo, not libfoo.

This commit is contained in:
David MacKenzie 1994-05-06 04:11:34 +00:00
parent 07592d2739
commit 57012075a5
2 changed files with 2 additions and 2 deletions

View File

@ -935,7 +935,7 @@ define(AC_HAVE_LIBRARY, [dnl
changequote(/,/)dnl
define(/AC_LIB_NAME/, 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
AC_CACHE_VAL(AC_CV_NAME,
[ac_save_LIBS="${LIBS}"

View File

@ -935,7 +935,7 @@ define(AC_HAVE_LIBRARY, [dnl
changequote(/,/)dnl
define(/AC_LIB_NAME/, 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
AC_CACHE_VAL(AC_CV_NAME,
[ac_save_LIBS="${LIBS}"