diff --git a/.gitignore b/.gitignore index ef57ec0..813a399 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ test/datafiles *~ core.* *.kate-swp +bsc/bsc +*.a diff --git a/INSTALL b/INSTALL index a6ee249..b040a6f 100644 --- a/INSTALL +++ b/INSTALL @@ -96,11 +96,6 @@ is not the usual GNU Autoconf script. This at present shows some info related to Dedupe efficiency. ---with-libbsc= - Enable support for libbsc (See: libbsc.com). Full - path to the libbsc source tree must be provided. It - links the library statically. - --with-zlib= (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=<...> - diff --git a/README.md b/README.md index 7a87c3f..4a6092b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/config b/config index ba91eb8..05fc27b 100755 --- a/config +++ b/config @@ -31,9 +31,6 @@ ${prog} [] --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= (Default: Internal copy) - Full path to external libbsc source tree can be provided. It links the - library statically. --with-openssl= (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"="` ;;