summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRemco Treffkorn <remco@rvt.com>2002-10-28 05:55:04 +0000
committerRemco Treffkorn <remco@rvt.com>2002-10-28 05:55:04 +0000
commit7ef4cccb339953983b9e29d8f92b4425b97f844c (patch)
tree0225fd8ec7ff2bfb17ee853dafe708a9e942bb68 /configure.in
parent6e363f68cb399b643857fe83dd2602f295201a0a (diff)
downloadgpsd-7ef4cccb339953983b9e29d8f92b4425b97f844c.tar.gz
added -Wall -Werror to CFLAGS
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 6e6c79ce..1328952d 100644
--- a/configure.in
+++ b/configure.in
@@ -6,6 +6,9 @@ AC_CONFIG_HEADER(config.h)
dnl Find and check C compiler
dnl
ICE_PROG_CC
+
+test ! -z "$GCC" && CFLAGS="$CFLAGS -Wall -Werror"
+
dnl
dnl Find and check C preprocessor
dnl