textutils-2.1 configure error

TenThumbs <[email protected]>
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <[email protected]>
On my Linux system I said ./configure and it said
  checking for working long double with more range or precision \
  than double... no
which is wrong. Looking at configure I find the test

#include "confdefs.h"
#include <float.h>
          long double foo = 0.0;
int
main ()
{
static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a
GCC 2.95.2 x86 bug.  */
          (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
          | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG <
LDBL_MANT_DIG))];
test_array [0] = 0

  ;
  return 0;
}

It turns out that for gcc 2.95 or lower the compiler returns the error:
   storage size of `test_array' isn't constant
so this test is actually a test for gcc 3 and above despite what the
comment implies and what its description says.

Obviously a bug in the autoconf you used.

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.