Skip to content
Snippets Groups Projects
Commit 3ec605de authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Andrés García added a check for lwinmm for Mingw/sys

parent a7e04cac
No related branches found
No related tags found
No related merge requests found
......@@ -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 <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)]
)
dnl **********************************************************************
dnl Checks for IPv6
dnl **********************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment