configure.ac: Only build with DISABLE_DEPRECATED during the CVS cycle. Pre-releases...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 8 Feb 2008 01:07:02 +0000 (01:07 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 8 Feb 2008 01:07:02 +0000 (01:07 +0000)
Original commit message from CVS:
* configure.ac:
Only build with DISABLE_DEPRECATED during the CVS cycle. Pre-releases
are treated like releases and build without it.

ChangeLog
configure.ac

index bb39613..890ebb2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-02-07  Jan Schmidt  <jan.schmidt@sun.com>
 
+       * configure.ac:
+       Only build with DISABLE_DEPRECATED during the CVS cycle. Pre-releases
+       are treated like releases and build without it.
+
+2008-02-07  Jan Schmidt  <jan.schmidt@sun.com>
+
        * docs/plugins/Makefile.am:
        * docs/plugins/gst-plugins-good-plugins-docs.sgml:
        * docs/plugins/gst-plugins-good-plugins-sections.txt:
index c0b798e..3efd8ae 100644 (file)
@@ -964,7 +964,8 @@ if test "x$USE_DEBUG" = xyes; then
 fi
 AC_SUBST(PROFILE_CFLAGS)
 
-if test "x$GST_CVS" = "xyes"; then
+if test "x$PACKAGE_VERSION_NANO" = "x1"; then
+  dnl Define _only_ during CVS (not pre-releases or releases)
   DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
 else
   DEPRECATED_CFLAGS=""