Commit 19479ea0 authored by Yang Tse's avatar Yang Tse
Browse files

Internal time differences now use monotonic time source if available.

This also implies the removal of the winmm.lib dependency for WIN32.
parent d708ef67
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -7,6 +7,10 @@
                                  Changelog


Yang Tse (9 May 2008)
- Internal time differences now use monotonic time source if available.
  This also implies the removal of the winmm.lib dependency for WIN32.

Daniel Stenberg (9 May 2008)
- Stefan Krause reported a busy-looping case when using the multi interface
  and doing CONNECT to a proxy. The app would then busy-loop until the proxy
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ This release includes the following bugfixes:
 o microsecond resolution keys for internal splay trees
 o krb4 and krb5 ftp segfault
 o multi interface busy loop for CONNECT requests
 o internal time differences now use monotonic time source if available

This release includes the following known bugs:

+1 −30
Original line number Diff line number Diff line
@@ -674,36 +674,6 @@ if test x$CURL_DISABLE_LDAP != x1 ; then
  fi
fi

dnl **********************************************************************
dnl Check for the presence of the winmm library.
dnl **********************************************************************

case $host in
  *-*-cygwin*)
    dnl Under Cygwin, winmm exists but is not needed as WIN32 is not #defined
    dnl and gettimeofday() will be used regardless of the outcome of this test.
    dnl Skip this test, otherwise -lwinmm will be needlessly added to LIBS
    dnl (and recorded as such in the .la file, potentially affecting downstream
    dnl clients of the library.)
    ;;
  *)
    AC_MSG_CHECKING([for timeGetTime in winmm])
    my_ac_save_LIBS=$LIBS
    LIBS="-lwinmm $LIBS"
    AC_TRY_LINK([#include <windef.h>
                 #include <mmsystem.h>
                 ],
                 [timeGetTime();],
                 [ dnl worked!
                 AC_MSG_RESULT([yes])
                 ],
                 [ dnl failed, restore LIBS
                 LIBS=$my_ac_save_LIBS
                 AC_MSG_RESULT(no)]
               )
    ;;
esac

dnl **********************************************************************
dnl Checks for IPv6
dnl **********************************************************************
@@ -2006,6 +1976,7 @@ AC_CHECK_FUNCS( strtoll \
                strcmpi \
                gethostbyaddr \
                gettimeofday \
                clock_gettime \
                inet_addr \
                inet_ntoa \
                inet_pton \
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ Linker Links
checked.

3- Include in the white space immediately below the box referred in 2 -lcurl
-lws2_32 -lwinmm.
-lws2_32.

SSL Files
---------
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ ifndef USE_LDAP_OPENLDAP
curl_LDADD += -lwldap32
endif
endif
curl_LDADD += -lws2_32 -lwinmm
curl_LDADD += -lws2_32
COMPILE = $(CC) $(INCLUDES) $(CFLAGS)

# Makefile.inc provides the check_PROGRAMS and COMPLICATED_EXAMPLES defines
Loading