aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-11-21 12:15:33 -0700
committerTom Tromey <tom@tromey.com>2017-11-27 16:53:21 -0700
commitb22c88c2ca013cc25d7a8fcbc748122bb1a349bb (patch)
treeeb14894718943eb3d5dfdf6de27efb022a5a6953 /gdb/configure.ac
parent407e1140841f7fc337e90a7ba4482fb5a10c1701 (diff)
downloadgdb-b22c88c2ca013cc25d7a8fcbc748122bb1a349bb.zip
gdb-b22c88c2ca013cc25d7a8fcbc748122bb1a349bb.tar.gz
gdb-b22c88c2ca013cc25d7a8fcbc748122bb1a349bb.tar.bz2
A simpler way to make the "arch" build directory
This implements a simpler way to make the "arch" build directory -- namely, now it is done as an order-only dependency in the Makefile, rather than being created when config.status is run. This simpler because it means that the build directories can be changed without re-running autoconf. ChangeLog 2017-11-27 Tom Tromey <tom@tromey.com> * configure.ac (CONFIG_SRC_SUBDIR): Don't subst. * configure: Rebuild. * Makefile.in (CONFIG_SRC_SUBDIR): Redefine. (CONFIG_DEP_SUBDIR): New variable. (%.o): Add order-only dependency. ($(CONFIG_DEP_SUBDIR)): New target.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index d43899c..5ded21a 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -44,17 +44,6 @@ AX_CXX_COMPILE_STDCXX(11, , mandatory)
# Dependency checking.
ZW_CREATE_DEPDIR
-# Create sub-directories for objects and dependencies.
-CONFIG_SRC_SUBDIR="arch"
-AC_SUBST(CONFIG_SRC_SUBDIR)
-
-AC_CONFIG_COMMANDS([gdbdepdir],[
- for subdir in ${CONFIG_SRC_SUBDIR}
- do
- $SHELL $ac_aux_dir/mkinstalldirs $subdir/$DEPDIR
- done],
- [ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR CONFIG_SRC_SUBDIR="$CONFIG_SRC_SUBDIR"])
-
ZW_PROG_COMPILER_DEPENDENCIES([CC])
gnulib_extra_configure_args=