File: MaintainerFlags.m4

package info (click to toggle)
syslog-ng 3.8.1-10
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 47,320 kB
  • ctags: 43,937
  • sloc: ansic: 159,432; yacc: 25,059; sh: 13,574; makefile: 4,669; python: 3,468; java: 3,218; xml: 2,309; perl: 318; lex: 316; awk: 184
file content (21 lines) | stat: -rw-r--r-- 1,946 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
      [check_cc_cxx_flag([-Wall],                         [CFLAGS="$CFLAGS -Wall"])
       check_cc_cxx_flag([-Waggregate-return],            [CFLAGS="$CFLAGS -Waggregate-return"])
       check_cc_cxx_flag([-Wcast-align],                  [CFLAGS="$CFLAGS -Wcast-align"])
       check_cc_cxx_flag([-Wdeclaration-after-statement], [CFLAGS="$CFLAGS -Wdeclaration-after-statement"])
       check_cc_cxx_flag([-Wempty-body],                  [CFLAGS="$CFLAGS -Wempty-body"])
       check_cc_cxx_flag([-Wformat],                      [CFLAGS="$CFLAGS -Wformat"])
       check_cc_cxx_flag([-Wformat-nonliteral],           [CFLAGS="$CFLAGS -Wformat-nonliteral"])
       check_cc_cxx_flag([-Wformat-security],             [CFLAGS="$CFLAGS -Wformat-security"])
       check_cc_cxx_flag([-Winit-self],                   [CFLAGS="$CFLAGS -Winit-self"])
       check_cc_cxx_flag([-Winline],                      [CFLAGS="$CFLAGS -Winline"])
       check_cc_cxx_flag([-Wmissing-include-dirs],        [CFLAGS="$CFLAGS -Wmissing-include-dirs"])
       check_cc_cxx_flag([-Wno-strict-aliasing],          [CFLAGS="$CFLAGS -Wno-strict-aliasing"])
       check_cc_cxx_flag([-Wno-uninitialized],            [CFLAGS="$CFLAGS -Wno-uninitialized"])
       check_cc_cxx_flag([-Wredundant-decls],             [CFLAGS="$CFLAGS -Wredundant-decls"])
       check_cc_cxx_flag([-Wreturn-type],                 [CFLAGS="$CFLAGS -Wreturn-type"])
       check_cc_cxx_flag([-Wshadow],                      [CFLAGS="$CFLAGS -Wshadow"])
       check_cc_cxx_flag([-Wswitch-default],              [CFLAGS="$CFLAGS -Wswitch-default"])
       check_cc_cxx_flag([-Wswitch-enum],                 [CFLAGS="$CFLAGS -Wswitch-enum"])
       check_cc_cxx_flag([-Wundef],                       [CFLAGS="$CFLAGS -Wundef"])
       check_cc_cxx_flag([-Wuninitialized],               [CFLAGS="$CFLAGS -Wuninitialized"])])