Annotation of Gnu-Mach/configure.in, revision 1.1.1.3

1.1       root        1: dnl Configure script for GNU Mach.
1.1.1.3 ! root        2: dnl Copyright 1997, 1998, 1999 Free Software Foundation, Inc.
1.1       root        3: 
                      4: dnl Permission to use, copy, modify and distribute this software and its
                      5: dnl documentation is hereby granted, provided that both the copyright
                      6: dnl notice and this permission notice appear in all copies of the
                      7: dnl software, derivative works or modified versions, and any portions
                      8: dnl thereof, and that both notices appear in supporting documentation.
1.1.1.3 ! root        9: dnl
1.1       root       10: dnl THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
                     11: dnl "AS IS" CONDITION.  THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
                     12: dnl LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
                     13: dnl USE OF THIS SOFTWARE.
                     14: 
                     15: 
                     16: AC_INIT(kern/ipc_kobject.c)
1.1.1.2   root       17: AC_PREREQ(2.12)
1.1       root       18: 
                     19: #
                     20: # Deduce output var `systype' from configuration parms.
                     21: #
                     22: AC_CANONICAL_HOST
                     23: 
                     24: case "$host_cpu" in
1.1.1.2   root       25: i[[3456]]86) systype=i386 ;;
1.1       root       26: *) AC_MSG_ERROR([unsupported CPU type]) ;;
                     27: esac
                     28: 
1.1.1.3 ! root       29: case "$host_os" in
1.1.1.2   root       30: gnu*) ;;
                     31: *) AC_MSG_ERROR([sorry, this is the gnu os, not $host_os]) ;;
                     32: esac
                     33: 
1.1       root       34: AC_SUBST(systype)
                     35: AC_SUBST(cross_compiling)
                     36: 
                     37: # Default prefix is / for the kernel.
                     38: AC_PREFIX_DEFAULT()
                     39: 
                     40: #
1.1.1.2   root       41: # Options
                     42: #
1.1.1.3 ! root       43: AC_ARG_ENABLE(kdb,
        !            44: [  --enable-kdb             enable use of in-kernel debugger],
        !            45: [test "x$enableval" = xno || AC_DEFINE(MACH_KDB)])
        !            46: 
        !            47: AC_ARG_ENABLE(kmsg,
        !            48: [  --enable-kmsg            enable use of kmsg device],
        !            49: [test "x$enableval" = xno || AC_DEFINE(MACH_KMSG)])
1.1.1.2   root       50: 
                     51: #
1.1       root       52: # Programs
                     53: #
1.1.1.3 ! root       54: 
1.1       root       55: AC_PROG_INSTALL
1.1.1.3 ! root       56: AC_PROG_AWK
1.1.1.2   root       57: 
1.1.1.3 ! root       58: AC_CHECK_TOOL(CC, gcc)
        !            59: # That check handles cross-compilation well, but AC_PROG_CC tests for GCC
        !            60: # and sets default CFLAGS nicely for us, so do that too.
        !            61: AC_PROG_CC_LOCAL
        !            62: 
        !            63: AC_CHECK_TOOL(LD, ld)
        !            64: AC_CHECK_TOOL(NM, nm)
        !            65: 
        !            66: AC_CHECK_TOOL(MIG, mig, mig)
        !            67: AC_CHECK_TOOL(MAKE, make, make)
1.1       root       68: 
                     69: # Set up `machine' link in build directory for easier header file location.
                     70: AC_LINK_FILES(${systype}/${systype},machine)
                     71: 
                     72: # Do machine-specific configuration last so that it can override anything
                     73: # set above if necessary.
                     74: 
1.1.1.3 ! root       75: AC_CONFIG_SUBDIRS(linux ${systype})
1.1       root       76: 
                     77: AC_OUTPUT(Makefile)

unix.superglobalmegacorp.com

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