diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-18 10:36:36 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-18 10:36:36 +0000 |
commit | 7a2eb66a0a0fde6ed263a035eb2eeeba483c604b (patch) | |
tree | a3e4911ddba7ff7faff50f00208d5663a76999e9 /configure.ac | |
parent | 95c21c07dae3e8d8ab888a71b10c738506b4e354 (diff) | |
download | rsyslog-7a2eb66a0a0fde6ed263a035eb2eeeba483c604b.tar.gz rsyslog-7a2eb66a0a0fde6ed263a035eb2eeeba483c604b.tar.xz rsyslog-7a2eb66a0a0fde6ed263a035eb2eeeba483c604b.zip |
applied cleanup patch by Peter Vrabec
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1806ca50..fa8d93f8 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,9 @@ AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC AM_PROG_CC_C_O - +if test "$GCC" = "yes" +then CFLAGS="$CFLAGS -W -Wall -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g" +fi AC_CANONICAL_HOST case "${host}" in |