bug-autoconf
[Top][All Lists]
Advanced

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

autoconf-2.57g - test 66 failed


From: Sander Niemeijer
Subject: autoconf-2.57g - test 66 failed
Date: Mon, 27 Oct 2003 14:27:40 +0100

Hi all,

The patch from Steven to fix the AC_FC_FREEFORM test failure with fort77/f2c works (it now skips the test).

However, I'm still getting an error for the GNU Fortran 77 test with the fort77/f2c configuration (from fink) on Mac OS X (10.2.8).

Below is the relevant part from the config.log:
---
> configure:1552: checking whether we are using the GNU Fortran 77 compiler
> configure:1566: fort77 -c  conftest.F >&5
>    MAIN main:
> configure:1572: $? = 0
> configure:1576: test -z
>                     || test ! -s conftest.err
> configure:1579: $? = 0
> configure:1582: test -s conftest.o
> configure:1585: $? = 0
> configure:1598: result: yes
> configure:1604: checking whether fort77 accepts -g
> configure:1616: fort77 -c -g conftest.f >&5
> conftest.f:
>    MAIN main:
> configure:1622: $? = 0
> configure:1626: test -z
>                     || test ! -s conftest.err
> configure:1629: $? = 0
> configure:1632: test -s conftest.o
> configure:1635: $? = 0
> configure:1647: result: yes
> configure:1674: fort77 --version | grep GNU >&2
> /sw/bin/fort77: No input files specified
> configure:1677: $? = 1
> configure:1693: error: incorrectly recognized a GNU Fortran 77 compiler
---
As Steven already pointed out in a previous posting the 'g77 detection is somewhat flakey'. Maybe this can be improved by verifying the output of 'g77 --version' when checking for a GNU compiler?

Regards,
Sander Niemeijer





reply via email to

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