about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-20 22:13:20 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-20 22:13:20 +0000
commit6cc7d725dba86400bff212376b63624172e4090d (patch)
tree8cb2622f608b7243db3075ad7e86b82f8bf9662d /configure.in
parent595538976b5d13ea0bcff73e05a9b6fd6cddaee5 (diff)
downloadglibc-6cc7d725dba86400bff212376b63624172e4090d.tar.gz
glibc-6cc7d725dba86400bff212376b63624172e4090d.tar.xz
glibc-6cc7d725dba86400bff212376b63624172e4090d.zip
Update.
2000-11-20  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Add --enable-all-warnings.
	* config.make.in (all-warnings): New variable.
	* Makeconfig (+gccwarn): Define with many more warnings if
	all-warnings is yes.
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