gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: m4: remove wint_t and wchar_t


From: gnunet
Subject: [gnunet] branch master updated: m4: remove wint_t and wchar_t
Date: Wed, 11 Dec 2024 12:43:01 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 4ea6dfc52 m4: remove wint_t and wchar_t
4ea6dfc52 is described below

commit 4ea6dfc52f22a8da3b62301267627577056ea9fe
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Dec 11 12:42:56 2024 +0100

    m4: remove wint_t and wchar_t
---
 m4/Makefile.am |  2 --
 m4/wint_t.m4   | 32 --------------------------------
 2 files changed, 34 deletions(-)

diff --git a/m4/Makefile.am b/m4/Makefile.am
index e6bdd7843..c3d1a8d0a 100644
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
@@ -38,6 +38,4 @@ size_max.m4\
 stdint_h.m4\
 uintmax_t.m4\
 ulonglong.m4\
-wchar_t.m4\
-wint_t.m4\
 xsize.m4
diff --git a/m4/wint_t.m4 b/m4/wint_t.m4
deleted file mode 100644
index 9b07b0709..000000000
--- a/m4/wint_t.m4
+++ /dev/null
@@ -1,32 +0,0 @@
-# wint_t.m4 serial 5 (gettext-0.18.2)
-dnl Copyright (C) 2003, 2007-2014 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 <wchar.h> has the 'wint_t' type.
-dnl Prerequisite: AC_PROG_CC
-
-AC_DEFUN([gt_TYPE_WINT_T],
-[
-  AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t],
-    [AC_COMPILE_IFELSE(
-       [AC_LANG_PROGRAM(
-          [[
-/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
-   <wchar.h>.
-   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
-   before <wchar.h>.  */
-#include <stddef.h>
-#include <stdio.h>
-#include <time.h>
-#include <wchar.h>
-            wint_t foo = (wchar_t)'\0';]],
-          [[]])],
-       [gt_cv_c_wint_t=yes],
-       [gt_cv_c_wint_t=no])])
-  if test $gt_cv_c_wint_t = yes; then
-    AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.])
-  fi
-])

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]