mirror of
https://github.com/curl/curl.git
synced 2026-06-19 03:35:39 +03:00
Andrs Garca added a check for lwinmm for Mingw/sys
This commit is contained in:
parent
a7e04cac78
commit
3ec605de67
1 changed files with 19 additions and 0 deletions
19
configure.ac
19
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 <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 **********************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue