diff options
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 c3ab3f0824..b7d7fd53ab 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. # |