summaryrefslogtreecommitdiff
path: root/gl/m4/ftello.m4
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-01-08 10:02:19 +0100
committerSimon Josefsson <simon@josefsson.org>2011-01-08 10:02:19 +0100
commita7e79bbab79811c53aa0aa6ab84c66aa15b1fe17 (patch)
tree0017fd2105e55064c4affcaa0a1c90d0d7cbd243 /gl/m4/ftello.m4
parent3f903a1538d8a8835e2ba6f3705ebcdd12349b3e (diff)
downloadlibtasn1-a7e79bbab79811c53aa0aa6ab84c66aa15b1fe17.tar.gz
libtasn1-a7e79bbab79811c53aa0aa6ab84c66aa15b1fe17.tar.bz2
libtasn1-a7e79bbab79811c53aa0aa6ab84c66aa15b1fe17.zip
Update gnulib files.
Diffstat (limited to 'gl/m4/ftello.m4')
-rw-r--r--gl/m4/ftello.m49
1 files changed, 7 insertions, 2 deletions
diff --git a/gl/m4/ftello.m4 b/gl/m4/ftello.m4
index 33201a0..599f8f2 100644
--- a/gl/m4/ftello.m4
+++ b/gl/m4/ftello.m4
@@ -1,5 +1,5 @@
-# ftello.m4 serial 8
-dnl Copyright (C) 2007-2010 Free Software Foundation, Inc.
+# ftello.m4 serial 9
+dnl Copyright (C) 2007-2011 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.
@@ -13,6 +13,11 @@ AC_DEFUN([gl_FUNC_FTELLO],
dnl Persuade glibc <stdio.h> to declare ftello().
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+ AC_CHECK_DECLS_ONCE([ftello])
+ if test $ac_cv_have_decl_ftello = no; then
+ HAVE_DECL_FTELLO=0
+ fi
+
AC_CACHE_CHECK([for ftello], [gl_cv_func_ftello],
[
AC_LINK_IFELSE(