diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index 1a6e96a..9465070 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 |