build: Disable deprecation warnings with --enable-deprecated

Just like we turn everything on with --disable-deprecated, we have to
turn everything off with --enable-deprecated. This means disabling the
deprecation warnings from the compiler as well.
This commit is contained in:
Emmanuele Bassi 2011-10-11 23:06:06 +01:00
parent af7afc29a7
commit ef0e52f0e1

View File

@ -741,7 +741,7 @@ AS_CASE([$enable_deprecated],
[yes], [yes],
[ [
CLUTTER_DEPRECATED_CFLAGS="" CLUTTER_DEPRECATED_CFLAGS="-DGLIB_DISABLE_DEPRECATION_WARNINGS -DCLUTTER_DISABLE_DEPRECATION_WARNINGS"
], ],
[AC_MSG_ERROR([Unknown argument for --enable-deprecated])] [AC_MSG_ERROR([Unknown argument for --enable-deprecated])]