diff options
Diffstat (limited to 'x86_64/configfrag.ac')
-rw-r--r-- | x86_64/configfrag.ac | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/x86_64/configfrag.ac b/x86_64/configfrag.ac new file mode 100644 index 00000000..99db468f --- /dev/null +++ b/x86_64/configfrag.ac @@ -0,0 +1,48 @@ +dnl Configure fragment for x86_64. + +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 +dnl notice and this permission notice appear in all copies of the +dnl software, derivative works or modified versions, and any portions +dnl thereof, and that both notices appear in supporting documentation. +dnl +dnl THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS +dnl "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY +dnl LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE +dnl USE OF THIS SOFTWARE. + +# +# Definitions. +# + +[case $host_cpu in + x86_64)] + AM_CONDITIONAL([HOST_x86_64], [true]) + + # Some of the x86_64-specific code checks for these. + AC_DEFINE([__ELF__], [1], [__ELF__]) + + # Determines the size of the CPU cache line. + AC_DEFINE([CPU_L1_SHIFT], [6], [CPU_L1_SHIFT]) + + [# Does the architecture provide machine-specific interfaces? + mach_machine_routines=1;; + *)] + AM_CONDITIONAL([HOST_x86_64], [false])[;; +esac + +case $host_platform in + at)] + AM_CONDITIONAL([PLATFORM_at], [true])[;; + *)] + AM_CONDITIONAL([PLATFORM_at], [false])[;; +esac] + +AC_DEFINE([PAE], [1], [PAE support]) +AM_CONDITIONAL([enable_pae], [true]) + +dnl Local Variables: +dnl mode: autoconf +dnl End: |