autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_PROG_SED


From: Tim Van Holder
Subject: Re: AC_PROG_SED
Date: Wed, 9 Jan 2002 22:00:30 +0100

> Here is the latest incarnation of AC_PROG_SED, sanitized
> for Autoconf.

Looks good ;-)

>     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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]