summaryrefslogtreecommitdiff
path: root/i386/configfrag.ac
diff options
context:
space:
mode:
Diffstat (limited to 'i386/configfrag.ac')
-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]