[file-roller] show deprecated declarations warnings only when using --enable-debug
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] show deprecated declarations warnings only when using --enable-debug
- Date: Wed, 17 Aug 2016 13:53:47 +0000 (UTC)
commit 1b1abf078d0618fba95a366a6a58fd18a0e9bf0d
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Aug 17 15:48:02 2016 +0200
show deprecated declarations warnings only when using --enable-debug
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cd85460..b4c0dbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
-AC_INIT([file-roller],[3.20.2],[http://bugzilla.gnome.org/enter_bug.cgi?product=file-roller],[file-roller])
+AC_INIT([file-roller],[3.21.90],[http://bugzilla.gnome.org/enter_bug.cgi?product=file-roller],[file-roller])
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz tar-ustar])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -47,6 +47,8 @@ AC_ARG_ENABLE(debug,
if test x$ENABLE_DEBUG = xyes; then
AC_DEFINE(DEBUG, 1, [enable compilation of debugging messages])
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
+else
+ CFLAGS="$CFLAGS -Wno-deprecated-declarations"
fi
dnl ===========================================================================
@@ -268,8 +270,6 @@ AC_ARG_ENABLE(deprecated,
[disable_deprecated=no])
if test "x$disable_deprecated" = "xyes"; then
DISABLE_DEPRECATED="-DGSEAL_ENABLE -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
-else
- CFLAGS="$CFLAGS -Wno-deprecated-declarations"
fi
AC_SUBST(DISABLE_DEPRECATED)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]