--- lcms-1.17/configure.ac	2007-01-31 12:35:24.000000000 +0100
+++ lcms-1.17/configure.ac	2009-02-26 09:11:07.000000000 +0100
@@ -43,7 +43,7 @@
 
 
 # Obtain system type by running config.guess
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_HOST
 
 # Ensure that make can run correctly
 AM_SANITY_CHECK
--- lcms-1.17/include/lcms.h	2007-07-27 12:00:01.000000000 +0200
+++ lcms-1.17/include/lcms.h	2009-02-26 09:07:36.000000000 +0100
@@ -32,9 +32,9 @@
 // USE_FLOAT are the generic floating-point routines. USE_C should work on
 // virtually any machine.
 
-//#define USE_FLOAT        1
+#define USE_FLOAT        1
 // #define USE_C            1
-#define USE_ASSEMBLER    1
+// #define USE_ASSEMBLER    1
 
 // Define this if you are using this package as a DLL (windows only)
 
@@ -43,7 +43,7 @@
 
 // Uncomment if you are trying the engine in a non-windows environment
 // like linux, SGI, VAX, FreeBSD, BeOS, etc. 
-#define NON_WINDOWS  1
+// #define NON_WINDOWS  1
 
 // Uncomment this one if you are using big endian machines (only meaningful
 // when NON_WINDOWS is used)
@@ -225,6 +225,8 @@
 
 #else
 
+#define cdecl
+
 // Win32 stuff
 
 #ifndef WIN32_LEAN_AND_MEAN
