Consistently quote variables used with "test"
authorChristian Biesinger <cbiesinger@google.com>
Wed, 18 Dec 2019 21:03:07 +0000 (15:03 -0600)
committerChristian Biesinger <cbiesinger@google.com>
Thu, 26 Dec 2019 22:34:08 +0000 (23:34 +0100)
commitc0716f3e641ad88fceb0a7cd981ffd05a52e86bc
tree018002ab347c5670a8a9dfaa9df56af1faa1de35
parent2030d2b12e2786868942466c0dcfb57acc313c2f
Consistently quote variables used with "test"

This ensures that empty variables and variables with spaces are handled
correctly.

Code was inconsistent on whether the constant string (e.g. yes/no)
should also be quoted; I tried to be consistent with surrounding code.

This fixes the error Eli reported during configure with mingw (though that
was not fatal).

gdb/ChangeLog:

2019-12-19  Christian Biesinger  <cbiesinger@google.com>

* configure: Regenerate.
* configure.ac: Quote variable arguments of test.
* gdbsupport/common.m4: Likewise.

gdb/gdbserver/ChangeLog:

2019-12-19  Christian Biesinger  <cbiesinger@google.com>

* configure: Regenerate.
* configure.ac: Quote variable arguments of test.

Change-Id: I220e78b52c7db88b9dd058eda604635b03464fac
gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/gdbsupport/common.m4
This page took 0.024631 seconds and 4 git commands to generate.