Fixes after recent configure changes relating to static libraries
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 30 Jan 2020 12:18:13 +0000 (12:18 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Sat, 1 Feb 2020 00:34:28 +0000 (00:34 +0000)
commit20fa702b32c7ec7a7215df322d3e8d19b79f2068
treeef94a140b5349a9762fb459769bde211c25aade3
parentd1a80303866061496e10702bbf05862e92ce8c55
Fixes after recent configure changes relating to static libraries

This commit:

  commit e7c26e04b2dd6266d62d5a5825ff7eb44d1cf14e (tjteru/master)
  Date:   Wed Jan 22 14:54:26 2020 +0000

      gcc: Add new configure options to allow static libraries to be selected

contains a couple of issues.  First I failed to correctly regenerate
all of the configure files it should have done.  Second, there was a
mistake in lib-link.m4, one of the conditions didn't use pure sh
syntax, I wrote this:

  if x$lib_type = xauto || x$lib_type = xshared; then

When I should have written this:

  if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then

These issues were raised on the mailing list in these messages:

  https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01827.html
  https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01921.html

config/ChangeLog:

* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Update shell syntax.

gcc/ChangeLog:

* configure: Regenerate.

intl/ChangeLog:

* configure: Regenerate.

libcpp/ChangeLog:

* configure: Regenerate.

libstdc++-v3/ChangeLog:

* configure: Regenerate.
config/ChangeLog
config/lib-link.m4
gcc/ChangeLog
gcc/configure
intl/ChangeLog
intl/configure
libcpp/ChangeLog
libcpp/configure
libstdc++-v3/ChangeLog
libstdc++-v3/configure