config: make libarchive optional
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 14 Jun 2016 08:51:39 +0000 (10:51 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 14 Jun 2016 13:31:26 +0000 (15:31 +0200)
commit18aa32725ebb662f73b004ffd061eeb780e4de78
treeb7c011cc60d72391d8ad32f3fe6a0689528879e2
parent3a4c1dc58bc7beb67e9ca8c186b6278fb0bc5f04
config: make libarchive optional

The commit 66819e6 has introduced a dependency on libarchive to be able
to use some tar resources in the unit tests.
It is now an optional dependency because some systems do not have it
installed.

If CONFIG_RTE_APP_TEST_RESOURCE_TAR is disabled, the PCI test will not
be run. When a "configure" script will be integrated, the libarchive
availability could be checked to automatically enable the option.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Reviewed-by: Jan Viktorin <viktorin@rehivetech.com>
app/test/Makefile
app/test/resource.c
app/test/test_mp_secondary.c
app/test/test_resource.c
config/common_base
doc/guides/linux_gsg/sys_reqs.rst
scripts/test-build.sh