m4_ifnblank seems to be too new for some autoconf
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 9 Aug 2009 12:42:52 +0000 (14:42 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 9 Aug 2009 12:44:30 +0000 (14:44 +0200)
And bumping autoconf version seems to be a bit much for such a small improvement

m4/with_pkg.m4

index 16a3165..60b2b05 100644 (file)
@@ -87,7 +87,7 @@ m4_pushdef([enable_arg], m4_tolower([$1]))
 
 PKG_WITH_MODULES([$1],[$3],
     VLC_ADD_PLUGIN(module_name)
-    m4_ifnblank( [$8],  VLC_ADD_CPPFLAGS(module_name, [$8]))
+    m4_ifval( m4_normalize([$8]), VLC_ADD_CPPFLAGS(module_name, [$8]))
     VLC_ADD_CFLAGS(module_name,[$$1_CFLAGS] [$6])
     VLC_ADD_LIBS(module_name,[$$1_LIBS] [$7]),
     AS_IF([test x"$AS_TR_SH([enable_]enable_arg)" = "xyes"],