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

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: 
        !            76: AC_ARG_ENABLE([lpr],
        !            77:   AS_HELP_STRING([--enable-lpr], [lpr device; on ix86-at enabled by default]))
        !            78: [case $host_platform:$host_cpu in
        !            79:   at:i?86)
        !            80:     case $enable_device_drivers in
        !            81:       default)
        !            82:         enable_lpr=${enable_lpr-yes};;
        !            83:       *)
        !            84:         enable_lpr=${enable_lpr-no};;
        !            85:     esac;;
        !            86:   *)
        !            87:     if [ x"$enable_lpr" = xyes ]; then]
        !            88:       AC_MSG_ERROR([cannot enable `lpr' in this configuration.])
        !            89:     [fi;;
        !            90: esac
        !            91: if [ x"$enable_lpr" = xyes ]; then]
        !            92:   AC_DEFINE([MACH_LPR], [], [lpr device])
        !            93:   AM_CONDITIONAL([enable_lpr], [true])
        !            94: [else]
        !            95:   AM_CONDITIONAL([enable_lpr], [false])
        !            96: [fi]
        !            97: 
        !            98: 
        !            99: AC_ARG_ENABLE([pae],
        !           100:   AS_HELP_STRING([--enable-pae], [PAE support (ix86-only); on ix86-at disabled
        !           101:     by default, on ix86-xen enabled by default]))
        !           102: [case $host_platform:$host_cpu in
        !           103:   xen:i?86)
        !           104:     enable_pae=${enable_pae-yes};;
        !           105:   *:i?86)
        !           106:     :;;
        !           107:   *)
        !           108:     if [ x"$enable_pae" = xyes ]; then]
        !           109:       AC_MSG_ERROR([can only enable the `PAE' feature on ix86.])
        !           110:     [fi;;
        !           111: esac
        !           112: if [ x"$enable_pae" = xyes ]; then]
        !           113:   AC_DEFINE([PAE], [1], [PAE support])
        !           114:   AM_CONDITIONAL([enable_pae], [true])
        !           115: [else]
        !           116:   AM_CONDITIONAL([enable_pae], [false])
        !           117: [fi]
        !           118: 
        !           119: dnl Local Variables:
        !           120: dnl mode: autoconf
        !           121: dnl End:

unix.superglobalmegacorp.com

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