[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to something from the configure script into one of the test prog
Re: how to something from the configure script into one of the test programs?
Tue, 4 Apr 2006 07:09:34 -0700
On Tue, Apr 04, 2006 at 05:34:05AM -0600, Ed Hartnett wrote:
> But how do I use TEMP_LARGE when running my test program?
Automake will generate a `TEMP_LARGE = @TEMP_LARGE@' line in each Makefile.in,
so the value will be available to you as a macro in each Makefile.
> I have tried running a test script, and using $TEMP_LARGE in the
> script. This works if I supply TEMP_LARGE on the command line with the
> make command, but it doesn't pick up the TEMP_LARGE defined during
You need to get TEMP_LARGE into a shell variable in that script. There are a
number of ways to do this. You could pass the variable through the environment
from your Makefile: