diff options
-rw-r--r-- | i386/configfrag.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/i386/configfrag.ac b/i386/configfrag.ac index f07a98ca..6b4eb270 100644 --- a/i386/configfrag.ac +++ b/i386/configfrag.ac @@ -94,6 +94,12 @@ if [ x"$enable_lpr" = xyes ]; then] AC_ARG_ENABLE([apic], AS_HELP_STRING([--enable-apic], [LAPIC/IOAPIC support])) + +[if [ $mach_ncpus -gt 1 ]; then] + # For SMP we need apic + enable_apic=yes +[fi] + [if [ x"$enable_apic" = xyes ]; then] AC_DEFINE([APIC], [1], [APIC support]) AM_CONDITIONAL([enable_apic], [true]) |