blob: 43a2e903efd1b77739b28493365aa6d5019957d1 [file] [log] [blame]
John Criswell607b1ea2003-10-16 01:44:20 +00001dnl **************************************************************************
2dnl * Initialize
3dnl **************************************************************************
4AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs@yourdomain])
5
Reid Spencer1a87ddc2005-02-24 18:50:53 +00006dnl Tell autoconf that the auxilliary files are actually located in
7dnl the LLVM autoconf directory, not here.
8AC_CONFIG_AUX_DIR(../../autoconf)
John Criswell607b1ea2003-10-16 01:44:20 +00009
Reid Spencer1a87ddc2005-02-24 18:50:53 +000010dnl Tell autoconf that this is an LLVM project being configured
11dnl This provides the --with-llvmsrc and --with-llvmobj options
12LLVM_CONFIG_PROJECT
13
14dnl Verify that the source directory is valid
15AC_CONFIG_SRCDIR(["Makefile.common.in"])
16
17dnl Configure a common Makefile
Reid Spencer38fd88a2005-01-05 06:41:10 +000018AC_CONFIG_FILES(Makefile.common)
John Criswell607b1ea2003-10-16 01:44:20 +000019
Reid Spencer1a87ddc2005-02-24 18:50:53 +000020dnl Configure project makefiles
21dnl List every Makefile that exists within your source tree
John Criswell607b1ea2003-10-16 01:44:20 +000022AC_CONFIG_MAKEFILE(Makefile)
23AC_CONFIG_MAKEFILE(lib/Makefile)
24AC_CONFIG_MAKEFILE(lib/sample/Makefile)
25AC_CONFIG_MAKEFILE(tools/Makefile)
26AC_CONFIG_MAKEFILE(tools/sample/Makefile)
27
28dnl **************************************************************************
29dnl * Determine which system we are building on
30dnl **************************************************************************
31
32dnl **************************************************************************
33dnl * Check for programs.
34dnl **************************************************************************
35
John Criswell607b1ea2003-10-16 01:44:20 +000036dnl **************************************************************************
37dnl * Check for libraries.
38dnl **************************************************************************
39
40dnl **************************************************************************
41dnl * Checks for header files.
42dnl **************************************************************************
43
44dnl **************************************************************************
45dnl * Checks for typedefs, structures, and compiler characteristics.
46dnl **************************************************************************
47
48dnl **************************************************************************
49dnl * Checks for library functions.
50dnl **************************************************************************
51
52dnl **************************************************************************
53dnl * Enable various compile-time options
54dnl **************************************************************************
55
56dnl **************************************************************************
57dnl * Set the location of various third-party software packages
58dnl **************************************************************************
59
John Criswell607b1ea2003-10-16 01:44:20 +000060dnl **************************************************************************
61dnl * Create the output files
62dnl **************************************************************************
Reid Spencer1a87ddc2005-02-24 18:50:53 +000063
64dnl This must be last
Reid Spencer9964cd82005-01-01 09:26:55 +000065AC_OUTPUT