summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-03-12 13:11:26 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-03-12 13:11:26 +0000
commitfd5d74734ea30c02fba2ae0129f03cbc96dc04c0 (patch)
tree86e570d9726a6868b5519633e6a70cafe62131c5
parent72bcd7b3e204f993fe263acc5395a8928b8936cd (diff)
parent4b51fb8ae1a8e2019010305cc96c8397dc68000d (diff)
Merge remote-tracking branch 'origin/master' into 0.110.11
-rw-r--r--m4/gst-feature.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/gst-feature.m4 b/m4/gst-feature.m4
index cf05a98..6da0940 100644
--- a/m4/gst-feature.m4
+++ b/m4/gst-feature.m4
@@ -238,10 +238,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])