[llvm-commits] CVS: reopt/configure
John Criswell
criswell at cs.uiuc.edu
Tue Sep 30 10:32:06 PDT 2003
Changes in directory reopt:
configure updated: 1.3 -> 1.4
---
Log message:
Added the ability to configure reopt with separate source and object root
directories.
---
Diffs of the changes:
Index: reopt/configure
diff -u reopt/configure:1.3 reopt/configure:1.4
--- reopt/configure:1.3 Wed Sep 10 10:05:13 2003
+++ reopt/configure Tue Sep 30 10:31:10 2003
@@ -1231,6 +1231,55 @@
+ ac_config_commands="$ac_config_commands Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/BinInterface/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/Inst/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/Inst/lib/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/Inst/lib/Phase1/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/Inst/rtl/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/LightWtProfiling/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/Mapping/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/ScratchMemory/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/TraceCache/Makefile"
+
+
+ ac_config_commands="$ac_config_commands lib/Trigger/Makefile"
+
+
+ ac_config_commands="$ac_config_commands test/Makefile"
+
+
+ ac_config_commands="$ac_config_commands test/TEST.reopt.Makefile"
+
+
+ ac_config_commands="$ac_config_commands tools/Makefile"
+
+
+ ac_config_commands="$ac_config_commands tools/mkexcl/Makefile"
+
+
+
@@ -1259,7 +1308,7 @@
LLVM_OBJ=$withval
else
- LLVM_OBJ=/home/vadve/${USER}/llvm
+ LLVM_OBJ=`cd ../..; pwd`
fi;
@@ -1705,6 +1754,9 @@
Configuration files:
$config_files
+Configuration commands:
+$config_commands
+
Report bugs to <bug-autoconf at gnu.org>."
_ACEOF
@@ -1804,7 +1856,29 @@
_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
+#
+# INIT-COMMANDS section.
+#
+
+${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/BinInterface/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/Inst/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/Inst/lib/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/Inst/lib/Phase1/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/Inst/rtl/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/LightWtProfiling/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/Mapping/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/ScratchMemory/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/TraceCache/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname lib/Trigger/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname test/TEST.reopt.Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
+${srcdir}/autoconf/mkinstalldirs `dirname tools/mkexcl/Makefile`
+_ACEOF
@@ -1814,6 +1888,22 @@
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/BinInterface/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/BinInterface/Makefile" ;;
+ "lib/Inst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Inst/Makefile" ;;
+ "lib/Inst/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Inst/lib/Makefile" ;;
+ "lib/Inst/lib/Phase1/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Inst/lib/Phase1/Makefile" ;;
+ "lib/Inst/rtl/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Inst/rtl/Makefile" ;;
+ "lib/LightWtProfiling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/LightWtProfiling/Makefile" ;;
+ "lib/Mapping/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Mapping/Makefile" ;;
+ "lib/ScratchMemory/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ScratchMemory/Makefile" ;;
+ "lib/TraceCache/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/TraceCache/Makefile" ;;
+ "lib/Trigger/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Trigger/Makefile" ;;
+ "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
+ "test/TEST.reopt.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/TEST.reopt.Makefile" ;;
+ "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
+ "tools/mkexcl/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/mkexcl/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 +1916,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 +2190,81 @@
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/BinInterface/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/BinInterface/Makefile lib/BinInterface/Makefile ;;
+ lib/Inst/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Inst/Makefile lib/Inst/Makefile ;;
+ lib/Inst/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Inst/lib/Makefile lib/Inst/lib/Makefile ;;
+ lib/Inst/lib/Phase1/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Inst/lib/Phase1/Makefile lib/Inst/lib/Phase1/Makefile ;;
+ lib/Inst/rtl/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Inst/rtl/Makefile lib/Inst/rtl/Makefile ;;
+ lib/LightWtProfiling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/LightWtProfiling/Makefile lib/LightWtProfiling/Makefile ;;
+ lib/Mapping/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Mapping/Makefile lib/Mapping/Makefile ;;
+ lib/ScratchMemory/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ScratchMemory/Makefile lib/ScratchMemory/Makefile ;;
+ lib/TraceCache/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/TraceCache/Makefile lib/TraceCache/Makefile ;;
+ lib/Trigger/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Trigger/Makefile lib/Trigger/Makefile ;;
+ test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
+ test/TEST.reopt.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/TEST.reopt.Makefile test/TEST.reopt.Makefile ;;
+ tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
+ tools/mkexcl/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/mkexcl/Makefile tools/mkexcl/Makefile ;;
+ esac
done
_ACEOF
More information about the llvm-commits
mailing list