On Fri, 8 Oct 2004, webmaster wrote:
> Subject: [Bug 23] AC_FC_CHECK_INTRINSICS tests do not work
>
> http://dev.starlink.ac.uk/bugzilla/show_bug.cgi?id=23
>
> [log in to unmask] changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |RESOLVED
> Resolution| |FIXED
>
>
>
> ------- Additional Comments From [log in to unmask] 2004-10-08 16:00 -------
> Added code to fortran.m4 so that the standard AC_CHECK_FUNCS macro does
> work with Fortran (it was supposed to, but hadn't been implemented for
> Fortran). The best way to handle this is now:
>
> AC_FC_CHECK_INTRINSICS([getcwd])
> AC_LANG_PUSH([Fortran])
> AC_CHECK_FUNCS([getcwd])
> AC_LANG_POP([Fortran])
>
> and then conditionalise on the defines HAVE_GETCWD and
> HAVE_INTRINSIC_GETCWD in your preprocessable code.
Hi Norman,
I've implemented modifications along these lines in GKS and the Solaris
build is now correctly picking up the various functions, seems to be OK
under Linux too, so I've committed the changes.
Cheers,
Peter.
|