From 5ffeed258244d177485fab906bfbe9c3b3db632d Mon Sep 17 00:00:00 2001 From: Ben Walker Date: Wed, 6 Mar 2019 14:14:53 -0700 Subject: [PATCH] configure: Make indentation consistenly use tabs We don't have enforcement for bash scripts, so of course this ended up with mixed tabs and spaces. Change-Id: Ideba6cdffa0687a40851a5cda6216a13f870a9ba Signed-off-by: Ben Walker Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447242 Tested-by: SPDK CI Jenkins Reviewed-by: Tomasz Zawadzki Reviewed-by: Darek Stojaczyk Reviewed-by: Jim Harris --- configure | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 731678bc2..4911481ad 100755 --- a/configure +++ b/configure @@ -309,11 +309,11 @@ for i in "$@"; do CONFIG[OCF_PATH]= ;; --with-isal) - CONFIG[ISAL]=y - ;; - --without-isal) - CONFIG[ISAL]=n - ;; + CONFIG[ISAL]=y + ;; + --without-isal) + CONFIG[ISAL]=n + ;; --) break ;; @@ -425,7 +425,7 @@ than or equal to 4.14 will see significantly reduced performance. fi if [[ "${CONFIG[ISAL]}" = "y" ]] || [[ "${CONFIG[CRYPTO]}" = "y" ]]; then - if [[ $(nasm -v | awk '{print $3}' | sed 's/[^0-9]*//g') -lt "21202" ]]; then + if [[ $(nasm -v | awk '{print $3}' | sed 's/[^0-9]*//g') -lt "21202" ]]; then echo "Notice: ISA-L, compression & crypto auto-disabled due to nasm dependency." echo "These features require NASM version 2.12.02 or newer. Please install" echo "or upgrade then re-run this script."