[vlc-commits] m4: helper for -f flags

Rémi Denis-Courmont git at videolan.org
Sun May 29 21:47:26 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 29 22:46:27 2016 +0300| [03df6aeeddbd807599847a6f8722ae7d03d31e96] | committer: Rémi Denis-Courmont

m4: helper for -f flags

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

 m4/flags.m4 |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/m4/flags.m4 b/m4/flags.m4
index 7dc19b7..0a5c7c9 100644
--- a/m4/flags.m4
+++ b/m4/flags.m4
@@ -37,6 +37,12 @@ AC_DEFUN([RDC_PROG_CC_WFLAGS],
   done
 ])
 
+AC_DEFUN([RDC_PROG_CC_FFLAGS],
+[ for a in $1; do
+    RDC_PROG_CC_FLAGS([-f$a])
+  done
+])
+
 AC_DEFUN([RDC_PROG_CXX_FLAGS_IFELSE],
 [AC_LANG_ASSERT(C++)
   CXXFLAGS_save="${CXXFLAGS}"
@@ -66,6 +72,12 @@ AC_DEFUN([RDC_PROG_CXX_WFLAGS],
   done
 ])
 
+AC_DEFUN([RDC_PROG_CXX_FFLAGS],
+[ for a in $1; do
+    RDC_PROG_CXX_FLAGS([-f$a])
+  done
+])
+
 AC_DEFUN([RDC_PROG_LINK_FLAGS_IFELSE],
 [AC_LANG_ASSERT(C)
   LDFLAGS_save="${LDFLAGS}"



More information about the vlc-commits mailing list