autoconf-patches
[Top][All Lists]
Advanced

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

Re: Simplify sed processing of CONFIG_HEADERS


From: Paul Eggert
Subject: Re: Simplify sed processing of CONFIG_HEADERS
Date: Tue, 24 May 2005 09:30:45 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Stepan Kasal <address@hidden> writes:

> OK to commit now?

Yes, after fixing some comments.

> +# Transform confdefs.h into a sed scripts `conftest.defines', that

Replace "scripts" with "script".

> +# The first handles `#define' templates, and the second `#undef' templates.

Replace this with something that makes sense (I can't make out what it means).

> +# Command `t' is used to avoid that the second main sed command (meant for
>  # 0-ary CPP macros) applies to n-ary macro definitions.

Change to:

# The `t' command prevents the second main 's' command (meant for definitions
# of object-like macros) from applying to definitions of function-like macros.

> +# Break up conftest.defines because some old seds have a limit on number
> +# of cmds (HP-UX can take 100 cmds).  Subtract the
> +# Here, there are 2 cmd per line, and three cmds at the beginning.

I can't parse this.  There must be a line missing?  "2 cmd"?




reply via email to

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