build: check for libarchive version via pkgconfig
authorDavid Disseldorp <ddiss@samba.org>
Wed, 19 Feb 2014 16:17:45 +0000 (17:17 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Feb 2014 19:19:07 +0000 (20:19 +0100)
commit497f0327a08fbfa444308c90a418ccb6b45b96d6
treefd32a012a4f3c7aa6917c96702924d13861a270c
parent43227c3d9fda806dc510fd552e340127192b9424
build: check for libarchive version via pkgconfig

The previous libarchive linker and header file check was not suitible
for older libarchive versions that do not provide the function
archive_read_support_filter_all().

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Feb 19 20:19:07 CET 2014 on sn-devel-104
source3/wscript