~ubuntu-support-team/binutils/+git/binutils-gdb:users/simark/autoconf-warnings

Last commit made on 2020-10-26
Get this branch:
git clone -b users/simark/autoconf-warnings https://git.launchpad.net/~ubuntu-support-team/binutils/+git/binutils-gdb

Branch merges

Branch information

Name:
users/simark/autoconf-warnings
Repository:
lp:~ubuntu-support-team/binutils/+git/binutils-gdb

Recent commits

0360e91... by Simon Marchi

gdbserver: replace AC_TRY_COMPILE in acinclude.m4

... with AC_COMPILE_IFELSE and AC_LANG_PROGRAM.

All changes in the generated configure file are insignificant
whitespace changes.

gdbserver/ChangeLog:

 * acinclude.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
 AC_LANG_PROGRAM.
 * configure: Re-generate.

Change-Id: Idab8b5e1a984046b5283940c02e5a22da2291d58

c25fef3... by Simon Marchi

gdb: replace AC_TRY_LINK in sanitize.m4

... with AC_LINK_IFELSE + AC_LANG_PROGRAM.

All changes in the generated configure file are insignificant whitespace
changes.

gdb/ChangeLog:

 * configure: Re-generate.
 * sanitize.m4: Replace AC_TRY_LINK with AC_LINK_IFELSE +
 AC_LANG_PROGRAM.

Change-Id: I6fc4c39e10b28d2ade964e0d59a7f8ec0d3a272a

f59bf08... by Simon Marchi

gdbsupport: replace AC_TRY_COMPILE in common.m4

... with AC_COMPILE_IFELSE + AC_LANG_PROGRAM. All the changes in the
generated configure files are insignificant whitespace changes.

gdb/ChangeLog:

 * configure: Re-generate.

gdbserver/ChangeLog:

 * configure: Re-generate.

gdbsupport/ChangeLog:

 * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
 AC_LANG_PROGRAM.
 * configure: Re-generate.

Change-Id: Id58e6e887f6be817d52b189921845838031dbd2a

b6f228d... by Simon Marchi

gdbsupport: use AC_FUNC_FORK instead of AC_FUNC_VFORK

autoupdate does this change, it fixes this warning:

    configure.ac:50: warning: The macro `AC_FUNC_VFORK' is obsolete.
    configure.ac:50: You should run autoupdate.
    ../../lib/autoconf/functions.m4:1944: AC_FUNC_VFORK is expanded from...
    common.m4:20: GDB_AC_COMMON is expanded from...
    configure.ac:50: the top level

There are not changes in the generated configure files.

gdbsupport/ChangeLog:

 * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.

Change-Id: I9de9f718c57e6d51c9734161f36c36ce39170325

a0de388... by Simon Marchi

gdbsupport: replace AC_TRY_COMPILE in warning.m4

Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM.

All changes in generated configure files are insignificant whitespace
changes.

gdb/ChangeLog:

 * configure: Re-generate.

gdbserver/ChangeLog:

 * configure: Re-generate.

gdbsupport/ChangeLog:

 * configure: Re-generate.
 * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
 AC_LANG_PROGRAM.

Change-Id: I517bd20ec3af960ad999a586761df0ac8959a3fc

c337039... by Simon Marchi

gdbsupport: replace AC_TRY_COMPILE in ptrace.m4

Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM.

All the changes in the generated configure files are insignificant
whitespace changes.

gdb/ChangeLog:

 * configure: Re-generate.

gdbserver/ChangeLog:

 * configure: Re-generate.

gdbsupport/ChangeLog:

 * configure: Re-generate.
 * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
 AC_LANG_PROGRAM.

Change-Id: Ia782b5477fe49dad04e68c0f41c6d8ab3fde5bf0

f112691... by Simon Marchi

gdbsupport: re-indent ptrace.m4

For some reason, autoupdate isn't able to grok ptrace.m4:

    $ autoupdate ptrace.m4
    /usr/bin/m4:/tmp/auYjuodw/input.m4:171: ERROR: end of file in string
    autoupdate: /usr/bin/m4 failed with exit status: 1

Honestly, I'm unable to grok it either. This patch re-indents it in a
way that I think is easier to read. With this patch applied, autoupdate
becomes able to parse ptrace.m4, but I chose to keep this re-indent in a
patch of its own.

All the changes in generated configure files consist of insignificant
whitespace changes.

gdb/ChangeLog:

 * configure: Re-generate.

gdbserver/ChangeLog:

 * configure: Re-generate.

gdbsupport/ChangeLog:

 * configure: Re-generate.
 * ptrace.m4: Re-indent.

Change-Id: Ie2afab09fecc8b6d0cccccb47ac9756f3843881e

b7bb4b0... by Simon Marchi

gdb: modernize acinclude.m4

Run autoupdate, fix indentation for readability.

gdb/ChangeLog:

 * acinclude.m4: Modernize.
 * configure: Re-generate.

Change-Id: I8949f885326a3206f414776b63a1fdba197bb19a

2153e54... by Simon Marchi

gdb/testsuite: modernize configure.ac

Run autoupdate, the only change is to split AC_INIT into AC_INIT and
AC_CONFIG_SRCDIR.

gdb/testsuite/ChangeLog:

 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
 * configure: Re-generate.

Change-Id: I6e40c0261bda4fe9144b896799ef460d23e22e09

bc69809... by Simon Marchi

gdb: modernize configure.ac

Run autoupdate on configure.ac and adjust the indentation of the result
for better readability. This removes a bunch of warnings when running
`autoreconf -vf -Wall`. The changes are:

    * Replace AC_INIT with AC_INIT and no arguments plus
      AC_CONFIG_SRCDIR.
    * Replace AC_ERROR with AC_MSG_ERROR.
    * Replace AC_TRY_LINK with AC_LINK_IFELSE.
    * Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE.
    * Replace AC_HELP_STRING with AS_HELP_STRING.

autoupdate erroneously tries to replace AC_C_LONG_DOUBLE in a comment,
which I reverted manually.

All the changes in the generated configure file are insignificant
whitespaces changes.

gdb/ChangeLog:

 * configure.ac: Modernize.
 * configure: Re-generate.

Change-Id: Ie3a1409c8032a36a6383da964286a46ece9b546e