X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=m4%2Fvlc.m4;h=32f028e3d5385a5726f986203ee8964932c61514;hb=922b5784b451e815c1c9626eb4537a7f6d4b9836;hp=1ae4ff5f88d7f4ded859465fb47bcd592b5bf798;hpb=b8d77ded5185dd3221f5fa4df15ce34b9b06f696;p=vlc diff --git a/m4/vlc.m4 b/m4/vlc.m4 index 1ae4ff5f88..32f028e3d5 100644 --- a/m4/vlc.m4 +++ b/m4/vlc.m4 @@ -60,13 +60,6 @@ AC_DEFUN([VLC_ADD_LIBS], [ ]) ]) -AC_DEFUN([VLC_SET_CFLAGS_WERROR], [ - m4_foreach_w([element], [$1], [ - [eval "CFLAGS_WERROR_]element[="'"'"$2"'"'] - [am_modules_with_werror="${am_modules_with_werror} ]element["] - ]) -]) - dnl =========================================================================== dnl Macros to save and restore default flags @@ -95,7 +88,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} ${am_modules_with_werror}; 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}; do echo $x; done | sort | uniq`" rm -f vlc-config.in sed -ne '/#@1@#/q;p' < "${srcdir}/vlc-config.in.in" \ @@ -140,9 +133,6 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [ if test "`eval echo @'$'LIBS_${x}@`" != "@@"; then echo " libs=\"\${libs} `eval echo '$'LIBS_${x}`\"" fi - if test "`eval echo @'$'CFLAGS_WERROR_${x}@`" != "@@"; then - echo " cflags_werror=\"`eval echo '$'CFLAGS_WERROR_${x}`\"" - fi echo " ;;" ] done >> vlc-config.in