X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fpwrite;h=78843d4bc689e64e0f2811dcbaab1d6c2a2b0d7f;hb=060a5ab2b25c067185f3c3c077287c65723ea985;hp=b6511a20999b7b88131a929bb1fb7ad0d0354b7d;hpb=c4bc55104949ace9f44262616d5eecefa96f886d;p=gnulib.git diff --git a/modules/pwrite b/modules/pwrite index b6511a209..78843d4bc 100644 --- a/modules/pwrite +++ b/modules/pwrite @@ -6,12 +6,17 @@ lib/pwrite.c m4/pwrite.m4 Depends-on: -extensions -lseek unistd +extensions +largefile +lseek [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1] +write [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1] configure.ac: gl_FUNC_PWRITE +if test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1; then + AC_LIBOBJ([pwrite]) +fi gl_UNISTD_MODULE_INDICATOR([pwrite]) Makefile.am: