[llvm-commits] CVS: llvm/projects/sample/autoconf/configure.ac

Reid Spencer reid at x10sys.com
Thu Feb 24 10:51:04 PST 2005

Changes in directory llvm/projects/sample/autoconf:

configure.ac updated: 1.3 -> 1.4
Log message:

* Move all the "standard" configuration stuff to the start of the file
* Make the auxilliary directory be llvm/autoconf not the project's
* Use the LLVM_CONFIG_PROJECT macro to get the --with-llvm{src,obj} args

Diffs of the changes:  (+15 -15)

 configure.ac |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

Index: llvm/projects/sample/autoconf/configure.ac
diff -u llvm/projects/sample/autoconf/configure.ac:1.3 llvm/projects/sample/autoconf/configure.ac:1.4
--- llvm/projects/sample/autoconf/configure.ac:1.3	Wed Jan  5 00:41:10 2005
+++ llvm/projects/sample/autoconf/configure.ac	Thu Feb 24 12:50:53 2005
@@ -3,15 +3,22 @@
 dnl **************************************************************************
 AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs at yourdomain])
-dnl Place all of the extra autoconf files into the config subdirectory
+dnl Tell autoconf that the auxilliary files are actually located in
+dnl the LLVM autoconf directory, not here.
+dnl Tell autoconf that this is an LLVM project being configured
+dnl This provides the --with-llvmsrc and --with-llvmobj options
-dnl Configure a header file
+dnl Verify that the source directory is valid
-dnl Configure Makefiles
-dnl List every Makefile that ecists within your source tree
+dnl Configure a common Makefile
+dnl Configure project makefiles
+dnl List every Makefile that exists within your source tree
@@ -26,9 +33,6 @@
 dnl * Check for programs.
 dnl **************************************************************************
-dnl Verify that the source directory is valid
 dnl **************************************************************************
 dnl * Check for libraries.
 dnl **************************************************************************
@@ -53,13 +57,9 @@
 dnl * Set the location of various third-party software packages
 dnl **************************************************************************
-dnl Location of LLVM source code
-AC_ARG_WITH(llvmsrc,AS_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,AS_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 **************************************************************************
+dnl This must be last

More information about the llvm-commits mailing list