[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AM_CFLAGS
From: |
Akim Demaille |
Subject: |
Re: AM_CFLAGS |
Date: |
19 Feb 2001 11:19:52 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
Alexandre Oliva <address@hidden> writes:
> On Feb 13, 2001, Tom Tromey <address@hidden> wrote:
>
> > I don't want to remove anything from autoconf's blacklist. Doing that
> > means we have to update autoconf whenever we change automake.
>
> Nope. CVS Autoconf has a macro to remove strings from the blacklist.
>
> ifdef([m4_pattern_allow],[m4_pattern_allow([AM_CFLAGS])])
>
> will let you refer to AM_CFLAGS in configure.in without introducing
> any dependency on CVS autoconf.
Let me nitpick a bit:
ifdef([m4_pattern_allow],
[m4_pattern_allow([^AM_CFLAGS$])])dnl
(note the anchors too). I insist on the dnl: currently automake dump
a long series of empty lines coming from there. And BTW, instead of
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
# the ones we care about.
ifdef([m4_pattern_allow], [m4_pattern_allow([AM_CFLAGS])])
ifdef([m4_pattern_allow], [m4_pattern_allow([AM_CPPFLAGS])])
ifdef([m4_pattern_allow], [m4_pattern_allow([AM_CXXFLAGS])])
ifdef([m4_pattern_allow], [m4_pattern_allow([AM_OBJCFLAGS])])
ifdef([m4_pattern_allow], [m4_pattern_allow([AM_FFLAGS])])
ifdef([m4_pattern_allow], [m4_pattern_allow([AM_RFLAGS])])
ifdef([m4_pattern_allow], [m4_pattern_allow([AM_GCJFLAGS])])
you can
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
# the ones we care about.
ifdef([m4_pattern_allow],
[m4_pattern_allow([^AM_(C|CPP|CXX|OBJC|F|R|GCJ)FLAGS$])])dnl
- AM_CFLAGS, Tom Tromey, 2001/02/11
- Re: AM_CFLAGS, Alexandre Oliva, 2001/02/11
- Re: AM_CFLAGS, Tom Tromey, 2001/02/12
- Re: AM_CFLAGS, Alexandre Oliva, 2001/02/12
- Re: AM_CFLAGS, Tom Tromey, 2001/02/13
- Re: AM_CFLAGS, Alexandre Oliva, 2001/02/13
- Re: AM_CFLAGS, Tom Tromey, 2001/02/13
- Re: AM_CFLAGS,
Akim Demaille <=
- Re: AM_CFLAGS, Tom Tromey, 2001/02/20
- Message not available
- Message not available
- Re: AM_CFLAGS, Alexandre Oliva, 2001/02/12
- Re: AM_CFLAGS, Steve Robbins, 2001/02/12
- Re: AM_CFLAGS, Alexandre Oliva, 2001/02/13