This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Conditionally compiling Java


On Tue, 2002-06-11 at 13:08, Alexandre Duret-Lutz wrote:
> >>> "Braden" == Braden McDaniel <braden@endoframe.com> writes:
> 
> [...]
> 
>  Braden> if WITH_JDK
>  Braden> noinst_JAVA = MyClass1.java MyClass2.java
>  Braden> endif
> 
>  Braden> Works if WITH_JDK is true; but if WITH_JDK is false,
>  Braden> javac still gets called, but with no source file
>  Braden> arguments. 
> 
> Could you try this patch?

Looks promising; however, when I try to use the CVS version of automake,
I get an error from autoheader:

  autoheader: error: AC_CONFIG_HEADERS not found in configure.ac

I am in fact using the macro AM_CONFIG_HEADER, but changing to
AC_CONFIG_HEADERS has no effect. Yeah, I know: autoheader comes with
autoconf, not automake. So, any idea what might be triggering this?

-- 
Braden McDaniel                           e-mail: <braden@endoframe.com>
<http://endoframe.com>                    Jabber: <braden@jabber.org>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]