[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Howto: run the C preprocessor and capture its output
From: |
Zack Weinberg |
Subject: |
Re: Howto: run the C preprocessor and capture its output |
Date: |
Fri, 19 Oct 2007 07:45:57 -0700 |
On 10/19/07, Eric Blake <address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to Zack Weinberg on 10/18/2007 5:11 PM:
> > As far as I can tell, Autoconf provides no documented macro that
> > allows me to run the preprocessor and capture (selected portions of)
> > its output in shell variables.
>
> AC_EGREP_CPP.
Really? As far as I can tell, that just lets me make a binary
decision based on the presence or absence of some pattern; the text
matching the pattern still gets bitbucketed.
zw