diff options
author | Tom Tromey <tom@tromey.com> | 2017-11-21 12:15:33 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-11-27 16:53:21 -0700 |
commit | b22c88c2ca013cc25d7a8fcbc748122bb1a349bb (patch) | |
tree | eb14894718943eb3d5dfdf6de27efb022a5a6953 /gdb/configure | |
parent | 407e1140841f7fc337e90a7ba4482fb5a10c1701 (diff) | |
download | gdb-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')
-rwxr-xr-x | gdb/configure | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/configure b/gdb/configure index 55544fb..7655b45 100755 --- a/gdb/configure +++ b/gdb/configure @@ -736,7 +736,6 @@ LIBINTL_DEP LIBINTL USE_NLS CCDEPMODE -CONFIG_SRC_SUBDIR DEPDIR am__leading_dot CXX_DIALECT @@ -5958,13 +5957,6 @@ DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depdir" -# Create sub-directories for objects and dependencies. -CONFIG_SRC_SUBDIR="arch" - - -ac_config_commands="$ac_config_commands gdbdepdir" - - depcc="$CC" am_compiler_list= am_depcomp=$ac_aux_dir/depcomp @@ -18512,7 +18504,6 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # INIT-COMMANDS # ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR -ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR CONFIG_SRC_SUBDIR="$CONFIG_SRC_SUBDIR" _ACEOF @@ -18524,7 +18515,6 @@ do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;; - "gdbdepdir") CONFIG_COMMANDS="$CONFIG_COMMANDS gdbdepdir" ;; "jit-reader.h") CONFIG_FILES="$CONFIG_FILES jit-reader.h:jit-reader.in" ;; "$ac_config_links_1") CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;; "gcore") CONFIG_FILES="$CONFIG_FILES gcore" ;; @@ -19148,11 +19138,6 @@ $as_echo "$as_me: executing $ac_file commands" >&6;} case $ac_file$ac_mode in "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;; - "gdbdepdir":C) - for subdir in ${CONFIG_SRC_SUBDIR} - do - $SHELL $ac_aux_dir/mkinstalldirs $subdir/$DEPDIR - done ;; "gcore":F) chmod +x gcore ;; "Makefile":F) case x$CONFIG_HEADERS in |