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."