Commit e23264d5 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

configure: fix use of AC_LANG_PROGRAM

No need to include the int main () { } bits, the body is enough.
parent b13f63c2
......@@ -421,13 +421,9 @@ AG_GST_CHECK_FEATURE(DIRECTSOUND, [DirectSound plug-in], directsoundsink, [
#include <dxerr9.h>
#include <dsound.h>
]], [[
int main ()
{
DXGetErrorString9 (0);
DirectSoundCreate(NULL, NULL, NULL);
return 0;
}]])
]])
],
[HAVE_DIRECTSOUND="yes"],
[HAVE_DIRECTSOUND="no"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment