[llvm-commits] CVS: poolalloc/autoconf/aclocal.m4 configure.ac

John Criswell criswell at cs.uiuc.edu
Tue Sep 30 11:32:08 PDT 2003


Changes in directory poolalloc/autoconf:

aclocal.m4 updated: 1.1.1.1 -> 1.2
configure.ac updated: 1.2 -> 1.3

---
Log message:

Updated poolalloc so that it can configure for multiple object roots and can
be configured by the LLVM tree configure script.



---
Diffs of the changes:

Index: poolalloc/autoconf/aclocal.m4
diff -u poolalloc/autoconf/aclocal.m4:1.1.1.1 poolalloc/autoconf/aclocal.m4:1.2
--- poolalloc/autoconf/aclocal.m4:1.1.1.1	Mon Aug 11 16:29:15 2003
+++ poolalloc/autoconf/aclocal.m4	Tue Sep 30 11:31:25 2003
@@ -6156,3 +6156,13 @@
 fi
 ])
 
+#
+# Configure a Makefile without clobbering it if it exists and is not out of
+# date.  This is modified from:
+# http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_have_ext_slist.html
+#
+AC_DEFUN([AC_CONFIG_MAKEFILE],
+[AC_CONFIG_COMMANDS($1,${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/$1 $1,${srcdir}/autoconf/mkinstalldirs `dirname $1`)
+])
+
+


Index: poolalloc/autoconf/configure.ac
diff -u poolalloc/autoconf/configure.ac:1.2 poolalloc/autoconf/configure.ac:1.3
--- poolalloc/autoconf/configure.ac:1.2	Wed Sep 10 10:13:02 2003
+++ poolalloc/autoconf/configure.ac	Tue Sep 30 11:31:25 2003
@@ -15,13 +15,19 @@
 dnl **************************************************************************
 dnl * Initialize
 dnl **************************************************************************
-AC_INIT([[[LLVM]]],[[[1.0]]],[llvmbugs at cs.uiuc.edu])
+AC_INIT([[[Pool Allocation]]],[[[1.0]]],[llvmbugs at cs.uiuc.edu])
 
 dnl Place all of the extra autoconf files into the config subdirectory
 AC_CONFIG_AUX_DIR([autoconf])
 
-dnl Configure a header file
-dnl AC_CONFIG_HEADERS(include/Config/config.h)
+dnl Configure Makefiles
+AC_CONFIG_MAKEFILE(Makefile)
+AC_CONFIG_MAKEFILE(lib/Makefile)
+AC_CONFIG_MAKEFILE(lib/PoolAllocate/Makefile)
+AC_CONFIG_MAKEFILE(runtime/Makefile)
+AC_CONFIG_MAKEFILE(runtime/PoolAllocator/Makefile)
+AC_CONFIG_MAKEFILE(test/Makefile)
+AC_CONFIG_MAKEFILE(test/TEST.poolalloc.Makefile)
 
 dnl **************************************************************************
 dnl * Determine which system we are building on
@@ -66,10 +72,10 @@
 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,[/home/vadve/${USER}/llvm]))
+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,[/home/vadve/${USER}/llvm]))
+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





More information about the llvm-commits mailing list