[Gnucash-changes] r14030 - gnucash/trunk - Make sure to properly define _GNU_SOURCE in sub-config files.

Derek Atkins warlord at cvs.gnucash.org
Fri May 12 11:35:08 EDT 2006


Author: warlord
Date: 2006-05-12 11:35:07 -0400 (Fri, 12 May 2006)
New Revision: 14030
Trac: http://svn.gnucash.org/trac/changeset/14030

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/goffice-config.h.in
   gnucash/trunk/gsf-config.h.in
Log:
	  Make sure to properly define _GNU_SOURCE in sub-config files.
	  The build was broken without this.



Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-05-12 10:50:06 UTC (rev 14029)
+++ gnucash/trunk/ChangeLog	2006-05-12 15:35:07 UTC (rev 14030)
@@ -1,3 +1,10 @@
+2006-05-12  Derek Atkins <derek at ihtfp.com>
+
+	* goffice-config.h.in:
+	* gsf-config.h.in:
+	  Make sure to properly define _GNU_SOURCE in sub-config files.
+	  The build was broken without this.
+
 2006-05-12  Christian Stimming <stimming at tuhh.de>
 
 	* src/import-export/hbci/gnc-plugin-hbci.c: Add the Tools->HBCI

Modified: gnucash/trunk/goffice-config.h.in
===================================================================
--- gnucash/trunk/goffice-config.h.in	2006-05-12 10:50:06 UTC (rev 14029)
+++ gnucash/trunk/goffice-config.h.in	2006-05-12 15:35:07 UTC (rev 14030)
@@ -218,3 +218,8 @@
 
 /* Don't include goffice-features.h, it's a subset of goffice-config.h. */
 #define GOFFICE_FEATURES_H
+
+/* Enable GNU extensions on systems that have them.  */
+#ifndef _GNU_SOURCE
+# undef _GNU_SOURCE
+#endif

Modified: gnucash/trunk/gsf-config.h.in
===================================================================
--- gnucash/trunk/gsf-config.h.in	2006-05-12 10:50:06 UTC (rev 14029)
+++ gnucash/trunk/gsf-config.h.in	2006-05-12 15:35:07 UTC (rev 14030)
@@ -122,3 +122,8 @@
 
 /* Define to `int' if <sys/types.h> does not define. */
 #undef mode_t
+
+/* Enable GNU extensions on systems that have them.  */
+#ifndef _GNU_SOURCE
+# undef _GNU_SOURCE
+#endif



More information about the gnucash-changes mailing list