[vlc-devel] commit: m4_ifnblank seems to be too new for some autoconf ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Aug 9 14:44:56 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug  9 14:42:52 2009 +0200| [d76709e45d961e180791c799fe8daef0378330ad] | committer: Jean-Baptiste Kempf 

m4_ifnblank seems to be too new for some autoconf

And bumping autoconf version seems to be a bit much for such a small improvement

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d76709e45d961e180791c799fe8daef0378330ad
---

 m4/with_pkg.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/m4/with_pkg.m4 b/m4/with_pkg.m4
index 16a3165..60b2b05 100644
--- a/m4/with_pkg.m4
+++ b/m4/with_pkg.m4
@@ -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"],




More information about the vlc-devel mailing list