Author: yuri
Date: 2011-01-23 03:14:21 -0800 (Sun, 23 Jan 2011)
New Revision: 8303
Log:
wix find windress when using crosscompiler


Modified:
   branches/branch-1.3/configure.in

Modified: branches/branch-1.3/configure.in
===================================================================
--- branches/branch-1.3/configure.in    2011-01-23 09:59:35 UTC (rev 8302)
+++ branches/branch-1.3/configure.in    2011-01-23 11:14:21 UTC (rev 8303)
@@ -420,9 +420,15 @@
 
 AC_SUBST(LIBCOMMAND)
 
+dnl try to find windres with host prefix first
+dnl fix cross compiling 
+AC_PATH_PROG(RC,"$host_alias-windres")
+
 dnl how to compile (Windows) resource files
 dnl this will only be used to create Windows .exe files
-AC_PATH_PROG(RC,windres)
+if test "x$RC" = "x"; then
+    AC_PATH_PROG(RC,windres)
+fi
 
 dnl Architecture checks...
 AC_C_BIGENDIAN

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to