~ubuntu-branches/ubuntu/raring/gst-plugins-good0.10/raring-proposed

« back to all changes in this revision

Viewing changes to common/m4/gst-feature.m4

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2012-02-09 16:44:53 UTC
  • mfrom: (40.2.38 experimental)
  • Revision ID: package-import@ubuntu.com-20120209164453-6hjokwrvdn42zopb
Tags: 0.10.30.3-1ubuntu1
* Merge from Debian experimental, remaining changes:
  - 04_move_farsight_plugins_to_good.patch
    Import autoconvert, dtmf, liveadder, rptmux from -plugins-bad
  - 05_move_shm_to_good.patch
    Import shm from -plugins-bad.
  - 07_move-camerabin.patch
    Import camerabin, camerabin2, jpegformat and basecamerabinsrc
    from -plugins-bad.
  - control*:
    * Drop dependency from gstreamer0.10-plugins-good on
      gstreamer0.10-gconf. It pulls gconf and gtk3 onto the Kubuntu cd.
    * Use Breaks instead of Conflicts.
    * Add a 'Pre-Depends: ${misc:Pre-Depends}' to the plugin package,
      since we're shipping shared libraries in the package that Debian
      isn't.
* Update the patches by pulling new version of the code from
  -plugins-bad 0.10.22.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
  AG_GST_PARSE_SUBSYSTEM_DISABLE($1,XML)
219
219
])
220
220
 
221
 
 
 
221
dnl AG_GST_CHECK_GST_DEBUG_DISABLED(ACTION-IF-DISABLED, ACTION-IF-NOT-DISABLED)
 
222
dnl
 
223
dnl Checks if the GStreamer debugging system is disabled in the core version
 
224
dnl we are compiling against (by checking gstconfig.h)
 
225
dnl
 
226
AC_DEFUN([AG_GST_CHECK_GST_DEBUG_DISABLED],
 
227
[
 
228
  AC_REQUIRE([AG_GST_CHECK_GST])
 
229
 
 
230
  AC_MSG_CHECKING([whether the GStreamer debugging system is enabled])
 
231
  AC_LANG_PUSH([C])
 
232
  save_CFLAGS="$CFLAGS"
 
233
  CFLAGS="$GST_CFLAGS $CFLAGS"
 
234
  AC_COMPILE_IFELSE([
 
235
      #include <gst/gstconfig.h>
 
236
      #ifdef GST_DISABLE_GST_DEBUG
 
237
      #error "debugging disabled, make compiler fail"
 
238
      #endif], [ debug_system_enabled=yes], [debug_system_enabled=no])
 
239
  CFLAGS="$save_CFLAGS"
 
240
  AC_LANG_POP([C])
 
241
 
 
242
  AC_MSG_RESULT([$debug_system_enabled])
 
243
 
 
244
  if test "x$debug_system_enabled" = "xyes" ; then
 
245
    $2
 
246
    true
 
247
  else
 
248
    $1
 
249
    true
 
250
  fi
 
251
])
222
252
 
223
253
dnl relies on GST_PLUGINS_ALL, GST_PLUGINS_SELECTED, GST_PLUGINS_YES,
224
254
dnl GST_PLUGINS_NO, and BUILD_EXTERNAL