Mercurial > hg > octave-lojdl > gnulib-hg
changeset 14950:94995b9f1d9a
ftruncate: Move AC_LIBOBJ invocations to module description.
* m4/ftruncate.m4 (gl_FUNC_FTRUNCATE): Move AC_LIBOBJ and
gl_PREREQ_FTRUNCATE invocations from here...
* modules/ftruncate (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 07 May 2011 13:42:47 +0200 |
parents | 4b78b9a95439 |
children | 1814adb9a476 |
files | ChangeLog m4/ftruncate.m4 modules/ftruncate |
diffstat | 3 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-07 Bruno Haible <bruno@clisp.org> + + ftruncate: Move AC_LIBOBJ invocations to module description. + * m4/ftruncate.m4 (gl_FUNC_FTRUNCATE): Move AC_LIBOBJ and + gl_PREREQ_FTRUNCATE invocations from here... + * modules/ftruncate (configure.ac): ... to here. + 2011-05-07 Bruno Haible <bruno@clisp.org> fsync: Move AC_LIBOBJ invocations to module description.
--- a/m4/ftruncate.m4 +++ b/m4/ftruncate.m4 @@ -1,4 +1,4 @@ -# serial 15 +# serial 16 # See if we need to emulate a missing ftruncate function using fcntl or chsize. @@ -21,8 +21,6 @@ AC_CHECK_FUNCS_ONCE([ftruncate]) if test $ac_cv_func_ftruncate = no; then HAVE_FTRUNCATE=0 - AC_LIBOBJ([ftruncate]) - gl_PREREQ_FTRUNCATE case "$host_os" in mingw*) # Yes, we know mingw lacks ftruncate.