From 2974da07660ac384353708270973b8039bb8a7de Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 8 Feb 2008 01:07:02 +0000 Subject: [PATCH] configure.ac: Only build with DISABLE_DEPRECATED during the CVS cycle. Pre-releases are treated like releases and bui... 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 | 6 ++++++ configure.ac | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bb396132b6..890ebb2f38 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-07 Jan Schmidt + + * 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 * docs/plugins/Makefile.am: diff --git a/configure.ac b/configure.ac index c0b798e93b..3efd8aee45 100644 --- a/configure.ac +++ b/configure.ac @@ -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=""