diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-10-25 18:35:05 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-10-25 21:25:34 -0400 |
commit | 6e9f84bca35fff9b13f6bff9fc401f6bbe7c1175 (patch) | |
tree | 1893b44a97fede64bf209b4de6d392d01f08bd23 /libctf/ctf-string.c | |
parent | 48d51796af3f196c39defb33a711fe906600f986 (diff) | |
download | binutils-6e9f84bca35fff9b13f6bff9fc401f6bbe7c1175.zip binutils-6e9f84bca35fff9b13f6bff9fc401f6bbe7c1175.tar.gz binutils-6e9f84bca35fff9b13f6bff9fc401f6bbe7c1175.tar.bz2 |
gdbserver: modernize configure.ac
Run autoupdate on gdbserver/configure.ac and then tweak it to use easier
to read indentation. This removes a few warnings when running
`autoreconf -vf -Wall`.
* Replace AC_INIT with AC_INIT and no arguments plus AC_CONFIG_SRCDIR.
* Replace AC_GNU_SOURCE with AC_USE_SYSTEM_EXTENSIONS.
* Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE.
* Replace AC_TRY_LINK with AC_LINK_IFELSE.
autoupdate gets it right, except this one here:
--- a/gdbserver/configure.ac
+++ b/gdbserver/configure.ac
@@ -304,7 +304,7 @@ if test "$srv_linux_thread_db" = "yes"; then
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[found="-Wl,--dynamic-list"
RDYNAMIC='-Wl,--dynamic-list=$(srcdir)/proc-service.list'],[RDYNAMIC="-rdynamic"
LDFLAGS="$old_LDFLAGS $RDYNAMIC"
- AC_TRY_LINK([], [],
+ _au_m4_changequote([,])AC_TRY_LINK([], [],
[found="-rdynamic"],
[found="no"
RDYNAMIC=""])])
... which I had to convert manually.
The changes in the generated configure file only contain insignificant
whitespace changes, so that gives confidence that the conversion is
correct.
gdbserver/ChangeLog:
* configure.ac: Modernize.
* configure: Re-generate.
Change-Id: Ia769aaec2aafac595504f477da955e91dffa4d8f
Diffstat (limited to 'libctf/ctf-string.c')
0 files changed, 0 insertions, 0 deletions