summaryrefslogtreecommitdiff
path: root/gnulib-m4/wctob.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-m4/wctob.m4')
-rw-r--r--gnulib-m4/wctob.m416
1 files changed, 3 insertions, 13 deletions
diff --git a/gnulib-m4/wctob.m4 b/gnulib-m4/wctob.m4
index d66c6ff1..6506b0da 100644
--- a/gnulib-m4/wctob.m4
+++ b/gnulib-m4/wctob.m4
@@ -1,9 +1,10 @@
# wctob.m4
-# serial 14
-dnl Copyright (C) 2008-2024 Free Software Foundation, Inc.
+# serial 15
+dnl Copyright (C) 2008-2025 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 This file is offered as-is, without any warranty.
AC_DEFUN([gl_FUNC_WCTOB],
[
@@ -12,7 +13,6 @@ AC_DEFUN([gl_FUNC_WCTOB],
AC_CHECK_FUNCS_ONCE([wctob])
if test $ac_cv_func_wctob = no; then
HAVE_WCTOB=0
- HAVE_DECL_WCTOB=0
else
HAVE_WCTOB=1
@@ -91,16 +91,6 @@ int main ()
*yes) ;;
*) REPLACE_WCTOB=1 ;;
esac
- if test $REPLACE_WCTOB = 0; then
-
- dnl IRIX 6.5 has the wctob() function but does not declare it.
- AC_CHECK_DECLS([wctob], [], [], [[
- #include <wchar.h>
- ]])
- if test $ac_cv_have_decl_wctob != yes; then
- HAVE_DECL_WCTOB=0
- fi
- fi
fi
])