summaryrefslogtreecommitdiff
path: root/m4/ax_check_library.m4
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2012-03-11 10:18:45 -0400
committerPeter Simons <simons@cryp.to>2012-04-04 11:10:48 +0200
commit7ea1d1b18e5c1c3300936dd89c3e55b5b370ae72 (patch)
treee28430891a559fc64438ca8febe10b8eb4dc66ae /m4/ax_check_library.m4
parent017f8a6e30f54b9efdad5015105d7379ee18719c (diff)
downloadautoconf-archive-7ea1d1b18e5c1c3300936dd89c3e55b5b370ae72.tar.gz
AX_CHECK_LIBRARY: do not use m4_ifnblank
m4_ifnblank requires autoconf 2.64, and doesn’t seem necessary here.
Diffstat (limited to 'm4/ax_check_library.m4')
-rw-r--r--m4/ax_check_library.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ax_check_library.m4 b/m4/ax_check_library.m4
index 13dcfd6..7da6fa3 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]))
+ [$4],
+ [$5])
])