summaryrefslogtreecommitdiff
path: root/macros2
diff options
context:
space:
mode:
author3 <clahey@ximian.com>2003-11-03 16:21:12 +0000
committerChris Lahey <clahey@src.gnome.org>2003-11-03 16:21:12 +0000
commit608ebbf942fd50e336feb42f8e8cd52ff856c838 (patch)
treee561a6fa18bd1788d9e175903d2dd0f9a2105d2c /macros2
parent1b1b8ba991fd50239855f741326126c8957fc271 (diff)
downloadshared-mime-info-608ebbf942fd50e336feb42f8e8cd52ff856c838.tar.gz
Removed ENABLE_WERROR and changed name to GNOME_MAINTAINER_MODE_DEFINES.
2003-11-03 <clahey@ximian.com> * gnome-common.m4: Removed ENABLE_WERROR and changed name to GNOME_MAINTAINER_MODE_DEFINES. svn path=/trunk/; revision=3069
Diffstat (limited to 'macros2')
-rw-r--r--macros2/ChangeLog5
-rw-r--r--macros2/gnome-common.m49
2 files changed, 8 insertions, 6 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog
index fa54f3af..0a507396 100644
--- a/macros2/ChangeLog
+++ b/macros2/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-03 <clahey@ximian.com>
+
+ * gnome-common.m4: Removed ENABLE_WERROR and changed name to
+ GNOME_MAINTAINER_MODE_DEFINES.
+
2003-11-01 Malcolm Tredinnick <malcolm@commsecure.com.au>
* autogen.sh: Make version checking work, as pointed out by
diff --git a/macros2/gnome-common.m4 b/macros2/gnome-common.m4
index 9629cbb7..3c5d43bd 100644
--- a/macros2/gnome-common.m4
+++ b/macros2/gnome-common.m4
@@ -29,18 +29,15 @@ AC_DEFUN([GNOME_DEBUG_CHECK],
fi
])
-dnl AM_MAINTAINER_MODE_DEFINES ()
-dnl define DISABLE_DEPRECATED and ENABLE_WERROR
+dnl GNOME_MAINTAINER_MODE_DEFINES ()
+dnl define DISABLE_DEPRECATED
dnl
-AC_DEFUN([AM_MAINTAINER_MODE_DEFINES],
+AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
[
if test $USE_MAINTAINER_MODE = yes; then
DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED"
- ENABLE_WERROR="-Werror"
else
DISABLE_DEPRECATED=""
- ENABLE_WERROR=""
fi
AC_SUBST(DISABLE_DEPRECATED)
- AC_SUBST(ENABLE_WERROR)
])