r18774 - gnucash/trunk/packaging/win32 - Win32 build: libguile needs minor tweaking for MSVC compatibility.
Christian Stimming
cstim at code.gnucash.org
Mon Mar 1 13:45:11 EST 2010
Author: cstim
Date: 2010-03-01 13:45:11 -0500 (Mon, 01 Mar 2010)
New Revision: 18774
Trac: http://svn.gnucash.org/trac/changeset/18774
Modified:
gnucash/trunk/packaging/win32/install.sh
Log:
Win32 build: libguile needs minor tweaking for MSVC compatibility.
Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh 2010-03-01 18:44:49 UTC (rev 18773)
+++ gnucash/trunk/packaging/win32/install.sh 2010-03-01 18:45:11 UTC (rev 18774)
@@ -381,6 +381,17 @@
qpopd
guile -c '(use-modules (srfi srfi-39))' &&
guile -c "(use-modules (ice-9 slib)) (require 'printf)" || die "guile not installed correctly"
+
+ # If this libguile is used from MSVC compiler, we must
+ # deactivate some macros of scmconfig.h again.
+ SCMCONFIG_H=$_GUILE_UDIR/include/libguile/scmconfig.h
+ cat >> ${SCMCONFIG_H} <<EOF
+
+#ifdef _MSC_VER
+# undef HAVE_STDINT_H
+# undef HAVE_INTTYPES_H
+#endif
+EOF
rm -rf ${TMP_UDIR}/guile-*
fi
if [ "$CROSS_COMPILE" = "yes" ]; then
Property changes on: gnucash/trunk/packaging/win32/install.sh
___________________________________________________________________
Deleted: svn:executable
- *
More information about the gnucash-changes
mailing list