Autoconf fooled by AC_FC_LINE_LENGTH

Marco Atzeri marco.atzeri@gmail.com
Sat Jul 30 16:30:00 GMT 2016


On 30/07/2016 06:23, Marco Atzeri wrote:
> On 29/07/2016 21:32, Peter Rosin wrote:
>> On 2016-07-29 14:23, Marco Atzeri wrote:

>>
>> Reading the source comment for AC_FC_LINE_LENGTH indicates that
>> you should call AC_FC_FREEFORM or AC_FC_FIXEDFORM before you call
>> AC_FC_LINE_LENGTH. You do not do that. This is not mentioned in
>> the autoconf manual I'm looking at. I don't know if the source
>> code comment or the manual is correct (it's been 20 years since I
>> last used fortran...)
>
> Hi Peter,
> thanks for the hint, unfortunately it makes no difference.
>
> Looking at the upstream code I notice
> that AC_FC_LINE_LENGTH is the only FC call
> while all the rest is F77 based
>
> $ grep _FC configure.ac
>   AC_FC_LINE_LENGTH(unlimited)
>
> $ grep _F77 configure.ac
> AC_PROG_F77
> AC_F77_FUNC(sgemm$SYMBOLSUFFIX, sgemmsuff)
> AC_F77_FUNC(snaupd$SYMBOLSUFFIX, snaupdsuff)
> AC_F77_FUNC(sneupd$SYMBOLSUFFIX, sneupdsuff)
> AC_F77_FUNC(dnaupd$SYMBOLSUFFIX, dnaupdsuff)
> AC_F77_FUNC(dneupd$SYMBOLSUFFIX, dneupdsuff)
> AC_F77_FUNC(cheev$SYMBOLSUFFIX, cheevsuff)
>
> and this is fishy.
> I need to check it
>

replacing AC_PROG_F77 with AC_PROG_FC
did the work.

Regards
Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list