+## ##
+## OS and Arch specific defaults ##
+## ##
+
+# Set os specific options
+AS_CASE([$host_os],
+ [freebsd*], [NO_NUMA=1]
+)
+
+# Set architecture specific options
+AS_CASE([$host_cpu],
+ [i[[3456]]86], [],
+ [x86_64], [],
+ [amd64], [],
+ [powerpc], [],
+ [ppc64], [],
+ [ppc64le], [],
+ [powerpc64], [],
+ [powerpc64le], [],
+ [s390], [],
+ [s390x], [],
+ [arm*], [
+ NO_NUMA=1
+ ],
+ [aarch64*], [],
+ [mips*], [],
+ [tile*], [],
+ [
+ unsupported_arch="yes"
+ ])
+
+