Re: Ant configuration - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Ant configuration
Date
Msg-id Pine.LNX.4.30.0110172001410.628-100000@peter.localdomain
Whole thread Raw
In response to Ant configuration  (Marko Kreen <marko@l-t.ee>)
Responses Re: Ant configuration
List pgsql-patches
Marko Kreen writes:

> ***************
> *** 411,416 ****
> --- 416,424 ----
>   [AC_MSG_RESULT(no)])
>   AC_SUBST(with_java)
>
> + JAVA_DEST=$prefix/share/java
> + AC_SUBST(JAVA_DEST)
> +
>   dnl A note on the Kerberos and OpenSSL options:
>   dnl
>   dnl The user can give an argument to the option in order the specify

References to $prefix don't work (always) in configure.  Plus, (even if
they did), this would break 'make install prefix=somewhere'.

> Index: contrib/retep/build.xml
> ===================================================================
> RCS file: /opt/cvs/pgsql/pgsql/contrib/retep/build.xml,v
> retrieving revision 1.8
> diff -u -c -r1.8 build.xml
> *** contrib/retep/build.xml    6 Jul 2001 23:07:20 -0000    1.8
> --- contrib/retep/build.xml    12 Oct 2001 10:33:39 -0000
> ***************
> *** 19,24 ****
> --- 19,27 ----
>     <property name="package" value="uk/org/retep" />
>     <property name="jardir"  value="jars" />
>
> +   <!-- Load autoconfed properties.  -->
> +   <property file="${srcdir}../../src/ant.cfg" />
> +
>     <!-- Some checks used to build dependent on the environment -->
>     <target name="checks">
>       <available property="jdk1.2+" classname="java.lang.ThreadLocal" />

This is obviously a typo.

Plus, I'm not sure whether this would work when building outside the
source tree, since ant.cfg is not going to be in the source tree.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Ant configuration
Next
From: Marko Kreen
Date:
Subject: Re: Ant configuration