Mercurial > hg > octave-shane > gnulib-hg
diff m4/ftell.m4 @ 8888:6f9096a04fe8
New module 'ftell'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 28 May 2007 15:13:36 +0000 |
parents | |
children | 091317d1e8eb |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/m4/ftell.m4 @@ -0,0 +1,16 @@ +# ftell.m4 serial 1 +dnl Copyright (C) 2007 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_FUNC_FTELL], +[ + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + AC_REQUIRE([gl_FUNC_TELLO]) + dnl When ftello needs fixes, ftell needs them too. + if test $REPLACE_FTELLO != 0; then + AC_LIBOBJ([ftell]) + REPLACE_FTELL=1 + fi +])