From b0afb8fe0ff1d87165af9df61501197a06240dda Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Sun, 28 Dec 2025 12:13:40 +0100 Subject: Sync with Gnulib stable-202507 code (a8ac9f9ce5) --- gl/m4/ftello.m4 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gl/m4/ftello.m4') diff --git a/gl/m4/ftello.m4 b/gl/m4/ftello.m4 index 0eb8fa0d..35d30f98 100644 --- a/gl/m4/ftello.m4 +++ b/gl/m4/ftello.m4 @@ -1,9 +1,10 @@ # ftello.m4 -# serial 16 -dnl Copyright (C) 2007-2024 Free Software Foundation, Inc. +# serial 17 +dnl Copyright (C) 2007-2025 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. +dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FTELLO], [ @@ -157,6 +158,10 @@ main (void) # Prerequisites of lib/ftello.c. AC_DEFUN([gl_PREREQ_FTELLO], [ + if test $gl_cv_func_ftello != no; then + AC_DEFINE([HAVE_FTELLO], [1], + [Define to 1 if the system has the ftello function.]) + fi dnl Native Windows has the function _ftelli64. mingw hides it, but mingw64 dnl makes it usable again. AC_CHECK_FUNCS([_ftelli64]) -- cgit v1.2.3-74-g34f1