X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fax_check_library.m4;h=5998c792553253ee29987e069410d1d744046552;hb=45c3622634f42187dcf66f3fe37d8285e91ae701;hp=13dcfd694a4e0f37e61c34865cbdba704eb33129;hpb=f8bc6396b9805116f22fde3cc496f8edc2579da2;p=m6w6%2Flibmemcached diff --git a/m4/ax_check_library.m4 b/m4/ax_check_library.m4 index 13dcfd69..5998c792 100644 --- a/m4/ax_check_library.m4 +++ b/m4/ax_check_library.m4 @@ -60,7 +60,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 3 +#serial 4 AC_DEFUN([AX_CHECK_LIBRARY], [ AC_ARG_VAR($1[_CPPFLAGS], [C preprocessor flags for ]$1[ headers]) @@ -90,6 +90,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]) - m4_ifnblank([$4], [$4]), - m4_ifnblank([$5], [$5])) + m4_ifval( m4_normalize([$4]), [$4]), + m4_ifval( m4_normalize([$5]), [$5])) ])