[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to disable lz4 support when library is installed in system?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 14 Apr 2018 16:39:58 +0000

> > What should I pass to "configure" to PREVENT detection & usage of lz4
> > library installed in system? `--without-lz4' doesn't work.

Yes, I can reproduce this. '--without-lz4' results in:

configure: lz4 configuration via prefix
checking for LZ4_compress_default in -llz4... yes

which is not the intended behaviour. The intended behaviour in that case is to throw an AC_MSG_ERROR:

      AC_MSG_ERROR([Subversion requires LZ4 >= r129, or use --with-lz4=internal])

CCing dev@ for this part.

> --with-lz4=internal may be what you want.
>
> From what I can gather lz4 is the future so I would be surprised if you
> can prevent it’s usage.

In principle, if svn were built without lz4 (which isn't supposed to be
allowed by the stock configure) then it won't be able to read or produce
svndiff2 deltas, which are used on the wire and may be used in FSFS f8
on-disk data.
Received on 2018-04-14 18:40:04 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.