Merge commit 'dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea'
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 29 Oct 2013 18:43:06 +0000 (19:43 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 29 Oct 2013 18:43:14 +0000 (19:43 +0100)
* commit 'dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea':
  configure: Move gcc-only -W option where it belongs

Merged-by: Michael Niedermayer <michaelni@gmx.at>
1  2 
configure

diff --cc configure
+++ b/configure
@@@ -4427,10 -3905,8 +4427,9 @@@ check_cflags -Wwrite-string
  check_cflags -Wtype-limits
  check_cflags -Wundef
  check_cflags -Wmissing-prototypes
 +check_cflags -Wno-pointer-to-int-cast
  check_cflags -Wstrict-prototypes
  enabled extra_warnings && check_cflags -Winline
- enabled extra_warnings || check_cflags -Wno-maybe-uninitialized
  
  # add some linker flags
  check_ldflags -Wl,--warn-common
@@@ -4529,7 -3996,9 +4528,8 @@@ elif enabled gcc; the
      check_cflags -Werror=implicit-function-declaration
      check_cflags -Werror=missing-prototypes
      check_cflags -Werror=return-type
 -    check_cflags -Werror=declaration-after-statement
      check_cflags -Werror=vla
+     enabled extra_warnings || check_cflags -Wno-maybe-uninitialized
  elif enabled llvm_gcc; then
      check_cflags -mllvm -stack-alignment=16
  elif enabled clang; then