[evolution-ews] Make sure deprecated EDS symbols will not be used



commit cf013103254239d368437e498dc55d6e68589eaf
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 17 10:35:17 2014 +0200

    Make sure deprecated EDS symbols will not be used
    
    Define EDS_DISABLE_DEPRECATED in the maintainer mode, to make sure
    that deprecated EDS symbols will not be used.

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 817c00d..6013713 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,6 +117,7 @@ proposed_warning_flags=
 
 if test "x$enable_maintainer_mode" = "xyes" ; then
        proposed_warning_flags="-Wall -Wextra -Wdeprecated-declarations"
+       CFLAGS="$CFLAGS -DEDS_DISABLE_DEPRECATED"
 else
        proposed_warning_flags="-Wno-deprecated-declarations"
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]