autoconf-archive-maintainers | |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #9926] AC_PROG_CC_FOR_BUILD: "test: =: unary operator expected"
From: |
Max Horn |
Subject: |
[patch #9926] AC_PROG_CC_FOR_BUILD: "test: =: unary operator expected" |
Date: |
Wed, 17 Jun 2020 05:09:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15 |
Follow-up Comment #1, patch #9926 (project autoconf-archive):
The relevant shell script triggering the warning is this:
if test $ac_compiler_gnu = yes; then
GCC_FOR_BUILD=yes
else
GCC_FOR_BUILD=
fi
So this is a classical case of $ac_compiler_gnu not being set. One can fix it
by checking `$ac_compiler_gnu = xyes` instead.
As such, I would suspect this commit as source of the regression:
http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commitdiff;h=10e1f73a781df74eb7b088948d78793b11b12225
But that might be totally wrong. Unfortunately, I don't know enough about m4
or the autoconf internals to figure out what the proper fix for this ought to
be :-(. Perhaps the patch author (Jannick) has an idea?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?9926>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch #9926] AC_PROG_CC_FOR_BUILD: "test: =: unary operator expected",
Max Horn <=