From 45bbad9ca03621e67b4fe1db3299da0557fcf812 Mon Sep 17 00:00:00 2001 From: Zach Loafman Date: Thu, 3 Jul 2008 13:45:07 -0700 Subject: Add --enable-picky-developer This adds an --enable-picky-developer option that will halt compilation on warnings. Yes, this could be handled by a direct Makefile change, but people should be encourage to do it! (This used to be commit 10a2ab40771b7d0222f339a87a45630a23ce4788) --- source3/m4/check_path.m4 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3/m4') diff --git a/source3/m4/check_path.m4 b/source3/m4/check_path.m4 index ccf21271c8..0537b7a896 100644 --- a/source3/m4/check_path.m4 +++ b/source3/m4/check_path.m4 @@ -296,6 +296,14 @@ AC_ARG_ENABLE(krb5developer, [AS_HELP_STRING([--enable-krb5developer], [Turn on krb5_developer=yes fi]) +picky_developer=no +AC_ARG_ENABLE(picky-developer, [AS_HELP_STRING([--enable-picky-developer], [Halt compilation on warnings])], + [if eval "test x$enable_picky_developer = xyes"; then + debug=yes + developer=yes + picky_developer=yes + fi]) + AC_ARG_WITH(cfenc, [AS_HELP_STRING([--with-cfenc=HEADERDIR], [Use internal CoreFoundation encoding API for optimization (Mac OS X/Darwin only)])], [ -- cgit