From 385f42eb97b4ce5b88f5477c93542b61d06d83b4 Mon Sep 17 00:00:00 2001 From: Darek Stojaczyk Date: Tue, 29 Jan 2019 10:38:22 +0100 Subject: [PATCH] configure: fix building without isa-l submodule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The isa-l directory is generated automatically by git on checkout, although it's empty. We check for that directory existence in order to build ISA-L and without `git submodule update --init` the build just fails. To fix, instead of checking the dir existence, we check for the autogen.sh file inside that dir. Change-Id: I7b62513afcd7e9f3953f825c41b265efe3484d57 Signed-off-by: Darek Stojaczyk Reviewed-on: https://review.gerrithub.io/c/442523 Tested-by: SPDK CI Jenkins Reviewed-by: Piotr Pelpliński Reviewed-by: Jim Harris Reviewed-by: Ben Walker --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 962ff6170..d4edc209d 100755 --- a/configure +++ b/configure @@ -416,7 +416,7 @@ if [[ "${CONFIG[ISAL]}" = "y" ]] || [[ "${CONFIG[CRYPTO]}" = "y" ]]; then fi if [[ "${CONFIG[ISAL]}" = "y" ]]; then - if [ ! -d "$rootdir"/isa-l ]; then + if [ ! -f "$rootdir"/isa-l/autogen.sh ]; then echo "isa-l folder is not found; If you do want to install isa-l, run:" echo " git submodule update --init" exit 1