Annotation of Gnu-Mach/i386/configfrag.ac, revision 1.1.1.3

1.1       root        1: dnl Configure fragment for i386.
                      2: 
                      3: dnl Copyright (C) 1999, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
                      4: 
                      5: dnl Permission to use, copy, modify and distribute this software and its
                      6: dnl documentation is hereby granted, provided that both the copyright
                      7: dnl notice and this permission notice appear in all copies of the
                      8: dnl software, derivative works or modified versions, and any portions
                      9: dnl thereof, and that both notices appear in supporting documentation.
                     10: dnl
                     11: dnl THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
                     12: dnl "AS IS" CONDITION.  THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
                     13: dnl LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
                     14: dnl USE OF THIS SOFTWARE.
                     15: 
                     16: #
                     17: # Definitions.
                     18: #
                     19: 
                     20: [case $host_cpu in
                     21:   i?86)]
                     22:     AM_CONDITIONAL([HOST_ix86], [true])
                     23: 
                     24:     # Some of the i386-specific code checks for these.
                     25:     AC_DEFINE([__ELF__], [1], [__ELF__])
                     26: 
                     27:     # Determines the size of the CPU cache line.
                     28:     AC_DEFINE([CPU_L1_SHIFT], [6], [CPU_L1_SHIFT])
                     29: 
                     30:     [# Does the architecture provide machine-specific interfaces?
                     31:     mach_machine_routines=1;;
                     32:   *)]
                     33:     AM_CONDITIONAL([HOST_ix86], [false])[;;
                     34: esac
                     35: 
                     36: case $host_platform in
                     37:   at)]
                     38:     AM_CONDITIONAL([PLATFORM_at], [true])[;;
                     39:   *)]
                     40:     AM_CONDITIONAL([PLATFORM_at], [false])[;;
                     41: esac
                     42: 
                     43: #
                     44: # Formerly in `i386/bogus/'.
                     45: #
                     46: 
                     47: ncom=0
                     48: nlpr=0
                     49: case $host_platform:$host_cpu in
                     50:   at:i?86)
                     51:     ncom=4
                     52:     nlpr=1
                     53: 
                     54:     # i386/bogus/platforms.h]
                     55:     AC_DEFINE([AT386], [1], [AT386])[;;
                     56:   xen:i?86)
                     57:     # TODO.  That should probably not be needed.
                     58:     ncom=1
                     59:     # TODO.  That should probably not be needed.
                     60:     # i386/bogus/platforms.h]
                     61:     AC_DEFINE([AT386], [1], [AT386])[;;
                     62:   *)
                     63:     :;;
                     64: esac]
                     65: 
                     66: # i386/bogus/com.h
                     67: AC_DEFINE_UNQUOTED([NCOM], [$ncom], [NCOM])
                     68: 
                     69: # i386/bogus/lpr.h
                     70: AC_DEFINE_UNQUOTED([NLPR], [$nlpr], [NLPR])
                     71: 
                     72: #
                     73: # Options.
                     74: #
                     75: 
1.1.1.2   root       76: # The immediate console, useful for debugging early system
                     77: # initialization.  Disabled by default.
                     78: AC_DEFINE([ENABLE_IMMEDIATE_CONSOLE], [0], [ENABLE_IMMEDIATE_CONSOLE])
                     79: 
1.1       root       80: AC_ARG_ENABLE([lpr],
                     81:   AS_HELP_STRING([--enable-lpr], [lpr device; on ix86-at enabled by default]))
                     82: [case $host_platform:$host_cpu in
                     83:   at:i?86)
                     84:     case $enable_device_drivers in
                     85:       default)
                     86:         enable_lpr=${enable_lpr-yes};;
                     87:       *)
                     88:         enable_lpr=${enable_lpr-no};;
                     89:     esac;;
                     90:   *)
                     91:     if [ x"$enable_lpr" = xyes ]; then]
                     92:       AC_MSG_ERROR([cannot enable `lpr' in this configuration.])
                     93:     [fi;;
                     94: esac
                     95: if [ x"$enable_lpr" = xyes ]; then]
                     96:   AC_DEFINE([MACH_LPR], [], [lpr device])
                     97:   AM_CONDITIONAL([enable_lpr], [true])
                     98: [else]
                     99:   AM_CONDITIONAL([enable_lpr], [false])
                    100: [fi]
                    101: 
                    102: 
                    103: AC_ARG_ENABLE([pae],
                    104:   AS_HELP_STRING([--enable-pae], [PAE support (ix86-only); on ix86-at disabled
                    105:     by default, on ix86-xen enabled by default]))
                    106: [case $host_platform:$host_cpu in
                    107:   xen:i?86)
                    108:     enable_pae=${enable_pae-yes};;
                    109:   *:i?86)
                    110:     :;;
                    111:   *)
                    112:     if [ x"$enable_pae" = xyes ]; then]
                    113:       AC_MSG_ERROR([can only enable the `PAE' feature on ix86.])
                    114:     [fi;;
                    115: esac
                    116: if [ x"$enable_pae" = xyes ]; then]
                    117:   AC_DEFINE([PAE], [1], [PAE support])
                    118:   AM_CONDITIONAL([enable_pae], [true])
                    119: [else]
                    120:   AM_CONDITIONAL([enable_pae], [false])
                    121: [fi]
1.1.1.3 ! root      122: 
        !           123: AC_ARG_WITH([_START_MAP],
        !           124:   AS_HELP_STRING([--with-_START_MAP=0x1000000], [specify kernel mapping start address]),
        !           125:   [_START_MAP="$withval"], [_START_MAP=0x1000000])
        !           126: AC_SUBST(_START_MAP)
1.1       root      127: 
                    128: dnl Local Variables:
                    129: dnl mode: autoconf
                    130: dnl End:

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.