On Wed, Feb 13, 2013 at 1:11 PM, Andrea Pescetti <pesce...@apache.org>wrote:
> I've been busy with building lately, especially with building on Fedora 18 > with the --with-system-libs switch, which should be used for packaging in > Fedora. This is preparation work for the Fedora 19 packaging. > Well good for you! I've had some thoughts about this proposed packaging. This is unrelated to your question here, but something I've been thinking about. Should we be using OpenJDK in building and packaging for Fedora instead of Oracle Java to ensure compatibility? Hopefully no anomolies will crop up but you never know. > To isolate the problematic dependencies, I configure with something like > ./configure --with-system-libs --without-system-NAME1 > --without-system-NAME2 [...] > > The effect in general is that the "without" switch overrides the generic > "--with-system-libs". So for example > ./configure --with-system-libs --without-system-libxslt > won't use the system library. > > Now, some libraries use a different convention: > ./configure --with-system-libs --without-system-serf > will still use the system library and not override the generic choice. > > You can see the different patterns in > http://svn.apache.org/viewvc/**openoffice/trunk/main/** > configure.in?view=markup<http://svn.apache.org/viewvc/openoffice/trunk/main/configure.in?view=markup> > (4002-4003 for the former pattern, 4579 for the latter) > > Any technical reasons for that? Otherwise I'll assume lazy consensus and > modify configure.in to use the former pattern consistently, at least in > the cases where I need it. > > The patch would be a variant of: > > -if test "x$with_system_serf" = "xyes" -o -n "$with_system_libs"; then > +if test -n "$with_system_serf" -o -n "$with_system_libs" && \ > + test "$with_system_serf" != "no"; then > > Regards, > Andrea. > -- ---------------------------------------------------------------------------------------- MzK "Achieving happiness requires the right combination of Zen and Zin."