r15493 - gnucash/trunk - Add -mms-bitfields and -mwindows to configure.in.
Andreas Köhler
andi5 at cvs.gnucash.org
Fri Feb 2 20:47:11 EST 2007
Author: andi5
Date: 2007-02-02 20:47:09 -0500 (Fri, 02 Feb 2007)
New Revision: 15493
Trac: http://svn.gnucash.org/trac/changeset/15493
Modified:
gnucash/trunk/configure.in
Log:
Add -mms-bitfields and -mwindows to configure.in.
On Windows, all C source files should be compiled with
-mms-bitfields. But this was only the case for those in modules
depending on gtk+. Fixes make check in src/app-utils.
Link with -mwindows, making the DLLs and gnucash-bin.exe to run in the
GUI subsystem. Clicking the bat will not open a console for gnucash,
starting from MSYS will not print messages, anymore.
Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in 2007-02-02 14:21:09 UTC (rev 15492)
+++ gnucash/trunk/configure.in 2007-02-03 01:47:09 UTC (rev 15493)
@@ -2037,8 +2037,11 @@
fi
AC_MSG_RESULT($warnFLAGS)
-# Extend LDFLAGS because libtool on Windows requires this argument
-LDFLAGS="${LDFLAGS} -no-undefined"
+# Adjust CFLAGS and LDFLAGS on Windows
+if test "x${platform_win32}" = "xyes"; then
+ CFLAGS="${CFLAGS} -mms-bitfields"
+ LDFLAGS="${LDFLAGS} -no-undefined -mwindows"
+fi
### --------------------------------------------------------------------------
### Adjustments -- especially executables that aren't generated via
More information about the gnucash-changes
mailing list