Changeset 8887


Ignore:
Timestamp:
Aug 9, 2009, 6:04:33 PM (11 years ago)
Author:
charles
Message:

(trunk) #2323: autoconf patch to buil transmission on cygwin (tbucked)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r8835 r8887  
    7676AC_HEADER_TIME
    7777
    78 AC_CHECK_FUNCS([lrintf strlcpy daemon dirname basename strcasecmp localtime_r posix_fallocate memmem])
     78AC_CHECK_FUNCS([lrintf strlcpy daemon dirname basename strcasecmp localtime_r posix_fallocate memmem strtold])
    7979AC_PROG_INSTALL
    8080AC_PROG_MAKE_SET
    8181ACX_PTHREAD
     82
     83if test "x$ac_cv_func_strtold" != "xyes" ; then
     84    CPPFLAGS="$CPPFLAGS -Dstrtold=strtod"
     85fi
    8286
    8387AC_SEARCH_LIBS(cos, [m])
     
    336340case $host_os in
    337341
    338    *cygwin|*mingw32*)
     342   *mingw32*)
    339343     have_msw="yes"
    340344     CXXFLAGS="$CXXFLAGS -mms-bitfields -mwin32 -mwindows"
Note: See TracChangeset for help on using the changeset viewer.