]> Pileus Git - ~andy/gtk/blob - acinclude.m4
Remove unneeded bits of AM_GTK_GNU_TEXT macros.
[~andy/gtk] / acinclude.m4
1 # autoconf 2.13 / 2.50 compatibility macro
2
3 # GLIB_AC_DIVERT_BEFORE_HELP(STUFF)
4 # ---------------------------------
5 # Put STUFF early enough so that they are available for $ac_help expansion.
6 # Handle both classic (<= v2.13) and modern autoconf
7 AC_DEFUN([GLIB_AC_DIVERT_BEFORE_HELP],
8 [ifdef([m4_divert_text], [m4_divert_text([NOTICE],[$1])],
9        [ifdef([AC_DIVERT], [AC_DIVERT([NOTICE],[$1])],
10               [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
11 $1
12 AC_DIVERT_POP()])])])