summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-11-13 18:23:53 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:20 +0200
commit269108107f0c7b439fd114f981acbbb208c88ccb (patch)
treeefcd0b7dc0b27eef3d40e36ce378b82fde698b9e /i386
parent500c473b45b89b957b955083274f5cba31186eee (diff)
2008-11-12 Thomas Schwinge <tschwinge@gnu.org>
* i386/configfrag.ac (enable_pae): Add checks: this is ix86-only.
Diffstat (limited to 'i386')
-rw-r--r--i386/configfrag.ac15
1 files changed, 12 insertions, 3 deletions
diff --git a/i386/configfrag.ac b/i386/configfrag.ac
index 19112a0..f95aa86 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]