libabigail/tools
Dodji Seketeli 36ed6e0583 Make zip archive support optional
* configure.ac: Support a new --enable-zip-archive option.  By
	default its value is set to the 'auto', meaning that if libzip is
	installed, that turns the option on -- just like if
	--enable-zip-archive was called with the value 'yes'; if libzip is
	not installed, that turns the option off -- just like if
	--enable-zip-archive was called with the value 'no'.  If libzip is
	detected, the pre-processor macro HAVE_LIBZIP is set to 1.  If
	--enable-zip-archive is turned on, the pre-processor macro
	WITH_ZIP_ARCHIVE is set to 1.
	* config.h.in (HAVE_LIBZIP, WITH_ZIP): New define.
	* src/abg-corpus.cc: Include config.h.  Guard the inclusion of
	abg-libzip-utils.h with the WITH_ZIP_ARCHIVE macro.  Likewise for
	the use of declarations coming from abg-libzip-utils.h.
	* src/abg-libzip-utils.cc: Include config.h.  Guard the file's
	content with the WITH_ZIP_ARCHIVE macro.
	* src/abg-reader.cc: Include config.h.  Guard the inclusion of
	abg-libzip-utils.h with the WITH_ZIP_ARCHIVE.  Likewise for the
	use of declarations coming from abg-libzip-utils.h.
	* src/abg-writer.cc: Likewise.
	* tests/Makefile.am: Build runtestwritereadarchive and runtestdot
	only if zip archives are supported.
	* tools/Makefile.am: The biar program is built only if
	zip archives are supported.
	* tools/bidiff.cc: Handle zip archives only if the
	WITH_ZIP_ARCHIVE macros is defined.
	* tools/bilint.cc: Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-08-31 11:28:42 +02:00
..
abg-tools-utils.cc Harden debug info path management & better error reporting 2014-06-04 16:30:18 +02:00
abg-tools-utils.h Harden debug info path management & better error reporting 2014-06-04 16:30:18 +02:00
biar.cc Add a symbol database to the ABI Corpus & support symbol aliases 2014-05-28 16:33:35 +02:00
bidiff.cc Make zip archive support optional 2014-08-31 11:28:42 +02:00
bidw.cc Update copyright notice 2014-08-15 18:27:34 +02:00
bilint.cc Make zip archive support optional 2014-08-31 11:28:42 +02:00
bisym.cc Add a help string for the --no-absolute-path option of bisym 2014-05-14 11:00:28 +02:00
Makefile.am Make zip archive support optional 2014-08-31 11:28:42 +02:00