[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quick divert() 2.13/2.6x portability macro
From: |
Rasmus Lerdorf |
Subject: |
Re: Quick divert() 2.13/2.6x portability macro |
Date: |
Sat, 28 Nov 2009 09:47:39 -0800 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Eric Blake wrote:
> It appears that you are asking for a way to make all --help output appear
> in the same order in which you generate it, and to be able to intersperse
> text strings of your choosing in between strings generated by AC_ARG_WITH
> and AC_ARG_ENABLE.
>
> First, it looks like you need to use AC_PRESERVE_HELP_ORDER (added in
> 2.59c, so it will work for 2.65 but won't help you for 2.59 proper, but if
> that's the least of your worries, I can still help you with backporting it
> to 2.59 if you aren't willing to jump all the way to modern autoconf).
Aha. If I get rid of all the divert() calls and add:
AC_PREREQ(2.60)
AC_PRESERVE_HELP_ORDER
Things are looking sane. That doesn't work in 2.13, of course, but I
guess it would be a lot simpler to just leave that for older versions
and force people to upgrade for newer ones.
-Rasmus
- Quick divert() 2.13/2.6x portability macro, Rasmus Lerdorf, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Eric Blake, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Rasmus Lerdorf, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Eric Blake, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Rasmus Lerdorf, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Eric Blake, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro,
Rasmus Lerdorf <=
- Re: Quick divert() 2.13/2.6x portability macro, Rasmus Lerdorf, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Eric Blake, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Rasmus Lerdorf, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Eric Blake, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Eric Blake, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Thomas Dickey, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Eric Blake, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Thomas Dickey, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Eric Blake, 2009/11/28
- Re: Quick divert() 2.13/2.6x portability macro, Thomas Dickey, 2009/11/28