This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Conditional compilation of program
- From: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>
- To: Jose Roman Bilbao <jrbcast at dali dot ace dot ual dot es>
- Cc: automake at gnu dot org
- Date: Sun, 15 Feb 2004 18:58:48 +0100
- Subject: Re: Conditional compilation of program
- References: <1076326999.4938.11.camel@gris.ace.ual.es>
>>> "Jose" == Jose Roman Bilbao <jrbcast@dali.ace.ual.es> writes:
Jose> Hi,
Jose> I have read on the Automake manual that to conditionally build programs
Jose> I need to write all the optional names in EXTRA_PROGRAMS and substitute
Jose> from autoconf in bin_PROGRAMS, well, I have written this in
Jose> configure.in:
Jose> PHAN3D = phan3D
This will run the command `PHAN3D' with `=' as first argument
and `phan3D' as second argument. Obviously you just wanted
to assigned the `phan3D' string to the `PHAN3D' shell variable.
you should write it as follows
PHAN3D=phan3D
--
Alexandre Duret-Lutz