]> git.sesse.net Git - vlc/commitdiff
configure.ac: Actually put per module error flag upon correct flag definition.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 31 Aug 2009 13:17:01 +0000 (15:17 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 31 Aug 2009 13:17:49 +0000 (15:17 +0200)
m4/vlc.m4

index 2c7c1433a0e1769eeb6659458e11f160c57c0fb9..8007aa29d5b0953db6497989da0cadd8e0b041de 100644 (file)
--- a/m4/vlc.m4
+++ b/m4/vlc.m4
@@ -138,7 +138,7 @@ 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 @'$'LIBS_${x}@`" != "@@"; then
+    if test "`eval echo @'$'CFLAGS_WERROR_${x}@`" != "@@"; then
       echo "      CFLAGS_WERROR=\"`eval echo '$'CFLAGS_WERROR_${x}`\""
     fi
     echo "    ;;"