Show
Ignore:
Timestamp:
01/12/08 13:39:19 (4 years ago)
Author:
rakshasa
Message:

* Fixed a race condition in the handshake read/write code. Patch by
Josef Drexler.

* Fixed the --with-xmlrpc-c autoconf check so that you can pass an
alternative path to an xmlrpc-c-config script.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libtorrent/scripts/checks.m4

    r1013 r1027  
    370370 
    371371    else 
    372       if eval xmlrpc-c-config --version 2>/dev/null >/dev/null; then 
    373         CXXFLAGS="$CXXFLAGS `xmlrpc-c-config --cflags server-util`" 
    374         LIBS="$LIBS `xmlrpc-c-config server-util --libs`" 
     372      if test "$withval" = "yes"; then 
     373        xmlrpc_cc_prg="xmlrpc-c-config" 
     374      else 
     375        xmlrpc_cc_prg="$withval" 
     376      fi 
     377       
     378      if eval $xmlrpc_cc_prg --version 2>/dev/null >/dev/null; then 
     379        CXXFLAGS="$CXXFLAGS `$xmlrpc_cc_prg --cflags server-util`" 
     380        LIBS="$LIBS `$xmlrpc_cc_prg server-util --libs`" 
    375381 
    376382        AC_TRY_LINK(