On Feb 13, 2013 10:12 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. > > 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 > (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.
I am probably responsible for this code. If you can make it better, and have not not already done so, then please do it. -Andre > > 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.