From e23264d57045ddbc90862391fc91e37bf15d9684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 9 Mar 2012 15:53:32 +0000 Subject: [PATCH] configure: fix use of AC_LANG_PROGRAM No need to include the int main () { } bits, the body is enough. --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index c1c370ee1d..50b7794419 100644 --- a/configure.ac +++ b/configure.ac @@ -421,13 +421,9 @@ AG_GST_CHECK_FEATURE(DIRECTSOUND, [DirectSound plug-in], directsoundsink, [ #include #include ]], [[ -int main () -{ DXGetErrorString9 (0); DirectSoundCreate(NULL, NULL, NULL); - - return 0; -}]]) +]]) ], [HAVE_DIRECTSOUND="yes"], [HAVE_DIRECTSOUND="no"])