projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13f63c
)
configure: fix use of AC_LANG_PROGRAM
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 9 Mar 2012 15:53:32 +0000
(15:53 +0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 9 Mar 2012 15:53:32 +0000
(15:53 +0000)
No need to include the int main () { } bits, the body is enough.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
c1c370e
..
50b7794
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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"])