[Gnucash-changes] r13897 - gnucash/trunk - Ensure the warning about debian and error-on-warning is shown only if necessary

Christian Stimming cstim at cvs.gnucash.org
Tue May 2 05:05:15 EDT 2006


Author: cstim
Date: 2006-05-02 05:05:13 -0400 (Tue, 02 May 2006)
New Revision: 13897
Trac: http://svn.gnucash.org/trac/changeset/13897

Modified:
   gnucash/trunk/configure.in
Log:
Ensure the warning about debian and error-on-warning is shown only if necessary

Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2006-05-02 03:48:21 UTC (rev 13896)
+++ gnucash/trunk/configure.in	2006-05-02 09:05:13 UTC (rev 13897)
@@ -2023,8 +2023,10 @@
      esac],
     [   if test "${error_on_warning_as_default}" = "yes"; then
 	  warnFLAGS="${warnFLAGS} -Werror"; 
+	  gnc_error_on_warning=auto
+	else
+	  gnc_error_on_warning=no
 	fi
-	gnc_error_on_warning=auto
     ])
 
   # For gcc >= 3.4.x, specifically enable the new warning switch



More information about the gnucash-changes mailing list