[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: incorrect use of test ('unary operator expected') within coreutils-4

From: Paul Eggert
Subject: Re: incorrect use of test ('unary operator expected') within coreutils-4.5.3 configure
Date: Wed, 30 Oct 2002 22:19:59 -0800 (PST)

> From: No Spam <address@hidden>
> Date: Wed, 30 Oct 2002 17:56:03 -0800 (PST)
> i'm not positive if this is the proper address for reporting this.

<address@hidden> is the proper email address for coreutils
these days.

> when i run configure on coreutils-4.5.3, i get the following message:
> ./configure: test: =: unary operator expected
> i believe the likely cause is that you are testing for something with the
> (binary) = operator, but one of the sides of the equality is a null string,
> resulting in an attempt to use = in a unary fashion.

Yes, that's right.  Here's a patch.

2002-10-30  Paul Eggert  <address@hidden>

        * m4/getgroups.m4 (jm_FUNC_GETGROUPS):
        Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.

--- m4/getgroups.m4     2002-09-28 14:40:45.000000000 -0700
+++ /tmp/getgroups.m4   2002-10-30 22:16:20.962380195 -0800
@@ -5,7 +5,7 @@
-  if test $cv_func_getgroups_works = no; then
+  if test $ac_cv_func_getgroups_works = no; then
     AC_DEFINE(getgroups, rpl_getgroups,
       [Define as rpl_getgroups if getgroups doesn't work right.])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]