[libgfortran,patch] Protect uses of {f,l,}stat with autoconf macros

François-Xavier Coudert fxcoudert@gmail.com
Fri Mar 30 09:36:00 GMT 2007


> 2007-03-24  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
>
> 	PR libfortran/31335
> 	* intrinsics/stat.c: Only provide STAT and FSTAT library routines
> 	if stat() and fstat() library functions are available. When lstat()
> 	is not available, use stat() instead.
> 	* configure.ac: Add checks for stat, fstat and lstat.
> 	* configure: Regenerate.

On second thought, it's pretty obvious and I'm the only gfortran
developer who uses mingw32. Since it tested fine there, and regtested
on i686-linux, I'll commit it as obvious in the next few days unless
someone objects.

FX



More information about the Fortran mailing list