Remove external Libbsc option.
This commit is contained in:
parent
fb25e53b4f
commit
5a49252bb9
4 changed files with 3 additions and 46 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -11,3 +11,5 @@ test/datafiles
|
|||
*~
|
||||
core.*
|
||||
*.kate-swp
|
||||
bsc/bsc
|
||||
*.a
|
||||
|
|
25
INSTALL
25
INSTALL
|
@ -96,11 +96,6 @@ is not the usual GNU Autoconf script.
|
|||
This at present shows some info related to Dedupe
|
||||
efficiency.
|
||||
|
||||
--with-libbsc=<path_to_libbsc_source>
|
||||
Enable support for libbsc (See: libbsc.com). Full
|
||||
path to the libbsc source tree must be provided. It
|
||||
links the library statically.
|
||||
|
||||
--with-zlib=<path to zlib installation tree> (Default: System)
|
||||
Enable building against an alternate Zlib installation.
|
||||
|
||||
|
@ -117,24 +112,6 @@ is not the usual GNU Autoconf script.
|
|||
|
||||
--help Display the help message.
|
||||
|
||||
Steps for building with libbsc support
|
||||
======================================
|
||||
1) Download libbsc source from: http://libbsc.com/ . Click on the
|
||||
"Download TAR Ball" button. Downloading the 3.1.0 release from the
|
||||
Github project download page will Not work.
|
||||
|
||||
2) Extract the gzippped tarball. It will create a directory for example:
|
||||
IlyaGrebnov-libbsc-0b12f29
|
||||
|
||||
3) Now cd into the pcompress directory and execute the config script
|
||||
with the full path to the libbsc source directory. For example:
|
||||
|
||||
./config --with-libbsc=/full/path/to/IlyaGrebnov-libbsc-0b12f29
|
||||
|
||||
4) Now run make in the pcompress directory. This will also run make in
|
||||
the libbsc source directory to build it.
|
||||
|
||||
5) Additional compilation flags can be passed to make like this:
|
||||
Additional compilation flags can be passed to make like this:
|
||||
make EXTRA_CPPFLAGS=<...> EXTRA_LDFLAGS=<...>
|
||||
|
||||
|
||||
|
|
|
@ -92,10 +92,6 @@ Usage
|
|||
compressed output goes to stdout. If this argument is omitted then
|
||||
source filename is used with the extension '.pz' appended.
|
||||
|
||||
NOTE: The option "libbsc" uses Ilya Grebnov's block sorting compression library
|
||||
from http://libbsc.com/ . It is only available if pcompress in built with
|
||||
that library. See INSTALL file for details.
|
||||
|
||||
To decompress a file compressed using above command:
|
||||
pcompress -d <compressed file> <target file>
|
||||
|
||||
|
|
18
config
18
config
|
@ -31,9 +31,6 @@ ${prog} [<options>]
|
|||
--enable-debug Enable debug mode compilation (default: disabled).
|
||||
--disable-allocator Disable use of internal memory allocator mechanism (default: enabled).
|
||||
--enable-debug-stats Enable printing of some verbose debug info (default: disabled).
|
||||
--with-libbsc=<path to libbsc source> (Default: Internal copy)
|
||||
Full path to external libbsc source tree can be provided. It links the
|
||||
library statically.
|
||||
--with-openssl=<path to OpenSSL installation tree> (Default: System)
|
||||
This defaults to the system's OpenSSL library. You can use this option
|
||||
if you want to use an alternate OpenSSL installation.
|
||||
|
@ -151,21 +148,6 @@ do
|
|||
pval=`echo ${arg1} | cut -f2 -d"="`
|
||||
prefix=$pval
|
||||
;;
|
||||
--with-libbsc=*)
|
||||
path=`echo ${arg1} | cut -f2 -d"="`
|
||||
if [ -f ${path}/bsc.cpp -a -f ${path}/libbsc/libbsc.h ]
|
||||
then
|
||||
libbsc_dir="${path}"
|
||||
libbsc_lib="${path}/libbsc.a"
|
||||
libbsclflags='\$\(LIBBSCLFLAGS\)'
|
||||
libbscwrapobj='\$\(LIBBSCWRAPOBJ\)'
|
||||
libbscgenopt='\$\(LIBBSCGEN_OPT\)'
|
||||
libbsccppflags='\$\(LIBBSCCPPFLAGS\)'
|
||||
else
|
||||
echo "Libbsc not found in ${path}.\n"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
--with-openssl=*)
|
||||
openssl_prefix=`echo ${arg1} | cut -f2 -d"="`
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue