Mercurial > hg > octave-lojdl > gnulib-hg
view m4/ftruncate.m4 @ 5103:ec9fb052682f
s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 13 Jul 2004 17:22:56 +0000 |
parents | 7141ea4946af |
children | 87c42e194f4a |
line wrap: on
line source
#serial 6 # See if we need to emulate a missing ftruncate function using fcntl or chsize. AC_DEFUN([gl_FUNC_FTRUNCATE], [ AC_REPLACE_FUNCS(ftruncate) if test $ac_cv_func_ftruncate = no; then gl_PREREQ_FTRUNCATE fi ]) # Prerequisites of lib/ftruncate.c. AC_DEFUN([gl_PREREQ_FTRUNCATE], [ AC_CHECK_HEADERS_ONCE(unistd.h) AC_CHECK_FUNCS(chsize) ])