mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
Cater to Solaris requiring extra libraries for fdatasync. * m4/fdatasync.m4 (gl_FUNC_FDATASYNC): Set LIB_FDATASYNC. * modules/fdatasync (Link): Document it. * modules/fdatasync-tests (test_fdatasync_LDADD): Link with it. Signed-off-by: Eric Blake <eblake@redhat.com>
32 lines
403 B
Plaintext
32 lines
403 B
Plaintext
Description:
|
|
fdatasync(2) function: synchronize writes to a file.
|
|
|
|
Files:
|
|
lib/fdatasync.c
|
|
m4/fdatasync.m4
|
|
|
|
Depends-on:
|
|
fsync [test $HAVE_FDATASYNC = 0]
|
|
unistd
|
|
|
|
configure.ac:
|
|
gl_FUNC_FDATASYNC
|
|
if test $HAVE_FDATASYNC = 0; then
|
|
AC_LIBOBJ([fdatasync])
|
|
fi
|
|
gl_UNISTD_MODULE_INDICATOR([fdatasync])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<unistd.h>
|
|
|
|
Link:
|
|
$(LIB_FDATASYNC)
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Eric Blake
|