bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bug in Gawk 3.1.0's configure script


From: Aharon Robbins
Subject: Re: Bug in Gawk 3.1.0's configure script
Date: Sat, 3 Nov 2001 20:38:11 +0200

Thanks!  This is an obvious braino on my part. The "right"
way to fix it is in m4/strtod.m4 and then rerun autoconf,
which I've done in my source tree.

Thanks,

Arnold Robbins

> Date: Fri, 2 Nov 2001 15:26:05 -0800
> From: "David O'Brien" <address@hidden>
> To: address@hidden
> Subject: Bug in Gawk 3.1.0's configure script
>
> ``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.



reply via email to

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