[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?
From: |
Derek R. Price |
Subject: |
Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4? |
Date: |
Wed, 31 Jan 2001 10:17:22 -0500 |
Akim Demaille wrote:
> | "Derek R. Price" wrote:
> | > Alexandre Oliva wrote:
> | >
> | > > On Jan 30, 2001, "Derek R. Price" <address@hidden> wrote:
> | > >
> | > > >> AS_ESCAPE(m4_quote(AS_MKDIR_P(["sdir"])), [\$`])
> | > >
> | > > The simple rule is that every macro argument should be enclosed in
> | > > quotes.
> | >
> | > So the above _should_ work and there's a bug in AS_ESCAPE?
> |
> | Wait a second. The bug's in m4_quote, except it's not a bug - that's how
> it's
> | designed. I'll get back to you. Unless someone can tell me off the top of
> their
> | head the correct syntax for the above?
>
> Could you first tell what you mean to do?
Yeah, sorry. I'm trying to use AS_MKDIR_P in an unescaped heredoc context. The
reason I don't seem to be able to avoid _that_ is that I want it to happen as
part of
a step before a header gets created so I'm passing it into AC_CONFIG_HEADER as
an
INIT-CMD.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden OpenAvenue ( http://OpenAvenue.com )
--
If virtuous, [the government] need not fear the fair operation of attack and
defense. Nature has given to man no other means of sifting the truth, either in
religion, law, or politics.
- Thomas Jefferson to George Washington, 1792
- Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?, Derek R. Price, 2001/01/30
- Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?, Alexandre Oliva, 2001/01/30
- Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?, Derek R. Price, 2001/01/31
- Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?, Derek R. Price, 2001/01/31
- Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?, Akim Demaille, 2001/01/31
- Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?,
Derek R. Price <=
- Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?, Akim Demaille, 2001/01/31