Commit b324f73c authored by Paul Luse's avatar Paul Luse Committed by Jim Harris
Browse files

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: default avatarPaul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/423754


Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
parent 745a54e4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 "