blob: eeb5b727d04fbdb11449cd13fb84b117b0348561 [file] [log] [blame]
John Criswell02af8462003-11-25 19:59:59 +00001dnl **************************************************************************
2dnl * Initialize
3dnl **************************************************************************
4AC_INIT([[[ModuleMaker]]],[[[x.xx]]],[bugs@yourdomain])
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 exists within your source tree
13
14AC_CONFIG_MAKEFILE(Makefile)
15
16dnl **************************************************************************
17dnl * Determine which system we are building on
18dnl **************************************************************************
19
20dnl **************************************************************************
21dnl * Check for programs.
22dnl **************************************************************************
23
24dnl Verify that the source directory is valid
25AC_CONFIG_SRCDIR(["Makefile.common.in"])
26
27dnl **************************************************************************
28dnl * Check for libraries.
29dnl **************************************************************************
30
31dnl **************************************************************************
32dnl * Checks for header files.
33dnl **************************************************************************
34
35dnl **************************************************************************
36dnl * Checks for typedefs, structures, and compiler characteristics.
37dnl **************************************************************************
38
39dnl **************************************************************************
40dnl * Checks for library functions.
41dnl **************************************************************************
42
43dnl **************************************************************************
44dnl * Enable various compile-time options
45dnl **************************************************************************
46
47dnl **************************************************************************
48dnl * Set the location of various third-party software packages
49dnl **************************************************************************
50
51dnl Location of LLVM source code
52AC_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`]))
53
54dnl Location of LLVM object code
55AC_ARG_WITH(llvmobj,AC_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),AC_SUBST(LLVM_OBJ,[$withval]),AC_SUBST(LLVM_OBJ,[`cd ../..; pwd`]))
56
57dnl **************************************************************************
58dnl * Create the output files
59dnl **************************************************************************
60AC_OUTPUT(Makefile.common)