Re: AC_DIVERT_PUSH and autoconf2.52
- From: Owen Taylor <otaylor redhat com>
- To: dank kegel com
- Cc: autoconf gnu org, "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: Re: AC_DIVERT_PUSH and autoconf2.52
- Date: Sat, 2 Mar 2002 16:37:45 -0500 (EST)
Dan Kegel <dank kegel com> writes:
> I need to cross-compile glib, and that's easier to
> do with autoconf2.52 than with the old autoconf2.13.
>
> However, glib's configure.in,
> http://cvs.gnome.org/lxr/source/glib/configure.in#18
> uses the macro AC_DIVERT_PUSH which is not a documented
> part of autoconf, and which no longer works the same way
> in autoconf2.52 (autoconf2.52 fails, complaining of a
> non-numeric argument to divert).
>
> http://sources.redhat.com/ml/autoconf/2001-08/msg00021.html
> mentioned this issue, and said 'we'll have to find some
> other way to handle this'.
>
> Any suggestions for how to fix the use of AC_DIVERT_PUSH?
>
> Or any chance it could become a published macro with
> interface identical to that of the internal 2.13 one?
I assume you are trying to compile glib-1.2.x since glib-1.3.x
(very soon to be glib-2.0) _only_ configures with autoconf-2.52
or newer.
Yuu might want to grab the sources for glib-1.3.15 and see
how we handle it there. (There is still 2.13/2.52 compat code in
there since we only recently switched to requiring 2.5x ...
acglib.m4 GLIB_AC_DIVERT_BEFORE_HELP())
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]