[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in Gawk 3.1.0's configure script
From: |
David O'Brien |
Subject: |
Bug in Gawk 3.1.0's configure script |
Date: |
Fri, 2 Nov 2001 15:26:05 -0800 |
User-agent: |
Mutt/1.2.5i |
``configure'' has an unterminated #if/#else at line 4718 that causes
"STRTOD_NOT_C89" to always be defined.
cat > conftest.$ac_ext <<EOF
#line 4707 "configure"
#include "confdefs.h"
/* Test program from Arnold Robbins (address@hidden) */
#if HAVE_STDLIB_H
#include <stdlib.h>
#else
extern double strtod();
#endif
int
main ()
{
#if ! HAVE_STRTOD
exit(1);
#else
double d;
char *str = "0x345a";
d = strtod(str, 0);
if (d == 0)
exit (0);
else
exit (1);
}
EOF
There is no #endif w/in what gets copied into conftest.$ac_ext !!
And thus the test always fails.
--
-- David (address@hidden)
- Bug in Gawk 3.1.0's configure script,
David O'Brien <=