Downgrade m4 file so that it can compile on Centos
authorBrian Aker <brian@tangent.org>
Mon, 27 Feb 2012 02:13:00 +0000 (18:13 -0800)
committerBrian Aker <brian@tangent.org>
Mon, 27 Feb 2012 02:13:00 +0000 (18:13 -0800)
m4/ax_check_library.m4

index 24af93c0b24fd6c6b93ee2d41ba20767e4b2facd..5998c792553253ee29987e069410d1d744046552 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]))
 ])