1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 14:43:36 +00:00
Files
gnulib/modules/stat
Bruno Haible 8f706af389 stat, fstat: Compile stat-w32.c only on platforms that need it.
Suggested by Paul Eggert.

* modules/stat (configure.ac): Request stat-w32.o only on native
Windows.
* modules/fstat (configure.ac): Likewise.
2017-06-29 17:36:28 +02:00

42 lines
643 B
Plaintext

Description:
stat() function: query file information
Files:
lib/stat.c
lib/stat-w32.h
lib/stat-w32.c
m4/stat.m4
Depends-on:
sys_stat
largefile
filename [test $REPLACE_STAT = 1]
malloca [test $REPLACE_STAT = 1]
pathmax [test $REPLACE_STAT = 1]
stdbool [test $REPLACE_STAT = 1]
verify [test $REPLACE_STAT = 1]
configure.ac:
gl_FUNC_STAT
if test $REPLACE_STAT = 1; then
AC_LIBOBJ([stat])
case "$host_os" in
mingw*)
AC_LIBOBJ([stat-w32])
;;
esac
gl_PREREQ_STAT
fi
gl_SYS_STAT_MODULE_INDICATOR([stat])
Makefile.am:
Include:
<sys/stat.h>
License:
LGPLv2+
Maintainer:
Eric Blake