configure.ac: Make DISABLE_DEPRECATED defined *only* during CVS, not during pre-relea...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 8 Feb 2008 00:57:21 +0000 (00:57 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 8 Feb 2008 00:57:21 +0000 (00:57 +0000)
Original commit message from CVS:
* configure.ac:
Make DISABLE_DEPRECATED defined *only* during CVS, not during
pre-releases or releases.

ChangeLog
configure.ac

index 2d159428bbe6260061d1817b40fe600d1f5cb421..8f695e042332990695651045e914ac9cfc2b9b6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
+
+       * configure.ac:
+       Make DISABLE_DEPRECATED defined *only* during CVS, not during
+       pre-releases or releases.
+
 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
 
        * configure.ac:
index 79dc5c5e2c3b20a3dfb661d8824de738a599e043..c12068d05e38b71213ef3516ac633fb9f0d7c24e 100644 (file)
@@ -604,7 +604,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=""