|
From: | Paul Eggert |
Subject: | Re: nl_langinfo.m4: HAVE_LANGINFO_CODESET unquoted |
Date: | Mon, 11 Jan 2016 15:08:59 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |