configure-enable-warnings-20080228
[openafs.git] / acinclude.m4
index 8c6b96b..07c043b 100644 (file)
@@ -88,6 +88,9 @@ AC_ARG_ENABLE(debug-pam,
 AC_ARG_ENABLE(optimize-pam,
 [  --disable-optimize-pam              disable optimization for compilation of the PAM code (defaults to enabled)],, enable_optimize_pam="yes"
 )
+AC_ARG_ENABLE(warnings,
+[  --enable-warnings                   enable compilation warnings when building with gcc (defaults to disabled)],, enable_warnings="no"
+)
 
 
 enable_login="no"