diff options
| author | Kristian Schuster <116557017+KriSchu@users.noreply.github.com> | 2023-02-19 23:49:18 +0100 |
|---|---|---|
| committer | Kristian Schuster <116557017+KriSchu@users.noreply.github.com> | 2023-02-19 23:49:18 +0100 |
| commit | a0d42777217296c0a7bdb1e1be8d8f6de1b24dd7 (patch) | |
| tree | 8effe94c57b2f9796ba36090b07551baa8f1e1cb /gl/m4/mbsinit.m4 | |
| parent | ca3d59cd6918c9e2739e783b721d4c1122640fd3 (diff) | |
| parent | c07206f2ccc2356aa74bc6813a94c2190017d44e (diff) | |
| download | monitoring-plugins-a0d42777217296c0a7bdb1e1be8d8f6de1b24dd7.tar.gz | |
Merge remote-tracking branch 'origin/master' into feature_check_disk_add_ignore_missing_option
Diffstat (limited to 'gl/m4/mbsinit.m4')
| -rw-r--r-- | gl/m4/mbsinit.m4 | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/gl/m4/mbsinit.m4 b/gl/m4/mbsinit.m4 index 2e6d0921..c388a8b9 100644 --- a/gl/m4/mbsinit.m4 +++ b/gl/m4/mbsinit.m4 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # mbsinit.m4 serial 8 | 1 | # mbsinit.m4 serial 9 |
| 2 | dnl Copyright (C) 2008, 2010-2013 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2008, 2010-2023 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| 5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
| @@ -16,15 +16,8 @@ AC_DEFUN([gl_FUNC_MBSINIT], | |||
| 16 | if test $ac_cv_func_mbsinit = no; then | 16 | if test $ac_cv_func_mbsinit = no; then |
| 17 | HAVE_MBSINIT=0 | 17 | HAVE_MBSINIT=0 |
| 18 | AC_CHECK_DECLS([mbsinit],,, [[ | 18 | AC_CHECK_DECLS([mbsinit],,, [[ |
| 19 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before | 19 | #include <wchar.h> |
| 20 | <wchar.h>. | 20 | ]]) |
| 21 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 22 | included before <wchar.h>. */ | ||
| 23 | #include <stddef.h> | ||
| 24 | #include <stdio.h> | ||
| 25 | #include <time.h> | ||
| 26 | #include <wchar.h> | ||
| 27 | ]]) | ||
| 28 | if test $ac_cv_have_decl_mbsinit = yes; then | 21 | if test $ac_cv_have_decl_mbsinit = yes; then |
| 29 | dnl On Minix 3.1.8, the system's <wchar.h> declares mbsinit() although | 22 | dnl On Minix 3.1.8, the system's <wchar.h> declares mbsinit() although |
| 30 | dnl it does not have the function. Avoid a collision with gnulib's | 23 | dnl it does not have the function. Avoid a collision with gnulib's |
