On 01/11/2016 12:32 PM, Gavin Smith wrote:
In the nl_langinfo.m4 file, there's a test:
if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \
&& test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then
:
else
This gave an (apparently harmless) error message when configuring
under OpenIndiana 11:
./configure[22339]: test: argument expected
Maybe the variables being tested need to have their expansions
surrounded in double quotes, or whatever reason these variables aren't
set should be fixed.
Let's do the latter, since these variables should all be set to 0 or 1
by then.
The macro in question AC_REQUIREs gl_LANGINFO_SET, which should set
HAVE_LANGINFO_CODESET and HAVE_LANGINFO_ERA to either 0 or 1. The macro
also sets FUNC_NL_LANGINFO_YESEXPR_WORKS to either 0 or 1, before using
it. So, can you investigate which of these variables is not set as
expected, and why?