view modules/pread @ 15118:50a0061f67fe

strtoimax: Move AC_LIBOBJ invocations to module description. * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRTOIMAX invocations from here... * modules/strtoimax (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 14:16:25 +0200
parents 98b3afcd33e1
children 51231c56c0a1
line wrap: on
line source

Description:
pread() function: read without changing file offset

Files:
lib/pread.c
m4/pread.m4

Depends-on:
unistd
extensions
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:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Jim Meyering