Changeset 2277


Ignore:
Timestamp:
13/09/2008 14:47:21 (3 years ago)
Author:
chris
Message:

Fix cross-compiling checks for ar, ranlib and windres.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/configure.ac

    r2234 r2277  
    4848        [Location of the perl executable]) 
    4949 
    50 AC_CHECK_PROGS([AR],     [ar],     
     50AC_CHECK_TOOL([AR],     [ar],     
    5151        [AC_MSG_ERROR([[cannot find ar executable]])]) 
    52 AC_CHECK_PROGS([RANLIB], [ranlib], 
     52AC_CHECK_TOOL([RANLIB], [ranlib], 
    5353        [AC_MSG_ERROR([[cannot find ranlib executable]])]) 
     54 
     55case $target_os in 
     56mingw*)  
     57        AC_CHECK_TOOL([WINDRES], [windres], 
     58                [AC_MSG_ERROR([[cannot find windres executable]])]) 
     59        ;; 
     60esac 
    5461 
    5562### Checks for libraries. 
Note: See TracChangeset for help on using the changeset viewer.