libarchive is required to build debuginfod server and optional for
eu-srcfiles (it enables the --zip option). If neither debuginfod server
nor eu-srcfiles --zip are needed, libarchive can be excluded from the
build.
Currently there is no way to exclude libarchive from the build if
PKG_CHECK_MODULES finds it at configure time. While debuginfod server
can be disabled with --disable-debuginfod, eu-srcfiles is
unconditionally built with libarchive if it is found.
Add configure option --with-libarchive so that this behavior can be
overridden.
--without-libarchive and --enable-debuginfod cannot be used together.