https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168
Bug ID: 62168 Summary: error in configure: line 21572: test: =: unary operator expected Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: manfred99 at gmx dot ch configure: line 21572: test: =: unary operator expected This is: if test -x "$DEFAULT_LINKER"; then gcc_cv_ld="$DEFAULT_LINKER" ==> elif test $install_gold_as_default = yes \ && test -f $gcc_cv_ld_gold_srcdir/configure.ac \ && test -f ../gold/Makefile \ either install_gold_as_default should be set in all cases a few lines above, or the variable should be surrounded by quotes: ==> elif test "$install_gold_as_default" = yes \