diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-03-12 14:18:00 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-03-12 14:18:00 -0400 |
commit | db6878ac5538661c8d66c916a533bd4268217fcb (patch) | |
tree | 1f0b30bbbff5a962e890827730014bbcfdc573e5 /gdbserver/configure.ac | |
parent | 4d696a5c686730d75623d7e41805e42ce5fcc60c (diff) | |
download | gdb-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 'gdbserver/configure.ac')
-rw-r--r-- | gdbserver/configure.ac | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdbserver/configure.ac b/gdbserver/configure.ac index be2284b..db9d457 100644 --- a/gdbserver/configure.ac +++ b/gdbserver/configure.ac @@ -43,8 +43,7 @@ AX_CXX_COMPILE_STDCXX(11, , mandatory) AC_HEADER_STDC -# Set the 'development' global. -. $srcdir/../bfd/development.sh +GDB_AC_COMMON GDB_AC_SELFTEST([ srv_selftest_objs="gdbsupport/selftest.o" @@ -77,8 +76,6 @@ AC_CHECK_HEADERS(termios.h sys/reg.h string.h dnl AC_FUNC_FORK AC_CHECK_FUNCS(pread pwrite pread64) -GDB_AC_COMMON - # Check the return and argument types of ptrace. GDB_AC_PTRACE |