--- curl-7.11.1-20040211/configure.ac Sat Feb 7 03:00:02 2004 +++ curl-new/configure.ac Thu Feb 12 08:53:12 2004 @@ -259,7 +259,7 @@ AC_TRY_LINK([#include ], [gethostbyname("www.dummysite.com");], [ dnl worked! - AC_MSG_CHECKING([yes]) + AC_MSG_RESULT([yes]) HAVE_GETHOSTBYNAME="1"], [ dnl failed, restore LIBS LIBS=$my_ac_save_LIBS @@ -899,6 +899,27 @@ AC_CHECK_FUNCS( gmtime_r ) fi + +dnl ********************************************************************** +dnl Check for the presence of the winmm library. +dnl ********************************************************************** + +AC_CHECK_LIB(winmm, timeGetTime) + +AC_MSG_CHECKING([for timeGetTime in winmm]) +my_ac_save_LIBS=$LIBS +LIBS="-lwinmm $LIBS" +AC_TRY_LINK([#include + #include + ], + [timeGetTime();], + [ dnl worked! + AC_MSG_RESULT([yes]) + ], + [ dnl failed, restore LIBS + LIBS=$my_ac_save_LIBS + AC_MSG_RESULT(no)] + ) dnl ********************************************************************** dnl Back to "normal" configuring