Fix issue with m4 portability
authorBrian Aker <brian@tangent.org>
Wed, 12 Oct 2011 00:04:45 +0000 (17:04 -0700)
committerBrian Aker <brian@tangent.org>
Wed, 12 Oct 2011 00:04:45 +0000 (17:04 -0700)
m4/ax_check_library.m4

index 13dcfd694a4e0f37e61c34865cbdba704eb33129..9b9d9db349b5ce45f1bd17881ac68e1ec844334c 100644 (file)
@@ -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]))
 ])