[evolution-data-server/gnome-3-10] Remove --enable-strict configure option.



commit 5f3031c62bfaed9aaa882064348f8d4d9bb91c5d
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Dec 4 09:52:00 2013 -0500

    Remove --enable-strict configure option.
    
    GLib/GTK+ uses different deprecation macros nowadays.
    
    The MIN_REQUIRED macros do a better job of catching deprecated symbol
    usage up to the minimum build requirement, and the MAX_ALLOWED macros
    catch symbol usage that violates our minimum build requirement.
    
    These newer deprecation macros are always enabled, so we don't need a
    special configure flag for them.
    
    (cherry picked from commit c6e8e6aaac1181a9a7c932365ebe3b18c67467fa)

 configure.ac |   24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4072f6c..f50b994 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,31 +235,8 @@ dnl Permits linking of C++ based libraries using the C linker if needed.
 AC_SUBST([predeps_CXX])
 AC_SUBST([postdeps_CXX])
 
-dnl *******************************
-dnl Check for --enable-strict
-dnl *******************************
-AC_ARG_ENABLE([strict],
-       [AS_HELP_STRING([--enable-strict],
-       [enable strict building, like without deprecated symbols (default=auto); auto enables strict building 
only if .git subdirectory exists])],
-       [enable_strict=$enableval], [enable_strict=auto])
-
-AC_MSG_CHECKING([if strict building is enabled])
-if test "x$enable_strict" = xauto; then
-       dnl Be strict when compiling with .git subdirectory
-       if test -d .git ; then
-               enable_strict=yes
-       else
-               enable_strict=no
-       fi
-fi
-AC_MSG_RESULT([$enable_strict])
-
 AM_CPPFLAGS=
 
-if test "x$enable_strict" = xyes; then
-       AM_CPPFLAGS="$AM_CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
-fi
-
 dnl Warn about API usage that violates our minimum requirements.
 AM_CPPFLAGS="$AM_CPPFLAGS -DGLIB_VERSION_MAX_ALLOWED=glib_encoded_version"
 AM_CPPFLAGS="$AM_CPPFLAGS -DGDK_VERSION_MAX_ALLOWED=gdk_encoded_version"
@@ -1797,5 +1774,4 @@ echo "
        Google Contacts         $enable_google
        GTK+:                   $enable_gtk
        Code coverage (gcov):   $enable_code_coverage
-       Strict building:        $enable_strict
 "


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