summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2018-06-24 21:46:15 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-06-24 22:46:15 +0200
commitb0c6c9c17e8ff683d4d370750888f3755c64dadc (patch)
treecf78b025f51ca728765169307990f08c2ce09141 /configure.ac
parent51b19b7192f5be327ab4df486de56f03e1f85cab (diff)
downloadgnutls-b0c6c9c17e8ff683d4d370750888f3755c64dadc.tar.gz
aarch64: use getauxval() if available to discover cpu capstmp-aarch64
This improves CPU detection by avoiding the parsing of of a human-readable file and allows operation under debian multilib qemu setup. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c01a5c259e..548abbeebd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -336,7 +336,7 @@ fi
AM_CONDITIONAL(HAVE_FORK, test "$ac_cv_func_fork" != "no")
-AC_CHECK_FUNCS([__register_atfork secure_getenv],,)
+AC_CHECK_FUNCS([__register_atfork secure_getenv getauxval],,)
AC_ARG_ENABLE(seccomp-tests,
AS_HELP_STRING([--enable-seccomp-tests], [unconditionally enable tests with seccomp]),