summaryrefslogtreecommitdiffstats
path: root/m4/intmax.m4
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-12-22 05:30:10 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2021-12-22 05:30:10 +0100
commit85db1b1a3b16730ede231acdf83e076af99e8aa7 (patch)
tree5fa54d8813e21a4090c05038030f8f49f79b1d99 /m4/intmax.m4
parentbuild: Update for newer autoconf. (diff)
downloadgnupg2-85db1b1a3b16730ede231acdf83e076af99e8aa7.tar.xz
gnupg2-85db1b1a3b16730ede231acdf83e076af99e8aa7.zip
build: Remove unused old m4 files.
* m4/glibc2.m4, m4/glibc21.m4: Remove. * m4/intl.m4, m4/intldir.m4, m4/lock.m4: Remove. * m4/intdiv0.m4, m4/intmax.m4, m4/inttypes-pri.m4: Remove. * m4/inttypes.m4, m4/inttypes_h.m4, m4/longdouble.m4: Remove. * m4/printf-posix.m4, m4/signed.m4, m4/size_max.m4: Remove. * m4/stdint_h.m4, m4/sys_socket_h.m4, m4/uintmax_t.m4: Remove. * m4/visibility.m4, m4/wchar_t.m4, m4/wint_t.m4, m4/xsize.m4: Remove. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'm4/intmax.m4')
-rw-r--r--m4/intmax.m433
1 files changed, 0 insertions, 33 deletions
diff --git a/m4/intmax.m4 b/m4/intmax.m4
deleted file mode 100644
index ce7a8a49d..000000000
--- a/m4/intmax.m4
+++ /dev/null
@@ -1,33 +0,0 @@
-# intmax.m4 serial 3 (gettext-0.16)
-dnl Copyright (C) 2002-2005 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 Bruno Haible.
-dnl Test whether the system has the 'intmax_t' type, but don't attempt to
-dnl find a replacement if it is lacking.
-
-AC_DEFUN([gt_TYPE_INTMAX_T],
-[
- AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
- AC_REQUIRE([gl_AC_HEADER_STDINT_H])
- AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
- [AC_TRY_COMPILE([
-#include <stddef.h>
-#include <stdlib.h>
-#if HAVE_STDINT_H_WITH_UINTMAX
-#include <stdint.h>
-#endif
-#if HAVE_INTTYPES_H_WITH_UINTMAX
-#include <inttypes.h>
-#endif
-], [intmax_t x = -1;
- return !x;],
- gt_cv_c_intmax_t=yes,
- gt_cv_c_intmax_t=no)])
- if test $gt_cv_c_intmax_t = yes; then
- AC_DEFINE(HAVE_INTMAX_T, 1,
- [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
- fi
-])