X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fax_check_library.m4;h=35ab7114324017a423304a72582ffd7a4ba0f2b4;hb=f4fad3ec857e647a47572eb66cc5877f3ae012ae;hp=f8d7962f85a294f55dde5bf991301da82def4ef4;hpb=02e76bdf89bf11934a8c47a9c2d67dc67952b73b;p=awesomized%2Flibmemcached diff --git a/m4/ax_check_library.m4 b/m4/ax_check_library.m4 index f8d7962f..35ab7114 100644 --- a/m4/ax_check_library.m4 +++ b/m4/ax_check_library.m4 @@ -61,7 +61,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AC_DEFUN([AX_CHECK_LIBRARY], [AC_ARG_VAR($1[_CPPFLAGS],[C preprocessor flags for ]$1[ headers]) @@ -87,10 +87,6 @@ AC_DEFUN([AX_CHECK_LIBRARY], AS_IF([test "$]AS_TR_SH([ax_cv_have_]$1)[" = "yes"], [AC_DEFINE([HAVE_]$1, [1], [Define to 1 if ]$1[ is found]) - AC_SUBST($1[_CPPFLAGS]) - AC_SUBST($1[_LDFLAGS]) - AC_SUBST($1[_LIB],[-l]$3) ifelse([$4], , :, [$4])], [ifelse([$5], , :, [$5])]) - AM_CONDITIONAL([HAVE_]$1,[test "$]AS_TR_SH([ax_cv_have_]$1)[" = "yes"]) ])