diff options
Diffstat (limited to 'i386/configfrag.ac')
-rw-r--r-- | i386/configfrag.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/i386/configfrag.ac b/i386/configfrag.ac index 6cd1fdf7..ec0a3009 100644 --- a/i386/configfrag.ac +++ b/i386/configfrag.ac @@ -100,11 +100,29 @@ AC_ARG_ENABLE([apic], enable_apic=yes [fi] +[if [ $mach_ncpus -gt 1 ]; then] + # Do not enable in SMP, it is not MP-safe + enable_linux_groups=no +[fi] + +[case $host_platform:$host_cpu in + at:i?86) + :;; + *) + # Linux glue was only really tested on i386 + enable_linux_groups=no;; +esac] + [if [ x"$enable_linux_groups" != xno ]; then] # Linux glue does not like APIC enable_apic=no [fi] +[case $host_platform:$host_cpu in + xen:*) + enable_apic=no;; +esac] + [if [ x"$enable_apic" = xno ]; then] AM_CONDITIONAL([enable_apic], [false]) [else] |