|
|
1.1 root 1: dnl Configure script for GNU Mach.
2: dnl Copyright 1997 Free Software Foundation, Inc.
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.
9: dnl
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)
17:
18: #
19: # Deduce output var `systype' from configuration parms.
20: #
21: AC_CANONICAL_HOST
22:
23: case "$host_cpu" in
24: i[[345]]86) systype=i386 ;;
25: *) AC_MSG_ERROR([unsupported CPU type]) ;;
26: esac
27:
28: AC_SUBST(systype)
29: AC_SUBST(cross_compiling)
30:
31: # Default prefix is / for the kernel.
32: AC_PREFIX_DEFAULT()
33:
34: #
35: # Programs
36: #
37: AC_PROG_CC
38: AC_PROG_AWK
39: AC_PROG_INSTALL
40: AC_PROG_LEX
41: AC_PROG_YACC
42: AC_CHECK_TOOL(MIG, mig, mig)
43:
44: if test $host != $build; then
45: AC_CHECK_PROG(BUILD_CC, gcc cc)
46: fi
47:
48: # Set up `machine' link in build directory for easier header file location.
49: AC_LINK_FILES(${systype}/${systype},machine)
50:
51: # Do machine-specific configuration last so that it can override anything
52: # set above if necessary.
53:
54: AC_CONFIG_SUBDIRS($systype)
55:
56: AC_OUTPUT(Makefile)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.