mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
configure: sprinkle some AC_LANG_PROGRAM in wasapi check
So autogen.sh stops moaning.
This commit is contained in:
parent
84e5418cfc
commit
af2116cba6
1 changed files with 3 additions and 3 deletions
|
@ -467,12 +467,12 @@ AG_GST_CHECK_FEATURE(WASAPI, [WASAPI plug-in], wasapi, [
|
|||
LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS"
|
||||
LIBS="$LIBS -lole32 -lwinmm -lksuser"
|
||||
AC_MSG_CHECKING(for WASAPI LDFLAGS)
|
||||
AC_LINK_IFELSE([
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <mmsystem.h>
|
||||
#include <mmdeviceapi.h>
|
||||
|
||||
]], [[
|
||||
int main ()
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
|
@ -489,7 +489,7 @@ int main ()
|
|||
CoUninitialize();
|
||||
return result;
|
||||
}
|
||||
],
|
||||
]])],
|
||||
[HAVE_WASAPI="yes"],
|
||||
[HAVE_WASAPI="no"])
|
||||
AC_MSG_RESULT($HAVE_WASAPI)
|
||||
|
|
Loading…
Reference in a new issue