accept + in lib names

This commit is contained in:
David MacKenzie 1995-07-19 22:27:15 +00:00
parent eee3e34690
commit cc0c2bc742
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Wed Jul 19 17:43:44 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_CHECK_LIB): Translate + to p in lib name.
Wed Jun 28 13:45:16 1995 David J. MacKenzie <djm@catapult.va.pubnix.com> Wed Jun 28 13:45:16 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Allow an empty value * acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Allow an empty value

View File

@ -1357,7 +1357,7 @@ dnl [, OTHER-LIBRARIES]]])
AC_DEFUN(AC_CHECK_LIB, AC_DEFUN(AC_CHECK_LIB,
[AC_MSG_CHECKING([for -l$1]) [AC_MSG_CHECKING([for -l$1])
changequote(, )dnl changequote(, )dnl
ac_lib_var=`echo $1 | tr '[./]' '[__]'` ac_lib_var=`echo $1 | tr '[+./]' '[p__]'`
changequote([, ])dnl changequote([, ])dnl
AC_CACHE_VAL(ac_cv_lib_$ac_lib_var, AC_CACHE_VAL(ac_cv_lib_$ac_lib_var,
[ac_save_LIBS="$LIBS" [ac_save_LIBS="$LIBS"

View File

@ -1357,7 +1357,7 @@ dnl [, OTHER-LIBRARIES]]])
AC_DEFUN(AC_CHECK_LIB, AC_DEFUN(AC_CHECK_LIB,
[AC_MSG_CHECKING([for -l$1]) [AC_MSG_CHECKING([for -l$1])
changequote(, )dnl changequote(, )dnl
ac_lib_var=`echo $1 | tr '[./]' '[__]'` ac_lib_var=`echo $1 | tr '[+./]' '[p__]'`
changequote([, ])dnl changequote([, ])dnl
AC_CACHE_VAL(ac_cv_lib_$ac_lib_var, AC_CACHE_VAL(ac_cv_lib_$ac_lib_var,
[ac_save_LIBS="$LIBS" [ac_save_LIBS="$LIBS"