aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/common.m4
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-03-12 14:18:00 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-03-12 14:18:00 -0400
commitdb6878ac5538661c8d66c916a533bd4268217fcb (patch)
tree1f0b30bbbff5a962e890827730014bbcfdc573e5 /gdbsupport/common.m4
parent4d696a5c686730d75623d7e41805e42ce5fcc60c (diff)
downloadgdb-db6878ac5538661c8d66c916a533bd4268217fcb.zip
gdb-db6878ac5538661c8d66c916a533bd4268217fcb.tar.gz
gdb-db6878ac5538661c8d66c916a533bd4268217fcb.tar.bz2
Move sourcing of development.sh to GDB_AC_COMMON
The same is done for gdb, gdbserver and gdbsupport. I therefore think it makes sense to move that to GDB_AC_COMMON. It is required to move the call to GDB_AC_COMMON so it is before GDB_AC_SELFTEST in gdbserver/configure.ac, otherwise the $development variable isn't set when the code behind GDB_AC_SELFTEST executes. gdb/ChangeLog: * configure.ac: Don't source bfd/development.sh. * selftest.m4: Modify comment. * configure: Re-generate. gdbserver/ChangeLog: * configure.ac: Don't source bfd/development.sh, move GDB_AC_COMMON higher. * configure: Re-generate. gdbsupport/ChangeLog: * configure.ac: Don't source bfd/development.sh. * common.m4: Source bfd/development.sh. * configure: Re-generate.
Diffstat (limited to 'gdbsupport/common.m4')
-rw-r--r--gdbsupport/common.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4
index 68a3545..e670586 100644
--- a/gdbsupport/common.m4
+++ b/gdbsupport/common.m4
@@ -18,6 +18,9 @@ dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
dnl Invoke configury needed by the files in 'common'.
AC_DEFUN([GDB_AC_COMMON], [
+ # Set the 'development' global.
+ . $srcdir/../bfd/development.sh
+
AC_HEADER_STDC
AC_FUNC_ALLOCA