summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-02-08 01:07:02 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-02-08 01:07:02 +0000
commit2974da07660ac384353708270973b8039bb8a7de (patch)
treecc4180a60f0c9b6d0681c0e76d187ccad704c781 /configure.ac
parent6fe3c141d711f0796a893369b3d715b7ef11c00b (diff)
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c0b798e9..3efd8aee 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=""