summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2023-05-26 10:20:21 +0300
committerMartin Storsjö <martin@martin.st>2023-06-06 12:41:20 +0300
commit9b0052200aa959d5ac939620bc14f0403621ab05 (patch)
tree5c8bb3b9590fd812f9d55ac03ebbcf9cdde51056 /configure
parent493fcde50a84cb23854335bcb0e55c6f383d55db (diff)
aarch64: Add Apple runtime detection of dotprod and i8mm using sysctl
For now, there's not much value in this since Clang don't support enabling the dotprod or i8mm features with either .arch_extension or .arch (it has to be enabled by the base arch flags passed to the compiler). But it may be supported in the future. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 5127fa0d8c..2992dae283 100755
--- a/configure
+++ b/configure
@@ -2348,6 +2348,7 @@ SYSTEM_FUNCS="
strerror_r
sysconf
sysctl
+ sysctlbyname
usleep
UTGetOSTypeFromString
VirtualAlloc
@@ -6394,6 +6395,7 @@ check_func_headers mach/mach_time.h mach_absolute_time
check_func_headers stdlib.h getenv
check_func_headers sys/stat.h lstat
check_func_headers sys/auxv.h getauxval
+check_func_headers sys/sysctl.h sysctlbyname
check_func_headers windows.h GetModuleHandle
check_func_headers windows.h GetProcessAffinityMask