Ignore:
Timestamp:
18/10/2011 00:19:48 (7 months ago)
Author:
chris
Message:

Patch to support building on MinGW, thanks to Paolo Tosco
( http://open3dalign.org,  http://open3dqsar.org)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/m4/boxbackup_tests.m4

    r3009 r3027  
    6868 
    6969case $target_os in 
    70 mingw32*) ;; 
    71 winnt)    ;; 
    72 *) 
    73   AC_SEARCH_LIBS([nanosleep], [rt], [ac_have_nanosleep=yes], 
    74                  [AC_MSG_ERROR([[cannot find a short sleep function (nanosleep)]])]) 
     70mingw32*) 
     71        AC_CHECK_LIB([crypto -lws2_32 -lgdi32], [CRYPTO_lock]) 
     72        ;; 
     73winnt) 
     74        ;; 
     75*) 
     76        AC_SEARCH_LIBS([nanosleep], [rt], [ac_have_nanosleep=yes], 
     77                [AC_MSG_ERROR([[cannot find a short sleep function (nanosleep)]])]) 
    7578        ;; 
    7679esac 
Note: See TracChangeset for help on using the changeset viewer.