[llvm-commits] CVS: poolalloc/Makefile.common.in configure

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


Changes in directory poolalloc:

Makefile.common.in updated: 1.4 -> 1.5
configure updated: 1.3 -> 1.4

---
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/Makefile.common.in
diff -u poolalloc/Makefile.common.in:1.4 poolalloc/Makefile.common.in:1.5
--- poolalloc/Makefile.common.in:1.4	Wed Sep 10 10:13:01 2003
+++ poolalloc/Makefile.common.in	Tue Sep 30 11:31:24 2003
@@ -12,7 +12,7 @@
 #
 # Include LLVM's Master Makefile.
 #
-include $(LLVM_SRC_ROOT)/Makefile.config
+include $(LLVM_OBJ_ROOT)/Makefile.config
 
 #
 # Set the source root and source directory pathnames


Index: poolalloc/configure
diff -u poolalloc/configure:1.3 poolalloc/configure:1.4
--- poolalloc/configure:1.3	Wed Sep 10 10:13:01 2003
+++ poolalloc/configure	Tue Sep 30 11:31:24 2003
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
+# Generated by GNU Autoconf 2.57 for [Pool Allocation] [1.0].
 #
 # Report bugs to <llvmbugs at cs.uiuc.edu>.
 #
@@ -266,10 +266,10 @@
 : ${ac_max_here_lines=38}
 
 # Identity of this package.
-PACKAGE_NAME='[LLVM]'
-PACKAGE_TARNAME='--llvm--'
+PACKAGE_NAME='[Pool Allocation]'
+PACKAGE_TARNAME='--pool-allocation--'
 PACKAGE_VERSION='[1.0]'
-PACKAGE_STRING='[LLVM] [1.0]'
+PACKAGE_STRING='[Pool Allocation] [1.0]'
 PACKAGE_BUGREPORT='llvmbugs at cs.uiuc.edu'
 
 ac_unique_file=""Makefile.common.in""
@@ -722,7 +722,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
+\`configure' configures [Pool Allocation] [1.0] to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -779,7 +779,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
+     short | recursive ) echo "Configuration of [Pool Allocation] [1.0]:";;
    esac
   cat <<\_ACEOF
 
@@ -852,7 +852,7 @@
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-[LLVM] configure [1.0]
+[Pool Allocation] configure [1.0]
 generated by GNU Autoconf 2.57
 
 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
@@ -867,7 +867,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by [LLVM] $as_me [1.0], which was
+It was created by [Pool Allocation] $as_me [1.0], which was
 generated by GNU Autoconf 2.57.  Invocation command line was
 
   $ $0 $@
@@ -1230,6 +1230,27 @@
 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
 
+          ac_config_commands="$ac_config_commands Makefile"
+
+
+          ac_config_commands="$ac_config_commands lib/Makefile"
+
+
+          ac_config_commands="$ac_config_commands lib/PoolAllocate/Makefile"
+
+
+          ac_config_commands="$ac_config_commands runtime/Makefile"
+
+
+          ac_config_commands="$ac_config_commands runtime/PoolAllocator/Makefile"
+
+
+          ac_config_commands="$ac_config_commands test/Makefile"
+
+
+          ac_config_commands="$ac_config_commands test/TEST.poolalloc.Makefile"
+
+
 
 
 
@@ -1248,7 +1269,7 @@
   LLVM_SRC=$withval
 
 else
-  LLVM_SRC=/home/vadve/${USER}/llvm
+  LLVM_SRC=`cd ${srcdir}/../..; pwd`
 
 fi;
 
@@ -1259,7 +1280,7 @@
   LLVM_OBJ=$withval
 
 else
-  LLVM_OBJ=/home/vadve/${USER}/llvm
+  LLVM_OBJ=`cd ../..; pwd`
 
 fi;
 
@@ -1655,7 +1676,7 @@
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by [LLVM] $as_me [1.0], which was
+This file was extended by [Pool Allocation] $as_me [1.0], which was
 generated by GNU Autoconf 2.57.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -1705,12 +1726,15 @@
 Configuration files:
 $config_files
 
+Configuration commands:
+$config_commands
+
 Report bugs to <bug-autoconf at gnu.org>."
 _ACEOF
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-[LLVM] config.status [1.0]
+[Pool Allocation] config.status [1.0]
 configured by $0, generated by GNU Autoconf 2.57,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
@@ -1804,7 +1828,20 @@
 
 _ACEOF
 
+cat >>$CONFIG_STATUS <<_ACEOF
+#
+# INIT-COMMANDS section.
+#
+
+${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/PoolAllocate/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname runtime/PoolAllocator/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname test/TEST.poolalloc.Makefile`
 
+_ACEOF
 
 
 
@@ -1814,6 +1851,13 @@
   case "$ac_config_target" in
   # Handling of arguments.
   "Makefile.common" ) CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
+  "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
+  "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
+  "lib/PoolAllocate/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/PoolAllocate/Makefile" ;;
+  "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
+  "runtime/PoolAllocator/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/PoolAllocator/Makefile" ;;
+  "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
+  "test/TEST.poolalloc.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/TEST.poolalloc.Makefile" ;;
   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    { (exit 1); exit 1; }; };;
@@ -1826,6 +1870,7 @@
 # bizarre bug on SunOS 4.1.3.
 if $ac_need_defaults; then
   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 fi
 
 # Have a temporary directory for convenience.  Make it in the build tree
@@ -2099,6 +2144,72 @@
     rm -f $tmp/out
   fi
 
+done
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+
+#
+# CONFIG_COMMANDS section.
+#
+for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
+  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
+  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
+  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
+$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+         X"$ac_dest" : 'X\(//\)[^/]' \| \
+         X"$ac_dest" : 'X\(//\)$' \| \
+         X"$ac_dest" : 'X\(/\)' \| \
+         .     : '\(.\)' 2>/dev/null ||
+echo X"$ac_dest" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
+  ac_builddir=.
+
+if test "$ac_dir" != .; then
+  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+  # A "../" for each directory in $ac_dir_suffix.
+  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
+else
+  ac_dir_suffix= ac_top_builddir=
+fi
+
+case $srcdir in
+  .)  # No --srcdir option.  We are building in place.
+    ac_srcdir=.
+    if test -z "$ac_top_builddir"; then
+       ac_top_srcdir=.
+    else
+       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
+    fi ;;
+  [\\/]* | ?:[\\/]* )  # Absolute path.
+    ac_srcdir=$srcdir$ac_dir_suffix;
+    ac_top_srcdir=$srcdir ;;
+  *) # Relative path.
+    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+    ac_top_srcdir=$ac_top_builddir$srcdir ;;
+esac
+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
+# absolute.
+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+
+
+  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
+echo "$as_me: executing $ac_dest commands" >&6;}
+  case $ac_dest in
+    Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
+    lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
+    lib/PoolAllocate/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/PoolAllocate/Makefile lib/PoolAllocate/Makefile ;;
+    runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
+    runtime/PoolAllocator/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/PoolAllocator/Makefile runtime/PoolAllocator/Makefile ;;
+    test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
+    test/TEST.poolalloc.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/TEST.poolalloc.Makefile test/TEST.poolalloc.Makefile ;;
+  esac
 done
 _ACEOF
 





More information about the llvm-commits mailing list