configure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
authorSebastian Dröge <slomo@circular-chaos.org>
Sun, 9 Dec 2007 04:28:03 +0000 (04:28 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Sun, 9 Dec 2007 04:28:03 +0000 (04:28 +0000)
Original commit message from CVS:
* configure.ac:
Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

ChangeLog
configure.ac

index d487edeeb3523e55d2a8b9eb6b24082f250488ef..a3d5f6853537644d89e88aef419ab65e506a9e0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * configure.ac:
+         Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
+
 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
 
        * gst/gststructure.c: (gst_structure_validate_name),
index ba46a17c4f8a980db62df15fa358e6c450965065..97afd7e08f4b9831563b7e24260161c6e7b52cc3 100644 (file)
@@ -541,7 +541,11 @@ AC_SUBST(PROFILE_CFLAGS)
 # GST_DISABLE_DEPRECATED: hide the visibility of deprecated
 # functionality from the API that gstreamer uses
 # GST_REMOVE_DEPRECATED: don't compile deprecated functionality (breaks ABI)
-DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
+if test "x$GST_CVS" = "xyes"; then
+  DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
+else
+  DEPRECATED_CFLAGS=""
+fi
 AC_SUBST(DEPRECATED_CFLAGS)
 
 dnl every flag in GST_OPTION_CFLAGS can be overridden at make time via e.g.