From: Bruno Haible Date: Mon, 19 Jun 2023 09:59:02 +0000 (+0200) Subject: build: Remove redundant .m4 file. X-Git-Tag: v0.23~429 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=106f9c4b09c109adc369d4393f5064925bf3d822;p=thirdparty%2Fgettext.git build: Remove redundant .m4 file. * 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. --- diff --git a/Makefile.am b/Makefile.am index 0bc6da57c..712e222a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/gettext-runtime/intl/configure.ac b/gettext-runtime/intl/configure.ac index 2f2a6f7f0..9c3c515a4 100644 --- a/gettext-runtime/intl/configure.ac +++ b/gettext-runtime/intl/configure.ac @@ -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 diff --git a/gettext-runtime/m4/Makefile.am b/gettext-runtime/m4/Makefile.am index a024b344f..58e4dd8f3 100644 --- a/gettext-runtime/m4/Makefile.am +++ b/gettext-runtime/m4/Makefile.am @@ -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 index 70349f6cb..000000000 --- a/gettext-runtime/m4/stdint_h.m4 +++ /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 exists, -# doesn't clash with , 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 - #include ]], - [[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 exists, doesn't clash with , - and declares uintmax_t. ]) - fi -])