Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / modules / pread
index 5fcb47c..7281cd6 100644 (file)
@@ -8,11 +8,15 @@ m4/pread.m4
 Depends-on:
 unistd
 extensions
+largefile
 lseek           [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1]
 read            [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1]
 
 configure.ac:
 gl_FUNC_PREAD
+if test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1; then
+  AC_LIBOBJ([pread])
+fi
 gl_UNISTD_MODULE_INDICATOR([pread])
 
 Makefile.am: