From 3ec605de6716de41408aead150aff81ff7b96992 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 15 Feb 2004 22:34:58 +0000 Subject: =?UTF-8?q?Andr=E9s=20Garc=EDa=20added=20a=20check=20for=20lwinmm?= =?UTF-8?q?=20for=20Mingw/sys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure.ac | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/configure.ac b/configure.ac index 3518006a2..866372f72 100644 --- a/configure.ac +++ b/configure.ac @@ -326,6 +326,25 @@ AC_HELP_STRING([--enable-libgcc],[use libgcc when linking]), AC_MSG_RESULT(no) ) +dnl ********************************************************************** +dnl Check for the presence of the winmm library. +dnl ********************************************************************** + +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 Checks for IPv6 dnl ********************************************************************** -- cgit v1.2.3