mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
configure: fix use of AC_LANG_PROGRAM
No need to include the int main () { } bits, the body is enough.
This commit is contained in:
parent
b13f63c224
commit
e23264d570
1 changed files with 1 additions and 5 deletions
|
@ -421,13 +421,9 @@ AG_GST_CHECK_FEATURE(DIRECTSOUND, [DirectSound plug-in], directsoundsink, [
|
||||||
#include <dxerr9.h>
|
#include <dxerr9.h>
|
||||||
#include <dsound.h>
|
#include <dsound.h>
|
||||||
]], [[
|
]], [[
|
||||||
int main ()
|
|
||||||
{
|
|
||||||
DXGetErrorString9 (0);
|
DXGetErrorString9 (0);
|
||||||
DirectSoundCreate(NULL, NULL, NULL);
|
DirectSoundCreate(NULL, NULL, NULL);
|
||||||
|
]])
|
||||||
return 0;
|
|
||||||
}]])
|
|
||||||
],
|
],
|
||||||
[HAVE_DIRECTSOUND="yes"],
|
[HAVE_DIRECTSOUND="yes"],
|
||||||
[HAVE_DIRECTSOUND="no"])
|
[HAVE_DIRECTSOUND="no"])
|
||||||
|
|
Loading…
Reference in a new issue