]> git.ipfire.org Git - thirdparty/gcc.git/commit
build: Fix missing variable quotes
authorCollin Funk <collin.funk1@gmail.com>
Fri, 14 Jun 2024 00:53:55 +0000 (17:53 -0700)
committerYunQiang Su <syq@gcc.gnu.org>
Wed, 19 Jun 2024 10:45:55 +0000 (18:45 +0800)
commitc6a9ab8c920f297c4efd289182aef9fbc73f5906
tree4e03657ca8a8582d30d9858fed2116ac806379f4
parenta73744a4f81e669d8ae72ed3bf529e1602858c88
build: Fix missing variable quotes

When dlopen and pthread_create are in libc the variable is
set to "none required", therefore running configure will show
the following errors:

./configure: line 8997: test: too many arguments
./configure: line 8999: test: too many arguments
./configure: line 9003: test: too many arguments
./configure: line 9005: test: =: unary operator expected

gcc/configure also has a similar problem on
gcc_cv_as_mips_explicit_relocs:

./gcc/configure: line 30242: test: =: unary operator expected

ChangeLog:

* configure.ac: Quote variable result of AC_SEARCH_LIBS.
* configure: Regenerate.

gcc/ChangeLog:

* configure.ac: Add missing quotation of variable
gcc_cv_as_mips_explicit_relocs.
* configure: Regenerate.

Signed-off-by: Collin Funk <collin.funk1@gmail.com>
configure
configure.ac
gcc/configure
gcc/configure.ac