[cluttermm_tutorial] configure.ac: Use MM_ARG_ENABLE_WARNINGS instead of DK_ARG_ENABLE_WARNINGS.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm_tutorial] configure.ac: Use MM_ARG_ENABLE_WARNINGS instead of DK_ARG_ENABLE_WARNINGS.
- Date: Wed, 24 Feb 2016 13:58:41 +0000 (UTC)
commit 8d54ab0b384ceb0dd9146a9fb8ae62f80558f6c9
Author: Ian Martin <martin_id vodafone co nz>
Date: Wed Feb 24 14:57:24 2016 +0100
configure.ac: Use MM_ARG_ENABLE_WARNINGS instead of DK_ARG_ENABLE_WARNINGS.
See bug #761971
configure.ac | 6 ++-
m4/dk-warn.m4 | 114 ---------------------------------------------------------
2 files changed, 4 insertions(+), 116 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fc23049..5100010 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,16 +33,18 @@ PKG_CHECK_MODULES([TUTORIAL_MODULES], [cluttermm-1.0 >= 1.3.1 clutter-gtkmm-1.0
AC_LANG([C++])
+YELP_HELP_INIT
+
# Disabling -Wnon-virtual-dtor is nasty, but unfortunately required due to
# a bug in gconfmm that triggers this warning. Not disabling this warning
# would make --enable-warnings=fatal unusable.
-DK_ARG_ENABLE_WARNINGS([TUTORIAL_WXXFLAGS],
+MM_ARG_ENABLE_WARNINGS([TUTORIAL_WXXFLAGS],
[-Wall -w1 -Wno-non-virtual-dtor],
[-pedantic -Wall -Wextra -w1 -Wno-non-virtual-dtor -Wno-long-long],
[GLIBMM GTKMM])
-
YELP_HELP_INIT
+
AC_CONFIG_FILES([Makefile
docs/tutorial/Makefile])
AC_OUTPUT()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]