configure.in
branchSDL-1.2
changeset 4080 e1098effe318
parent 4078 5e6f2972f963
child 4087 4867f7f7dd34
     1.1 --- a/configure.in	Mon Jul 16 05:08:20 2007 +0000
     1.2 +++ b/configure.in	Wed Jul 18 04:04:24 2007 +0000
     1.3 @@ -96,7 +96,12 @@
     1.4  AC_PROG_CXX
     1.5  AC_PROG_INSTALL
     1.6  AC_PROG_MAKE_SET
     1.7 -AC_CHECK_PROGS(WINDRES, windres i386-mingw32-windres)
     1.8 +if test -z "$host_alias"; then
     1.9 +    hostaliaswindres=
    1.10 +else
    1.11 +    hostaliaswindres="$host_alias-windres"
    1.12 +fi
    1.13 +AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
    1.14  
    1.15  dnl Check for compiler characteristics
    1.16  AC_C_CONST