summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-17 03:12:51 -0800
committerStefano Karapetsas <[email protected]>2014-01-17 03:12:51 -0800
commit56797089821fe5b6e2e95dc13dbc8d177d5d54ff (patch)
tree3f0e4d8101e00cc1015c20bc28980f7a538b4076
parentb1e1680066ebff05bdbd8d6625aca5d5b6dd4db2 (diff)
parentb5d8ad0962a9b928126d04697cdaf1e420ba1c50 (diff)
downloadmate-power-manager-56797089821fe5b6e2e95dc13dbc8d177d5d54ff.tar.bz2
mate-power-manager-56797089821fe5b6e2e95dc13dbc8d177d5d54ff.tar.xz
Merge pull request #91 from infirit/1.61.6
Reverse configure logic for --enable-deprecated
-rw-r--r--configure.ac13
1 files changed, 2 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index ff53e24..3c4ee55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,17 +49,8 @@ AC_ARG_ENABLE(deprecated,
[Warn about deprecated usages [default=no]])],,
[enable_deprecated=no])
-if test "x$enable_deprecated" = "xno"; then
- DISABLE_DEPRECATED=" \
- -DG_DISABLE_SINGLE_INCLUDES \
- -DGTK_DISABLE_SINGLE_INCLUDES \
- -DG_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED \
- -DGDK_MULTIHEAD_SAFE \
- -DGTK_MULTIHEAD_SAFE \
- -DGSEAL_ENABLE"
-
+if test "x$enable_deprecated" = "xyes"; then
+ DISABLE_DEPRECATED=""
CPPFLAGS="$CPPFLAGS $DISABLE_DEPRECATED"
fi