> LZ4_versionNumber() has existed since r120, so we could use that and the
> individual LZ4_VERSION_* defines instead.  Something like the below.
[...]

>From http://svn.apache.org/r1818807

-      Subversion uses LZ4 compression libary version 1.7.5 or above. Configure
+      Subversion uses LZ4 compression libary version r120 or above. Configure
[...]
-      
+
       If configure should use the version bundled with the sources, use:
         --with-lz4=internal
[...]
-      AC_MSG_ERROR([Subversion requires LZ4 >= 1.7.5, or use 
--with-lz4=internal])
+      AC_MSG_ERROR([Subversion requires LZ4 >= r120, or use 
--with-lz4=internal])
[...]
-    if $PKG_CONFIG liblz4 --atleast-version=1.7.5; then
+    if $PKG_CONFIG liblz4 --atleast-version=120 || $PKG_CONFIG liblz4 
--max-version=3; then


We call LZ4_compress_default which was not added until r129.

Andreas

Reply via email to