X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fftruncate.m4;h=c225e48a3ed4e452cfcb7b4e09b9cdf76f81a3cb;hb=523067dbfb281d3cc27f65007a3893bd694c257d;hp=b2ce6dd568dc93b254b4b252de2ed9a231315dfb;hpb=23fe10e274cf20fb2cb75ea1da9556a733106657;p=gnulib.git diff --git a/m4/ftruncate.m4 b/m4/ftruncate.m4 index b2ce6dd56..c225e48a3 100644 --- a/m4/ftruncate.m4 +++ b/m4/ftruncate.m4 @@ -1,7 +1,12 @@ -#serial 6 +#serial 8 # See if we need to emulate a missing ftruncate function using fcntl or chsize. +# Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + AC_DEFUN([gl_FUNC_FTRUNCATE], [ AC_REPLACE_FUNCS(ftruncate) @@ -13,6 +18,5 @@ AC_DEFUN([gl_FUNC_FTRUNCATE], # Prerequisites of lib/ftruncate.c. AC_DEFUN([gl_PREREQ_FTRUNCATE], [ - AC_CHECK_HEADERS_ONCE(unistd.h) AC_CHECK_FUNCS(chsize) ])