Quote the first argument in each use of AC_DEFUN.
[gnulib.git] / m4 / ftruncate.m4
1 #serial 4
2
3 # See if we need to emulate a missing ftruncate function using fcntl or chsize.
4
5 AC_DEFUN([jm_FUNC_FTRUNCATE],
6 [
7   AC_CHECK_FUNCS(ftruncate, , [ftruncate_missing=yes])
8
9   if test "$ftruncate_missing" = yes; then
10     AC_CHECK_HEADERS([unistd.h])
11     AC_CHECK_FUNCS([chsize])
12     AC_LIBOBJ(ftruncate)
13   fi
14 ])