configure.ac: Make DISABLE_DEPRECATED defined *only* during CVS, not during pre-releases or releases.

Original commit message from CVS:
* configure.ac:
Make DISABLE_DEPRECATED defined *only* during CVS, not during
pre-releases or releases.
This commit is contained in:
Jan Schmidt 2008-02-08 00:57:21 +00:00
parent fa45482d93
commit 9dff2ee0e6
2 changed files with 8 additions and 1 deletions

View file

@ -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> 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
* configure.ac: * configure.ac:

View file

@ -604,7 +604,8 @@ if test "x$USE_DEBUG" = xyes; then
fi fi
AC_SUBST(PROFILE_CFLAGS) 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" DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
else else
DEPRECATED_CFLAGS="" DEPRECATED_CFLAGS=""