Re: [JDBC] the build - Mailing list pgsql-patches

From Nic Ferrier
Subject Re: [JDBC] the build
Date
Msg-id 87r882nwbx.fsf@pooh-sticks-bridge.tapsellferrier.co.uk
Whole thread Raw
In response to Re: [JDBC] the build  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [JDBC] the build
List pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:

> If you want to test for JAVAC you need to do it in configure.

For clarification: Yes, we could use the GNU autotools java macros as
well. But postgresql's jdbc library is built using the ANT project
builder tool and it selects the compiler for us if we give it a name.

The JAVAC variable in the Makefile.in is therefore designed to allow
overriding by the user when running the make, thus:

   ./configure --with-java ; make JAVAC=gcj

will build the jdbc library with gcj.

A full java compiler detection system might be overload.


Nic

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Win32 defines
Next
From: Bruce Momjian
Date:
Subject: Re: Win32 defines