]> git.sesse.net Git - vlc/commitdiff
configure: Set the proper werror variable when creating vlc-config.in
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 31 Aug 2009 19:46:55 +0000 (21:46 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 31 Aug 2009 19:48:21 +0000 (21:48 +0200)
m4/vlc.m4

index 8007aa29d5b0953db6497989da0cadd8e0b041de..fa6790caf45349ad4177bcb62363c9ec38d9a559 100644 (file)
--- a/m4/vlc.m4
+++ b/m4/vlc.m4
@@ -139,7 +139,7 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
       echo "      libs=\"\${libs} `eval echo '$'LIBS_${x}`\""
     fi
     if test "`eval echo @'$'CFLAGS_WERROR_${x}@`" != "@@"; then
-      echo "      CFLAGS_WERROR=\"`eval echo '$'CFLAGS_WERROR_${x}`\""
+      echo "      cflags_werror=\"`eval echo '$'CFLAGS_WERROR_${x}`\""
     fi
     echo "    ;;"
   ] done >> vlc-config.in