From 15955354d26cda32bfb88eb150d5661fe66dc9d0 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 29 Mar 2020 16:07:01 +0200 Subject: Share ncom, lpr, PAE definitions between i386 and x86_64 Otherwise the x86_64 configfrag would overwrite i386's. * i386/configfrag.ac: Remove ncom, nlpr, pae, NCOM, NLPR, PAE definitions. * i386/configfrag.ac: Remove ncom, nlpr, NCOM, NLPR, PAE definitions. Enable PAE. * configfrag-first.ac: New file, defines ncom, nlpr, pae. * configure.ac: Include configfrag-first.ac * configfrag.ac: Define NCOM, NLPR, PAE. --- configfrag.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'configfrag.ac') diff --git a/configfrag.ac b/configfrag.ac index 73c23ffb..91d737ef 100644 --- a/configfrag.ac +++ b/configfrag.ac @@ -26,6 +26,19 @@ AC_DEFINE([KERNEL], [1], [KERNEL]) # Formerly in `bogus/'. # +# i386/bogus/com.h +AC_DEFINE_UNQUOTED([NCOM], [$ncom], [NCOM]) + +# i386/bogus/lpr.h +AC_DEFINE_UNQUOTED([NLPR], [$nlpr], [NLPR]) + +[if [ x"$enable_pae" = xyes ]; then] + AC_DEFINE([PAE], [1], [PAE support]) + AM_CONDITIONAL([enable_pae], [true]) +[else] + AM_CONDITIONAL([enable_pae], [false]) +[fi] + # When set, the bootstrap task symbols are preserved by the kernel debugger. # Used in `kern/bootstrap.c'. AC_DEFINE([BOOTSTRAP_SYMBOLS], [0], [BOOTSTRAP_SYMBOLS]) -- cgit v1.2.3