On Wed, Jun 23, 2004 at 12:14:47PM +0200, Graham Leggett wrote:
> Joe Orton wrote:
> >>The second problem is in ./configure and Makefile.in. The build scripts
> >>looks for the above files in the source code directory for apr using this:
> >>
> >>configure: APR_SOURCE_DIR="`$apr_config --srcdir`"
> >>Makefile.in: $(AWK) -f @APR_SOURCE_DIR@/build/make_var_export.awk
> >>$(HEADERS)
>
> >I'd forgotten there were so many things which broke... for the Fedora
> >apr package we patch `apr-config --srcdir` to print ${libdir}/apr.
>
> Patching our own release seems untidy to me (it's ok if it's a vendor
> release fixing vendor specific issues, but it's our own release).
I think the correct solution is to:
1) make the apr "make install" install those .awk files into the
installbuilddir directory.
2) replace use of the `apr-config --srcdir` with `apr-config
--installbuilddir` in apr-util's configure & Makefile.
joe