mirror of https://gerrit.osmocom.org/libosmocore
fixup: configure.ac: fix: do not define HAVE_NEON unconditionally
Instead of removing AC_DEFINE(), I should have used AS_IF(). Change-Id: I20e256bd6fdb0256c95ab7073e07b7437af6a12f Fixes: I761a7afaeda9d232ac26edff47949e911f8f1f0c
This commit is contained in:
parent
dec7b8c238
commit
2ecb71bcd4
|
@ -424,6 +424,9 @@ AC_ARG_ENABLE(neon,
|
|||
[Enable ARM NEON instructions support [default=no]]
|
||||
)],
|
||||
[neon=$enableval], [neon="no"])
|
||||
AS_IF([test "x$neon" = "xyes"], [
|
||||
AC_DEFINE([HAVE_NEON],, [Support ARM NEON instructions])
|
||||
])
|
||||
AC_MSG_CHECKING([whether to enable ARM NEON instructions support])
|
||||
AC_MSG_RESULT([$neon])
|
||||
AM_CONDITIONAL(HAVE_NEON, [test "x$neon" != "xno"])
|
||||
|
|
Loading…
Reference in New Issue