diff options
-rw-r--r-- | macros2/ChangeLog | 9 | ||||
-rw-r--r-- | macros2/gnome-common.m4 | 9 |
2 files changed, 13 insertions, 5 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog index cd3882d..111c159 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -1,7 +1,12 @@ 2003-10-31 <clahey@ximian.com> - * gnome-common.m4: New macro to disable deprecated functions when - maintainer mode is on. + * gnome-common.m4: Changed name of new macro to + AM_MAINTAINER_MODE_DEFINES and added definition for ENABLE_WERROR. + +2003-10-31 <clahey@ximian.com> + + * gnome-common.m4: New macro to disable deprecated functions and + widgets when maintainer mode is on. 2003-08-10 Malcolm Tredinnick <malcolm@commsecure.com.au> diff --git a/macros2/gnome-common.m4 b/macros2/gnome-common.m4 index 3a94d70..9629cbb 100644 --- a/macros2/gnome-common.m4 +++ b/macros2/gnome-common.m4 @@ -29,15 +29,18 @@ AC_DEFUN([GNOME_DEBUG_CHECK], fi ]) -dnl AM_DISABLE_DEPRECATED () -dnl define DISABLE_DEPRECATED +dnl AM_MAINTAINER_MODE_DEFINES () +dnl define DISABLE_DEPRECATED and ENABLE_WERROR dnl -AC_DEFUN([AM_DISABLE_DEPRECATED], +AC_DEFUN([AM_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) ]) |