Update of /cvsroot/gtk2hs/gtk2hs/tools/c2hs/toplevel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21618/tools/c2hs/toplevel
Modified Files:
C2HSConfig.hs.in
Log Message:
Various win32 fixes.
configure.ac: Do not define WIN32 on windows since it is already defined on
that platform.
Define a conditional so that Makefile.am can conditonally compile a few modules.
We no longer need to pass -fnative-struct to gcc on windows.
Makefile.am: Add $(EXEEXT) in a few places to so names of dependencies are
correct on windows.
Only compile the plug and socket modules on non-win32 platforms.
C2HSConfig.hs.in: comment out the @TMPDIR@ substitution since it causes
problems in windows and is not used anyway.
CParser.hs: make c2hs accept __attribute__'s on declerations of functions
returning pointer types. This is needed for some mingw header file (float.h).
Index: C2HSConfig.hs.in
===================================================================
RCS file: /cvsroot/gtk2hs/gtk2hs/tools/c2hs/toplevel/C2HSConfig.hs.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- C2HSConfig.hs.in 16 Jan 2005 21:31:22 -0000 1.2
+++ C2HSConfig.hs.in 7 Feb 2005 00:04:28 -0000 1.3
@@ -83,8 +83,10 @@
-- possibly system-dependent location for temporary files
--
tmpdir :: String
-tmpdir = "@TMPDIR@"
-
+tmpdir = error "C2HSConfig.tmpdir" -- used to be: "@TMPDIR@"
+ -- tmpdir is unused and it causes problems on widows since it ends up with
+ -- the value "C:\TMP" which is not a valid string. It'd need to be "C:\\TMP"
+ -- so just remove the thing for now.
-- parameters of the targeted C compiler
-- -------------------------------------
|