Better windres detection SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Wed, 18 Jul 2007 04:04:24 +0000
branchSDL-1.2
changeset 4080e1098effe318
parent 4079 fda6e33893b7
child 4081 10be2cee175d
Better windres detection
configure.in
     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