From b324f73cb6718636cf6f3bb8367e3a131b32252a Mon Sep 17 00:00:00 2001 From: Paul Luse Date: Tue, 28 Aug 2018 12:55:04 -0700 Subject: [PATCH] configure: fix typo and add exit on error When wrong nasm was detected we marched on anyway. As seen in CI, the build of ipsec just fails sorta ugly with an older version. Change-Id: I03d1e5774386e6aed354e8cb6877160f507a5c58 Signed-off-by: Paul Luse Reviewed-on: https://review.gerrithub.io/423754 Reviewed-by: Jim Harris Reviewed-by: Ben Walker Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 3ffce7a94..9c5e5ce81 100755 --- a/configure +++ b/configure @@ -345,7 +345,8 @@ if [[ "$CONFIG_CRYPTO" = "y" ]]; then set -e if [[ $nasm_ver -lt "21202" ]]; then echo Crypto requires NASM version 2.12.02 or newer. Please install - echo or upgrade then re-run this scrip. + echo or upgrade then re-run this script. + exit 1 else if [[ "$ipsec" == "" ]]; then echo "To enable crypto you must first go to the intel-ipsec-mb directory and "