summaryrefslogtreecommitdiff
path: root/m4/ftell.m4
blob: bc60b19db575fabe8f008b79c1c97ccc0241475c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# ftell.m4 serial 1
dnl Copyright (C) 2007, 2009 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_FTELLO])
  dnl When ftello needs fixes, ftell needs them too.
  if test $REPLACE_FTELLO != 0; then
    AC_LIBOBJ([ftell])
    REPLACE_FTELL=1
  fi
])