diff options
author | Zach Loafman <zachary.loafman@isilon.com> | 2008-07-03 13:45:07 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-22 15:00:48 +0200 |
commit | 45bbad9ca03621e67b4fe1db3299da0557fcf812 (patch) | |
tree | cb9434c6c3b58494af512f1f233220830ab58134 /source3/m4 | |
parent | 2d7660dcc3df2148be07152cf2337336ae54de85 (diff) | |
download | samba-45bbad9ca03621e67b4fe1db3299da0557fcf812.tar.gz samba-45bbad9ca03621e67b4fe1db3299da0557fcf812.tar.bz2 samba-45bbad9ca03621e67b4fe1db3299da0557fcf812.zip |
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)
Diffstat (limited to 'source3/m4')
-rw-r--r-- | source3/m4/check_path.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
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)])], [ |