bug-automake
[Top][All Lists]
Advanced

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

Re: make distcheck drops precious vars


From: Ralf Corsepius
Subject: Re: make distcheck drops precious vars
Date: 12 Feb 2003 12:38:19 +0100

Am Mit, 2003-02-12 um 11.43 schrieb Alexandre Duret-Lutz:
> >>> "Ralf" == Ralf Corsepius <address@hidden> writes:
> 
> [...]

[lots of interesting aspects snipped - I may return sometime to them
some time later - Lack of time, sorry. ]

> It just occured to me you could propagate all ./configure
> arguments to distcheck using something similar to:
Yes, this sounds interesting and really could be an option.

> AC_SUBST([DISTCHECK_CONFIGURE_FLAGS], [$ac_configure_args])
> 
> I haven't tried.  I guess it does too much (especially when it
> comes to arguments like --prefix).  I'd be glad to hear from
> your experiences if you try this (or anything along this line).

Meanwhile I added this fragment to the toplevel Makefile.am of the
package having the problem with CPPFLAGS:

DISTCHECK_CONFIGURE_FLAGS= \
  "address@hidden@" \
  "address@hidden@" \
  "address@hidden@" \
  "address@hidden@" \
  "address@hidden@" \
  "address@hidden@"

It overrides more than necessary (CPPFLAGS and LDFLAGS would be
sufficient in my case.), but setting the others also don't impose
problems.

Now I am wondering if this can/should be generalized (Introducing
am_DISTCHECK_CONFIGURE_FLAGS and/or AM_DISTCHECK_CONFIGURE_FLAGS +
automatically setting up DISTCHECK_CONFIGURE_FLAGS per language.)

BTW: This resembles to a large extend to the way gcc's
configury/Makefile.ins apply FLAGS_TO_PASS - Just wondering ;)

Ralf






reply via email to

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