]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Remove redundant .m4 file.
authorBruno Haible <bruno@clisp.org>
Mon, 19 Jun 2023 09:59:02 +0000 (11:59 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 19 Jun 2023 09:59:02 +0000 (11:59 +0200)
* gettext-runtime/intl/configure.ac: Don't invoke gl_AC_HEADER_STDINT_H.
* gettext-runtime/m4/stdint_h.m4: Remove file.
* gettext-runtime/m4/Makefile.am (EXTRA_DIST): Remove it.
* Makefile.am (distcheck-hook): Don't check it.

Makefile.am
gettext-runtime/intl/configure.ac
gettext-runtime/m4/Makefile.am
gettext-runtime/m4/stdint_h.m4 [deleted file]

index 0bc6da57cbf6ce16dc18d1b737393f4fd52114e1..712e222a2518965c2d2ddd6a7581b7bc0ee039ee 100644 (file)
@@ -80,7 +80,6 @@ distcheck-hook:
        cmp -s $(srcdir)/gettext-runtime/m4/nls.m4 $(srcdir)/gettext-tools/gnulib-m4/nls.m4
        cmp -s $(srcdir)/gettext-runtime/m4/po.m4 $(srcdir)/gettext-tools/gnulib-m4/po.m4
        cmp -s $(srcdir)/gettext-runtime/m4/progtest.m4 $(srcdir)/gettext-tools/gnulib-m4/progtest.m4
-       cmp -s $(srcdir)/gettext-runtime/m4/stdint_h.m4 $(srcdir)/gettext-tools/gnulib-m4/stdint_h.m4
        cmp -s $(srcdir)/gettext-runtime/man/help2man $(srcdir)/gettext-tools/man/help2man
        cmp -s $(srcdir)/gettext-runtime/man/x-to-1.in $(srcdir)/gettext-tools/man/x-to-1.in
        cmp -s $(srcdir)/libtextstyle/m4/libtextstyle.m4 $(srcdir)/gettext-tools/gnulib-m4/libtextstyle.m4
index 2f2a6f7f08c86789b23f2136e07a94782324acac..9c3c515a4e3030496e2cd4cf1e44151903f2cd4d 100644 (file)
@@ -120,7 +120,6 @@ dnl   plural-exp.h plural-exp.c
 dnl   plural.y
 AC_C_INLINE
 AC_TYPE_SIZE_T
-gl_AC_HEADER_STDINT_H
 AC_FUNC_ALLOCA
 AC_FUNC_MMAP
 gt_INTDIV0
index a024b344f4ed82b987568847e9af5b5433d97228..58e4dd8f331151eb02faf9cbb35f7fb21f134615 100644 (file)
@@ -28,5 +28,4 @@ intlmacosx.m4 \
 inttypes_h.m4 \
 nls.m4 \
 po.m4 \
-progtest.m4 \
-stdint_h.m4
+progtest.m4
diff --git a/gettext-runtime/m4/stdint_h.m4 b/gettext-runtime/m4/stdint_h.m4
deleted file mode 100644 (file)
index 70349f6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# stdint_h.m4 serial 9
-dnl Copyright (C) 1997-2004, 2006, 2008-2023 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 From Paul Eggert.
-
-# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
-# doesn't clash with <sys/types.h>, and declares uintmax_t.
-
-AC_DEFUN([gl_AC_HEADER_STDINT_H],
-[
-  AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h],
-    [AC_COMPILE_IFELSE(
-       [AC_LANG_PROGRAM(
-          [[#include <sys/types.h>
-            #include <stdint.h>]],
-          [[uintmax_t i = (uintmax_t) -1; return !i;]])],
-       [gl_cv_header_stdint_h=yes],
-       [gl_cv_header_stdint_h=no])])
-  if test $gl_cv_header_stdint_h = yes; then
-    AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1],
-      [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
-       and declares uintmax_t. ])
-  fi
-])