projects
/
platform
/
upstream
/
gst-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb15f1a
)
m4: fix AC_LANG_SOURCE warnings in AG_GST_CHECK_GST_DEBUG_DISABLED
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 9 Mar 2012 16:52:37 +0000
(16:52 +0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 9 Mar 2012 16:52:37 +0000
(16:52 +0000)
m4/gst-feature.m4
patch
|
blob
|
history
diff --git
a/m4/gst-feature.m4
b/m4/gst-feature.m4
index
c072c79
..
cff7f30
100644
(file)
--- a/
m4/gst-feature.m4
+++ b/
m4/gst-feature.m4
@@
-232,10
+232,11
@@
AC_DEFUN([AG_GST_CHECK_GST_DEBUG_DISABLED],
save_CFLAGS="$CFLAGS"
CFLAGS="$GST_CFLAGS $CFLAGS"
AC_COMPILE_IFELSE([
+ AC_LANG_SOURCE([[
#include <gst/gstconfig.h>
#ifdef GST_DISABLE_GST_DEBUG
#error "debugging disabled, make compiler fail"
- #endif], [ debug_system_enabled=yes], [debug_system_enabled=no])
+ #endif]
])]
, [ debug_system_enabled=yes], [debug_system_enabled=no])
CFLAGS="$save_CFLAGS"
AC_LANG_POP([C])