re PR libfortran/31335 (Calls lstat(), stat() and fstat() in libgfortran should be...
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 31 Mar 2007 19:41:11 +0000 (19:41 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 31 Mar 2007 19:41:11 +0000 (19:41 +0000)
commit29e86cb09c6ffe497456341864551b504c9a6f4f
treebfeff7227b047cec60eb9fd962576f8748c6f8f0
parent3f5faa7ceae547a56f1335e66a359c0a8063a182
re PR libfortran/31335 (Calls lstat(), stat() and fstat() in libgfortran should be protected by autoconf HAVE_{L,,F}STAT macros)

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.
* config.h.in: Regenerate.

From-SVN: r123388
libgfortran/ChangeLog
libgfortran/config.h.in
libgfortran/configure
libgfortran/configure.ac
libgfortran/intrinsics/stat.c