about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 97cc2bafc5..fc260c1bd3 100644
--- a/configure.in
+++ b/configure.in
@@ -175,6 +175,14 @@ else
   fi
 fi
 
+dnl For the development we sometimes want gcc to issue even more warnings.
+dnl This is not the default since many of the extra warnings are not
+dnl appropriate.
+AC_ARG_ENABLE(all-warnings,
+[  --enable-all-warnings   enable all useful warnings gcc can issue],
+	      all_warnings=$enableval)
+AC_SUBST(all_warnings)
+
 AC_CANONICAL_HOST
 
 # The way shlib-versions is used to generate soversions.mk uses a