aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/configure.ac
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2022-09-08 02:54:15 +0000
committerTsukasa OI <research_trasio@irq.a4lg.com>2022-09-08 11:03:12 +0000
commit39eedb20b7e95e469d11667c11233233e9d0226b (patch)
tree5db39727bd137c79790e15c601fc42d212e2d22e /gdbsupport/configure.ac
parenta88ad4917abb4919961c334ce2372ee1b3e9a2ac (diff)
downloadgdb-39eedb20b7e95e469d11667c11233233e9d0226b.zip
gdb-39eedb20b7e95e469d11667c11233233e9d0226b.tar.gz
gdb-39eedb20b7e95e469d11667c11233233e9d0226b.tar.bz2
gdbsupport: Fix config.status dependency
Commit 171fba11ab27 ("Make GDBserver abort on internal error in development mode") created a new substitution CONFIG_STATUS_DEPENDENCIES but this is used by Makefile.in (which is not regenerated by that commit). After regenerating it, it is found that CONFIG_STATUS_DEPENDENCIES value is not valid, making gdbsupport fail to build. Since the CONFIG_STATUS_DEPENDENCIES value is used in the Makefile, macro substitution must have a Makefile format but commit 171fba11ab27 used shell format "$srcdir/../bfd/development.sh". This commit fixes this issue by substituting "$srcdir" (shell format) to "$(srcdir)" (Makefile format). It preserves the dependency as Pedro intended and fixes the build problem. It also regenerates corresponding files with the maintainer mode. gdbsupport/ChangeLog: * configure.ac: Fix config.status dependency. * Makefile.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'gdbsupport/configure.ac')
-rw-r--r--gdbsupport/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbsupport/configure.ac b/gdbsupport/configure.ac
index ac2ade6..3b461bc 100644
--- a/gdbsupport/configure.ac
+++ b/gdbsupport/configure.ac
@@ -81,7 +81,7 @@ case ${host} in
;;
esac
-AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$srcdir/../bfd/development.sh'])
+AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(srcdir)/../bfd/development.sh'])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT