From: Tim-Philipp Müller Date: Fri, 9 Mar 2012 15:25:02 +0000 (+0000) Subject: configure: fix autogen.sh warnings X-Git-Tag: 1.19.3~509^2~7136^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b13f63c2240476cef93fed6540fc4ae47c79adcb;p=platform%2Fupstream%2Fgstreamer.git configure: fix autogen.sh warnings configure.ac:410: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body --- diff --git a/configure.ac b/configure.ac index 77a8bc4..c1c370e 100644 --- a/configure.ac +++ b/configure.ac @@ -416,18 +416,18 @@ AG_GST_CHECK_FEATURE(DIRECTSOUND, [DirectSound plug-in], directsoundsink, [ LDFLAGS="$LDFLAGS $DIRECTSOUND_LDFLAGS" LIBS="$LIBS -ldsound -ldxerr9 -luser32" AC_MSG_CHECKING(for DirectSound LDFLAGS) - AC_LINK_IFELSE([ + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include #include #include - +]], [[ int main () { DXGetErrorString9 (0); DirectSoundCreate(NULL, NULL, NULL); return 0; -} +}]]) ], [HAVE_DIRECTSOUND="yes"], [HAVE_DIRECTSOUND="no"])