Mercurial > sdl-ios-xcode
changeset 4080:e1098effe318 SDL-1.2
Better windres detection
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 18 Jul 2007 04:04:24 +0000 |
parents | fda6e33893b7 |
children | 10be2cee175d |
files | configure.in |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Mon Jul 16 05:08:20 2007 +0000 +++ b/configure.in Wed Jul 18 04:04:24 2007 +0000 @@ -96,7 +96,12 @@ AC_PROG_CXX AC_PROG_INSTALL AC_PROG_MAKE_SET -AC_CHECK_PROGS(WINDRES, windres i386-mingw32-windres) +if test -z "$host_alias"; then + hostaliaswindres= +else + hostaliaswindres="$host_alias-windres" +fi +AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres]) dnl Check for compiler characteristics AC_C_CONST