blob: b43a5c0822fc8cffb604c0ce1f11655f918779d9 [file] [log] [blame]
Reid Spencer820dab72004-09-04 19:48:50 +00001dnl **************************************************************************
2dnl * Initialize
3dnl **************************************************************************
4AC_INIT([[[Stacker]]],[[[1.0]]],[rspencer@x10sys.com])
5
6dnl Place all of the extra autoconf files into the config subdirectory
7AC_CONFIG_AUX_DIR([autoconf])
8
9dnl Configure a header file
10
11dnl Configure Makefiles
12dnl List every Makefile that ecists within your source tree
13
14AC_CONFIG_MAKEFILE(Makefile)
15AC_CONFIG_MAKEFILE(lib/Makefile)
16AC_CONFIG_MAKEFILE(lib/compiler/Makefile)
17AC_CONFIG_MAKEFILE(lib/runtime/Makefile)
Reid Spencere07d9aa2004-09-05 16:42:30 +000018AC_CONFIG_MAKEFILE(test/Makefile)
Reid Spencer820dab72004-09-04 19:48:50 +000019AC_CONFIG_MAKEFILE(tools/Makefile)
20AC_CONFIG_MAKEFILE(tools/stkrc/Makefile)
21
22dnl **************************************************************************
23dnl * Determine which system we are building on
24dnl **************************************************************************
25
26dnl **************************************************************************
27dnl * Check for programs.
28dnl **************************************************************************
29
30dnl Verify that the source directory is valid
31AC_CONFIG_SRCDIR([Makefile.common.in])
32
33dnl **************************************************************************
34dnl * Check for libraries.
35dnl **************************************************************************
36
37dnl **************************************************************************
38dnl * Checks for header files.
39dnl **************************************************************************
40
41dnl **************************************************************************
42dnl * Checks for typedefs, structures, and compiler characteristics.
43dnl **************************************************************************
44
45dnl **************************************************************************
46dnl * Checks for library functions.
47dnl **************************************************************************
48
49dnl **************************************************************************
50dnl * Enable various compile-time options
51dnl **************************************************************************
52
53dnl **************************************************************************
54dnl * Set the location of various third-party software packages
55dnl **************************************************************************
56
57dnl Location of LLVM source code
58AC_ARG_WITH(llvmsrc,AC_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),AC_SUBST(LLVM_SRC,[$withval]),AC_SUBST(LLVM_SRC,[`cd ${srcdir}/../..; pwd`]))
59
60dnl Location of LLVM object code
61AC_ARG_WITH(llvmobj,AC_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),AC_SUBST(LLVM_OBJ,[$withval]),AC_SUBST(LLVM_OBJ,[`cd ../..; pwd`]))
62
63dnl **************************************************************************
64dnl * Create the output files
65dnl **************************************************************************
66AC_OUTPUT(Makefile.common)