I've found this in config.log: ----------- 8< ----------- configure:22286: checking whether strtod obeys C99 configure:22335: gcc -std=gnu99 -o conftest -O -Wl,-R/usr/pkg/lib conftest.c > &5 conftest.c: In function `main': conftest.c:180: error: wrong type argument to unary minus conftest.c:188: error: invalid operands to binary != configure:22338: $? = 1 configure: program exited with status 1 configure: failed program was: ----------- >8 -----------
The test fails in this lines: 180:| if (1 / value != -HUGE_VAL || term != (string + 2)) 188:| if (value != HUGE_VAL || term != (string + 3)) And when the included strtod is built, it fails because of similar reasons. On 4/25/08, Gerardo Santana Gómez Garrido <[EMAIL PROTECTED]> wrote: > On 4/25/08, Thomas Klausner <[EMAIL PROTECTED]> wrote: > > Gerardo Santana Gómez Garrido reported a problem building m4 (I assume > > 1.4.11) on Solaris 10. Here's his mail: > > > Sorry, yes, it's certainly GNU m4-1.4.11 > > $ gcc -v > Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs > Configured with: > /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure > --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as > --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ > --enable-shared > Thread model: posix > gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) > > $ uname -a > SunOS since 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V440 > > -- > > Gerardo Santana > -- Gerardo Santana