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

Rémi Denis-Courmont git at videolan.org
Wed Aug 24 12:51:41 CEST 2016


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 29 22:46:27 2016 +0300| [b2967d6b7f045f1c7cdf6a6c19115553d5e2038c] | committer: Hugo Beauzée-Luyssen

m4: helper for -f flags

(cherry picked from commit 03df6aeeddbd807599847a6f8722ae7d03d31e96)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

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

diff --git a/m4/flags.m4 b/m4/flags.m4
index 920fd45..d531ebe 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