blob: 4df99dfd1dc925840416bd592b295294f6fe3096 [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)
18AC_CONFIG_MAKEFILE(tools/Makefile)
19AC_CONFIG_MAKEFILE(tools/stkrc/Makefile)
20
21dnl **************************************************************************
22dnl * Determine which system we are building on
23dnl **************************************************************************
24
25dnl **************************************************************************
26dnl * Check for programs.
27dnl **************************************************************************
28
29dnl Verify that the source directory is valid
30AC_CONFIG_SRCDIR([Makefile.common.in])
31
32dnl **************************************************************************
33dnl * Check for libraries.
34dnl **************************************************************************
35
36dnl **************************************************************************
37dnl * Checks for header files.
38dnl **************************************************************************
39
40dnl **************************************************************************
41dnl * Checks for typedefs, structures, and compiler characteristics.
42dnl **************************************************************************
43
44dnl **************************************************************************
45dnl * Checks for library functions.
46dnl **************************************************************************
47
48dnl **************************************************************************
49dnl * Enable various compile-time options
50dnl **************************************************************************
51
52dnl **************************************************************************
53dnl * Set the location of various third-party software packages
54dnl **************************************************************************
55
56dnl Location of LLVM source code
57AC_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`]))
58
59dnl Location of LLVM object code
60AC_ARG_WITH(llvmobj,AC_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),AC_SUBST(LLVM_OBJ,[$withval]),AC_SUBST(LLVM_OBJ,[`cd ../..; pwd`]))
61
62dnl **************************************************************************
63dnl * Create the output files
64dnl **************************************************************************
65AC_OUTPUT(Makefile.common)