From 269108107f0c7b439fd114f981acbbb208c88ccb Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 13 Nov 2008 18:23:53 +0000 Subject: 2008-11-12 Thomas Schwinge * i386/configfrag.ac (enable_pae): Add checks: this is ix86-only. --- ChangeLog | 4 ++++ i386/configfrag.ac | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e5e39327..9e160b9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-11-12 Thomas Schwinge + + * i386/configfrag.ac (enable_pae): Add checks: this is ix86-only. + 2008-11-11 Shakthi Kannan * kern/eventcount.c (evc_wait_clear): Remove unused variable 'ret'. diff --git a/i386/configfrag.ac b/i386/configfrag.ac index 19112a05..f95aa866 100644 --- a/i386/configfrag.ac +++ b/i386/configfrag.ac @@ -1,6 +1,6 @@ dnl Configure fragment for i386. -dnl Copyright (C) 1999, 2004, 2006, 2007 Free Software Foundation, Inc. +dnl Copyright (C) 1999, 2004, 2006, 2007, 2008 Free Software Foundation, Inc. dnl Permission to use, copy, modify and distribute this software and its dnl documentation is hereby granted, provided that both the copyright @@ -105,8 +105,17 @@ if [ x"$enable_lpr" = xyes ]; then] AC_ARG_ENABLE([pae], - AS_HELP_STRING([--enable-pae], [enable PAE support])) -[if [ x"$enable_pae" = xyes ]; then] + AS_HELP_STRING([--enable-pae], [PAE feature (ix86-only); disabled by + default])) +[case $host_platform:$host_cpu in + *:i?86) + :;; + *) + if [ x"$enable_pae" = xyes ]; then] + AC_MSG_ERROR([can only enable the `PAE' feature on ix86.]) + [fi;; +esac +if [ x"$enable_pae" = xyes ]; then] AC_DEFINE([PAE], [1], [PAE support]) AM_CONDITIONAL([enable_pae], [true]) [else] -- cgit v1.2.3