mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 04:34:41 +02:00
configure.ac: refactor test -z "${KERNEL_ROOT}" into "${KERNEL_ROOT}" = "", and remove new AM_CFLAGS="$AM_CFLAGS -msse4" (bringing back identical to logic in master) now that $CFLAGS_SIMD_ENABLE et al take care of it.
This commit is contained in:
14
configure.ac
14
configure.ac
@@ -1116,18 +1116,6 @@ then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AS_IF([test "x$ENABLED_AESGCM" != "xno"],[AM_CCASFLAGS="$AM_CCASFLAGS -DHAVE_AESGCM"])
|
AS_IF([test "x$ENABLED_AESGCM" != "xno"],[AM_CCASFLAGS="$AM_CCASFLAGS -DHAVE_AESGCM"])
|
||||||
|
|
||||||
elif test "$host_cpu" = "x86_64"
|
|
||||||
then
|
|
||||||
if test "$GCC" = "yes"
|
|
||||||
then
|
|
||||||
# GCC needs these flags, icc doesn't
|
|
||||||
# opt levels greater than 2 may cause problems on systems w/o aesni
|
|
||||||
if test "$CC" != "icc"
|
|
||||||
then
|
|
||||||
AM_CFLAGS="$AM_CFLAGS -msse4"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$ENABLED_INTELASM" = "yes"
|
if test "$ENABLED_INTELASM" = "yes"
|
||||||
@@ -3373,7 +3361,7 @@ then
|
|||||||
[KERNEL_ARCH=$DEFAULT_KERNEL_ARCH])
|
[KERNEL_ARCH=$DEFAULT_KERNEL_ARCH])
|
||||||
AC_SUBST([KERNEL_ARCH])
|
AC_SUBST([KERNEL_ARCH])
|
||||||
|
|
||||||
if test -z "${KERNEL_ROOT}"; then
|
if test "${KERNEL_ROOT}" = ""; then
|
||||||
AC_MSG_ERROR([Linux kernel source root not found -- supply with --with-linux-source=PATH.])
|
AC_MSG_ERROR([Linux kernel source root not found -- supply with --with-linux-source=PATH.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user