From 3012650ba2595d7fe1a3a3b5435ca66cf654ce4a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 25 Oct 2017 09:25:03 +0200 Subject: [PATCH] configure: require libarchive >= 3.2.0 via pkg-config too. --- configure | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure b/configure index b043dab0..39cade15 100755 --- a/configure +++ b/configure @@ -658,10 +658,12 @@ else fi # -# libarchive >= 2.8.0 with pkg-config support is required. +# libarchive with pkg-config support is required. # -printf "Checking for libarchive >= 2.8.0 via pkg-config ... " -if ! $PKGCONFIG_BIN --atleast-version=2.8.0 libarchive; then +LIBARCHIVE_REQVER=3.2.0 + +printf "Checking for libarchive >= ${LIBARCHIVE_REQVER} via pkg-config ... " +if ! $PKGCONFIG_BIN --atleast-version=${LIBARCHIVE_REQVER} libarchive; then echo "libarchive.pc file not found, exiting." exit 1 else