Adjust to recent Gnulib changes
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 May 2024 16:55:27 +0000 (09:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 May 2024 01:46:25 +0000 (18:46 -0700)
* admin/merge-gnulib: Also remove the new Gnulib file
m4/off64_t.m4, as Emacs doesn’t need off64_t.
* configure.ac (gl_TYPE_OFF64_T): Define a nearly no-op.

admin/merge-gnulib
configure.ac

index 41531d573b056d0319503bedd99dfa9df5f9c2ef..c4daaded0156ee7b74f5fcfe11cd74203ae971c7 100755 (executable)
@@ -126,6 +126,7 @@ rm -- "$src"lib/gl_openssl.h \
       "$src"m4/gnulib-cache.m4 "$src"m4/gnulib-tool.m4 \
       "$src"m4/locale-fr.m4 \
       "$src"m4/manywarnings-c++.m4 \
+      "$src"m4/off64_t.m4 \
       "$src"m4/warn-on-use.m4 "$src"m4/wint_t.m4 &&
 cp -- "$gnulib_srcdir"/build-aux/texinfo.tex "$src"doc/misc &&
 cp -- "$gnulib_srcdir"/build-aux/config.guess \
index 69a8ba0a9f8f758de2c5bc30193f654c85ced22f..626e09aad8ad8f5be7c66a276749dd7e5fcab820 100644 (file)
@@ -1584,6 +1584,10 @@ AC_DEFUN([gt_TYPE_WINT_T],
 AC_DEFUN_ONCE([gl_STDLIB_H],
   [AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
    gl_NEXT_HEADERS([stdlib.h])])
+# Emacs does not need to check for off64_t.
+AC_DEFUN([gl_TYPE_OFF64_T],
+  [HAVE_OFF64_T=1
+   AC_SUBST([HAVE_OFF64_T])])
 
 # Initialize gnulib right after choosing the compiler.
 dnl Amongst other things, this sets AR and ARFLAGS.