Change in libosmocore[master]: fixup: configure.ac: fix: do not define HAVE_NEON unconditionally

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Thu Jan 14 18:06:31 UTC 2021


Hoernchen has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/22194 )

Change subject: fixup: configure.ac: fix: do not define HAVE_NEON unconditionally
......................................................................

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
---
M configure.ac
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Hoernchen: Looks good to me, approved



diff --git a/configure.ac b/configure.ac
index c062e5f..32ea7ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -424,6 +424,9 @@
 		[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"])

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/22194
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I20e256bd6fdb0256c95ab7073e07b7437af6a12f
Gerrit-Change-Number: 22194
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210114/ba27807d/attachment.htm>


More information about the gerrit-log mailing list