[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PROG_SED
From: |
Albert Chin-A-Young |
Subject: |
Re: AC_PROG_SED |
Date: |
Wed, 9 Jan 2002 15:48:44 -0600 |
User-agent: |
Mutt/1.2.5i |
On Wed, Jan 09, 2002 at 10:00:30PM +0100, Tim Van Holder wrote:
> > Now I'd like to add it's use to Libtool ASAP,
> > but there is the problem of AC_PROG_SED not being
> > available until this code is released, or requiring
> > a CVS version of autoconf (which I'd prefer to not do).
> > I was thinking that I would tack on LT_ to the macro name
> > (after expanding post-2.50 Autoconf macros in it), add it to Libtool,
> > and then when AC_PROG_SED is available in a released version
> > of Autoconf, remove my private copy. Does that sound sane?
>
> I suppose so, yes.
>
> Is there a way in autoconf 2.50 to say something like
>
> AC_DEFUN([LT_FOO],
> ifdef([AC_FOO], AC_FOO,
> [# else: my own version
> ...
> ])
> )
>
> ?
> That way, the LT_ version would simply DTRT with any version of
> autoconf.
I wouldn't worry about it. I'd use LT_PROG_SED until some future date
when it would be abandoned. No harm in keeping it local.
--
albert chin (address@hidden)