[gnumeric] Configuration: cleanup.



commit c67c4a5e18140e535e29be3d249347c7ea230bf3
Author: Morten Welinder <terra gnome org>
Date:   Thu Feb 28 10:53:07 2013 -0500

    Configuration: cleanup.

 ChangeLog    |    6 ++++++
 configure.ac |   18 ++----------------
 2 files changed, 8 insertions(+), 16 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 983813a..2f7f524 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-02-28  Morten Welinder  <terra gnome org>
+
+       * configure.ac: remove the DISABLE_DEPRECATED defines even from
+       development versions.  We now get the information through gcc
+       warnings.
+
 2013-02-26  Morten Welinder  <terra gnome org>
 
        * src/ssconvert.c (convert): Avoid segfault.  Fixes #694741.
diff --git a/configure.ac b/configure.ac
index 81215ac..8b7c29c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,20 +235,6 @@ else
 fi
 AC_SUBST(GNUMERIC_PLUGIN_LDFLAGS)
 
-dnl disable for in stable release, enable for development series
-if test $gnumeric_devel = yes; then
-    CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED"
-    CFLAGS="$CFLAGS -DPANGO_DISABLE_DEPRECATED"
-    if test "x$gnumeric_with_gtk" = xtrue; then
-           CFLAGS="$CFLAGS -DGDK_PIXBUF_DISABLE_DEPRECATED"
-           CFLAGS="$CFLAGS -DGDK_DISABLE_DEPRECATED"
-           CFLAGS="$CFLAGS -DGDK_MULTIHEAD_SAFE"
-           CFLAGS="$CFLAGS -DGTK_DISABLE_DEPRECATED"
-           # CFLAGS="$CFLAGS -DGSEAL_ENABLE"
-    fi
-fi
-
-
 dnl ****************************
 dnl prep the pixmap generator
 dnl ****************************
@@ -266,8 +252,8 @@ ifdef([GNOME_COMPILE_WARNINGS],
 )
 set_more_warnings=yes
 if test "$GCC" = yes -a "x$set_more_warnings" != xno; then
-       dnl Clang needs to option, or else it will appear to support any
-       dnl warning option
+       dnl Clang needs this option, or else it will appear to support any
+       dnl warning option, only to spew warnings about them later.
        uwoption="-Werror=unknown-warning-option"
        SAVE_CFLAGS="$CFLAGS"
        CFLAGS="$CFLAGS $uwoption"


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