[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditionally compiling Java
From: |
Braden McDaniel |
Subject: |
Re: Conditionally compiling Java |
Date: |
Tue, 11 Jun 2002 23:20:47 -0400 |
On Tue, 2002-06-11 at 13:08, Alexandre Duret-Lutz wrote:
> >>> "Braden" == Braden McDaniel <address@hidden> 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: <address@hidden>
<http://endoframe.com> Jabber: <address@hidden>