summaryrefslogtreecommitdiffstats
path: root/llvm/projects/SmallExamples/ModuleMaker/autoconf/configure.ac
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-19 20:16:42 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-19 20:16:42 +0000
commit90b057bf2a5e902e991ae24579aeec5d26bd0eec (patch)
treeb6d0113eb0c322d6a61214213ad06d432f974a99 /llvm/projects/SmallExamples/ModuleMaker/autoconf/configure.ac
parentf30f28e05f1617662e40adabb174f7949de2c035 (diff)
downloadbcm5719-llvm-90b057bf2a5e902e991ae24579aeec5d26bd0eec.tar.gz
bcm5719-llvm-90b057bf2a5e902e991ae24579aeec5d26bd0eec.zip
Moved these files to "SmallExamples" directory.
llvm-svn: 15925
Diffstat (limited to 'llvm/projects/SmallExamples/ModuleMaker/autoconf/configure.ac')
-rw-r--r--llvm/projects/SmallExamples/ModuleMaker/autoconf/configure.ac60
1 files changed, 60 insertions, 0 deletions
diff --git a/llvm/projects/SmallExamples/ModuleMaker/autoconf/configure.ac b/llvm/projects/SmallExamples/ModuleMaker/autoconf/configure.ac
new file mode 100644
index 00000000000..eeb5b727d04
--- /dev/null
+++ b/llvm/projects/SmallExamples/ModuleMaker/autoconf/configure.ac
@@ -0,0 +1,60 @@
+dnl **************************************************************************
+dnl * Initialize
+dnl **************************************************************************
+AC_INIT([[[ModuleMaker]]],[[[x.xx]]],[bugs@yourdomain])
+
+dnl Place all of the extra autoconf files into the config subdirectory
+AC_CONFIG_AUX_DIR([autoconf])
+
+dnl Configure a header file
+
+dnl Configure Makefiles
+dnl List every Makefile that exists within your source tree
+
+AC_CONFIG_MAKEFILE(Makefile)
+
+dnl **************************************************************************
+dnl * Determine which system we are building on
+dnl **************************************************************************
+
+dnl **************************************************************************
+dnl * Check for programs.
+dnl **************************************************************************
+
+dnl Verify that the source directory is valid
+AC_CONFIG_SRCDIR(["Makefile.common.in"])
+
+dnl **************************************************************************
+dnl * Check for libraries.
+dnl **************************************************************************
+
+dnl **************************************************************************
+dnl * Checks for header files.
+dnl **************************************************************************
+
+dnl **************************************************************************
+dnl * Checks for typedefs, structures, and compiler characteristics.
+dnl **************************************************************************
+
+dnl **************************************************************************
+dnl * Checks for library functions.
+dnl **************************************************************************
+
+dnl **************************************************************************
+dnl * Enable various compile-time options
+dnl **************************************************************************
+
+dnl **************************************************************************
+dnl * Set the location of various third-party software packages
+dnl **************************************************************************
+
+dnl Location of LLVM source code
+AC_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`]))
+
+dnl Location of LLVM object code
+AC_ARG_WITH(llvmobj,AC_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),AC_SUBST(LLVM_OBJ,[$withval]),AC_SUBST(LLVM_OBJ,[`cd ../..; pwd`]))
+
+dnl **************************************************************************
+dnl * Create the output files
+dnl **************************************************************************
+AC_OUTPUT(Makefile.common)
OpenPOWER on IntegriCloud