X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fftruncate.m4;h=c225e48a3ed4e452cfcb7b4e09b9cdf76f81a3cb;hb=fc86a0be1b68e4b24d9249d763d33701b3a81623;hp=ec593a96de068eda24748dc44e8e868b3ee65547;hpb=e059c2358aad79ce8dfd9581dd6f12ce8503dc63;p=gnulib.git diff --git a/m4/ftruncate.m4 b/m4/ftruncate.m4 index ec593a96d..c225e48a3 100644 --- a/m4/ftruncate.m4 +++ b/m4/ftruncate.m4 @@ -1,8 +1,13 @@ -#serial 5 +#serial 8 # See if we need to emulate a missing ftruncate function using fcntl or chsize. -AC_DEFUN([jm_FUNC_FTRUNCATE], +# 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) if test $ac_cv_func_ftruncate = no; then @@ -13,6 +18,5 @@ AC_DEFUN([jm_FUNC_FTRUNCATE], # Prerequisites of lib/ftruncate.c. AC_DEFUN([gl_PREREQ_FTRUNCATE], [ - AC_CHECK_HEADERS_ONCE(unistd.h) AC_CHECK_FUNCS(chsize) ])