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 2d15942..8f695e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
 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:
        * ext/gio/Makefile.am:
        Subst GIO_LDFLAGS to avoid undefined Makefile var error Zaheer is
        reporting
index 79dc5c5..c12068d 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=""