1 dnl **************************************************************************
3 dnl **************************************************************************
4 AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs@yourdomain])
6 dnl Tell autoconf that the auxilliary files are actually located in
7 dnl the LLVM autoconf directory, not here.
8 AC_CONFIG_AUX_DIR(../../autoconf)
10 dnl Tell autoconf that this is an LLVM project being configured
11 dnl This provides the --with-llvmsrc and --with-llvmobj options
14 dnl Verify that the source directory is valid
15 AC_CONFIG_SRCDIR(["Makefile.common.in"])
17 dnl Configure a common Makefile
18 AC_CONFIG_FILES(Makefile.common)
20 dnl Configure project makefiles
21 dnl List every Makefile that exists within your source tree
22 AC_CONFIG_MAKEFILE(Makefile)
23 AC_CONFIG_MAKEFILE(lib/Makefile)
24 AC_CONFIG_MAKEFILE(lib/sample/Makefile)
25 AC_CONFIG_MAKEFILE(tools/Makefile)
26 AC_CONFIG_MAKEFILE(tools/sample/Makefile)
28 dnl **************************************************************************
29 dnl * Determine which system we are building on
30 dnl **************************************************************************
32 dnl **************************************************************************
33 dnl * Check for programs.
34 dnl **************************************************************************
36 dnl **************************************************************************
37 dnl * Check for libraries.
38 dnl **************************************************************************
40 dnl **************************************************************************
41 dnl * Checks for header files.
42 dnl **************************************************************************
44 dnl **************************************************************************
45 dnl * Checks for typedefs, structures, and compiler characteristics.
46 dnl **************************************************************************
48 dnl **************************************************************************
49 dnl * Checks for library functions.
50 dnl **************************************************************************
52 dnl **************************************************************************
53 dnl * Enable various compile-time options
54 dnl **************************************************************************
56 dnl **************************************************************************
57 dnl * Set the location of various third-party software packages
58 dnl **************************************************************************
60 dnl **************************************************************************
61 dnl * Create the output files
62 dnl **************************************************************************