wix find windress when using crosscompiler

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
yuri 2011-01-23 11:14:21 +00:00
parent c54e998967
commit 1b146a4837

View File

@ -420,9 +420,15 @@ fi
AC_SUBST(LIBCOMMAND) 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 how to compile (Windows) resource files
dnl this will only be used to create Windows .exe 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... dnl Architecture checks...
AC_C_BIGENDIAN AC_C_BIGENDIAN