diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-08-27 15:17:51 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-08-27 15:17:51 +0000 |
commit | 807c619d8247be0dfdaadcaaf7a5fd5ea798b057 (patch) | |
tree | b0b2aa979cd8204779fbfe1878ac73d3c7c2739a /acinclude.m4 | |
parent | b5857e558b3c2dd9c930d1c9257fe89edd328cf8 (diff) | |
download | gdk-pixbuf-807c619d8247be0dfdaadcaaf7a5fd5ea798b057.tar.gz |
Use autoconf 2.13/2.50 compat macro.
Sun Aug 26 20:00:00 2001 Owen Taylor <otaylor@redhat.com>
* configure.in acinclude.m4: Use autoconf 2.13/2.50 compat
macro.
(patch from ERDI Gergo <cactus@cactus.rulez.org>, #58920)
* gtk/gtkmenuitem.c (gtk_menu_item_set_right_justified): Change
interface to be a standard setter from gtk_menu_item_right_justify.
(gtk_menu_item_get_right_justified): a getter to go with the setter
* gtk/gtkmenuitem.h: Add a deprecated compat macro for
gtk_menu_item_right_justify.
* demos/gtk-demo/menus.c tests/testgtk.c: Switch to
gtk_menu_item_set_right_justified.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index c3ab3f082..b7d7fd53a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,3 +1,17 @@ +# autoconf 2.13 / 2.50 compatibility macro + +# GLIB_AC_DIVERT_BEFORE_HELP(STUFF) +# --------------------------------- +# Put STUFF early enough so that they are available for $ac_help expansion. +# Handle both classic (<= v2.13) and modern autoconf +AC_DEFUN([GLIB_AC_DIVERT_BEFORE_HELP], +[ifdef([m4_divert_text], [m4_divert_text([NOTICE],[$1])], + [ifdef([AC_DIVERT], [AC_DIVERT([NOTICE],[$1])], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl +$1 +AC_DIVERT_POP()])])]) + + # Macro to add for using GNU gettext. # Ulrich Drepper <drepper@cygnus.com>, 1995. # |