From: Emmanuele Bassi Date: Tue, 11 Oct 2011 22:06:06 +0000 (+0100) Subject: build: Disable deprecation warnings with --enable-deprecated X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef0e52f0e184f42eaf66116b371eb2013f39328c;p=profile%2Fivi%2Fclutter.git 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. --- diff --git a/configure.ac b/configure.ac index a0bce59..4606dd7 100644 --- a/configure.ac +++ b/configure.ac @@ -741,7 +741,7 @@ AS_CASE([$enable_deprecated], [yes], [ - CLUTTER_DEPRECATED_CFLAGS="" + CLUTTER_DEPRECATED_CFLAGS="-DGLIB_DISABLE_DEPRECATION_WARNINGS -DCLUTTER_DISABLE_DEPRECATION_WARNINGS" ], [AC_MSG_ERROR([Unknown argument for --enable-deprecated])]