projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7afc2
)
build: Disable deprecation warnings with --enable-deprecated
author
Emmanuele Bassi
<ebassi@gnome.org>
Tue, 11 Oct 2011 22:06:06 +0000
(23:06 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Tue, 11 Oct 2011 22:06:51 +0000
(23:06 +0100)
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.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
a0bce59
..
4606dd7
100644
(file)
--- 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])]