[vlc-devel] commit: Really output VLC_SET_CFLAGS_WERROR info into vlc-config.in ( Rafaël Carré )
git version control
git at videolan.org
Mon Aug 31 22:54:15 CEST 2009
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Aug 31 22:36:18 2009 +0200| [f19675ff6dc5498fce2923a730d5577955d74388] | committer: Rafaël Carré
Really output VLC_SET_CFLAGS_WERROR info into vlc-config.in
Copy pasting is your friend
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f19675ff6dc5498fce2923a730d5577955d74388
---
m4/vlc.m4 | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/m4/vlc.m4 b/m4/vlc.m4
index fa6790c..46b1021 100644
--- a/m4/vlc.m4
+++ b/m4/vlc.m4
@@ -61,6 +61,7 @@ AC_DEFUN([VLC_ADD_LIBS], [
AC_DEFUN([VLC_SET_CFLAGS_WERROR], [
for element in [$1]; do
eval "CFLAGS_WERROR_${element}="'"'"$2"'"'
+ am_modules_with_werror="${am_modules_with_werror} ${element}"
done
])
@@ -92,7 +93,7 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
AC_MSG_RESULT(configure: creating ./vlc-config.in)
- am_all_modules="`for x in ${am_modules_with_cppflags} ${am_modules_with_cflags} ${am_modules_with_cxxflags} ${am_modules_with_objcflags} ${am_modules_with_ldflags} ${am_modules_with_libs}; do echo $x; done | sort | uniq`"
+ am_all_modules="`for x in ${am_modules_with_cppflags} ${am_modules_with_cflags} ${am_modules_with_cxxflags} ${am_modules_with_objcflags} ${am_modules_with_ldflags} ${am_modules_with_libs} ${am_modules_with_werror}; do echo $x; done | sort | uniq`"
rm -f vlc-config.in
sed -ne '/#@1@#/q;p' < "${srcdir}/vlc-config.in.in" \
More information about the vlc-devel
mailing list