summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2007-11-21 18:26:59 (UTC)
committer Michael Krelin <hacker@klever.net>2007-11-21 18:26:59 (UTC)
commitce71a561ae259c3239e55119cd708321832d97f4 (patch) (side-by-side diff)
tree12084ec942bde4181534b305361bad465abe1960
parent6d455b3ce69e62bdbe7ca894bc2cacac3e793a99 (diff)
downloadlibopkele-ce71a561ae259c3239e55119cd708321832d97f4.zip
libopkele-ce71a561ae259c3239e55119cd708321832d97f4.tar.gz
libopkele-ce71a561ae259c3239e55119cd708321832d97f4.tar.bz2
nitpicking tweaks
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c5759b0..283757f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,26 +97,26 @@ AC_ARG_ENABLE([postels-law],
)
$postels_law && AC_DEFINE([POSTELS_LAW],,[defined if we want to adhere to Postel's Law])
AC_DEFINE_UNQUOTED([OPKELE_SRC_DIR],["$PWD"],[source directory])
nitpick=false
AC_ARG_ENABLE([nitpicking],
AC_HELP_STRING([--enable-nitpicking],[make compiler somewhat overly fastidious about the code it deals with]),
[ test "$enableval" = "no" || nitpick=true ]
)
if $nitpick ; then
CPP_NITPICK="-pedantic -Wall -Wextra -Wundef -Wshadow \
- -Wunsafe-loop-optimizations -Wconversion -Wmissing-declarations \
- -Wmissing-format-attribute -Wredundant-decls"
+ -Wunsafe-loop-optimizations -Wconversion -Wmissing-format-attribute \
+ -Wredundant-decls -ansi"
# -Wlogical-op -Wmissing-noreturn
C_NITPICK="$CPP_NITPICK"
CXX_NITPICK="$C_NITPICK"
CPPFLAGS="$CPPFLAGS $CPP_NITPICK"
CFLAGS="$CFLAGS $C_NITPICK"
CXXFLAGS="$CXXFLAGS $CXX_NITPICK"
fi
AC_CONFIG_FILES([
Makefile
libopkele.pc