automake
[Top][All Lists]
Advanced

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

Re: Conditional compilation of program (SOLVED)


From: Jose Roman Bilbao
Subject: Re: Conditional compilation of program (SOLVED)
Date: Mon, 09 Feb 2004 13:16:57 +0100

On Mon, 2004-02-09 at 12:43, Jose Roman Bilbao wrote:
> Hi, 
> 
> I have read on the Automake manual that to conditionally build programs
> I need to write all the optional names in EXTRA_PROGRAMS and substitute
> from autoconf in bin_PROGRAMS, well, I have written this in
> configure.in:
> 
> PHAN3D = phan3D
> AC_SUBST(PHAN3D)
> 
> and this in the conditional program's Makefile.am:
> 
> bin_PROGRAMS = @PHAN3D@
> EXTRA_PROGRAMS = phan3D
> 
> but it does not work, any clue? any problem when building just optional
> programs? Should I make conditional directories instead? (My program is
> in a separate directory).
> 
> Thanks.
> 
> 
> 
> 





reply via email to

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