diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
commit | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (patch) | |
tree | 2b2e1c71dffae827c8e45cd4cccc375093d03486 /gl/m4/nl_langinfo.m4 | |
parent | 6d1d1dac32841d5ca6ee51bb09b30a6c604b17e2 (diff) | |
download | monitoring-plugins-5be04ec2ceb1df77afbca4fcbf9e92a712612d6f.tar.gz |
Sync with the latest Gnulib code (d4ec02b3cc)refs/pull/2037/head
Diffstat (limited to 'gl/m4/nl_langinfo.m4')
-rw-r--r-- | gl/m4/nl_langinfo.m4 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gl/m4/nl_langinfo.m4 b/gl/m4/nl_langinfo.m4 index 51e783c..f38f11b 100644 --- a/gl/m4/nl_langinfo.m4 +++ b/gl/m4/nl_langinfo.m4 | |||
@@ -1,5 +1,6 @@ | |||
1 | # nl_langinfo.m4 serial 8 | 1 | # nl_langinfo.m4 |
2 | dnl Copyright (C) 2009-2023 Free Software Foundation, Inc. | 2 | # serial 11 |
3 | dnl Copyright (C) 2009-2024 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
@@ -8,7 +9,7 @@ AC_DEFUN([gl_FUNC_NL_LANGINFO], | |||
8 | [ | 9 | [ |
9 | AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) | 10 | AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) |
10 | AC_REQUIRE([gl_LANGINFO_H]) | 11 | AC_REQUIRE([gl_LANGINFO_H]) |
11 | AC_CHECK_FUNCS_ONCE([nl_langinfo]) | 12 | gl_CHECK_FUNCS_ANDROID([nl_langinfo], [[#include <langinfo.h>]]) |
12 | AC_REQUIRE([AC_CANONICAL_HOST]) | 13 | AC_REQUIRE([AC_CANONICAL_HOST]) |
13 | AC_REQUIRE([gl_FUNC_SETLOCALE_NULL]) | 14 | AC_REQUIRE([gl_FUNC_SETLOCALE_NULL]) |
14 | AC_REQUIRE([gl_PTHREADLIB]) | 15 | AC_REQUIRE([gl_PTHREADLIB]) |
@@ -60,9 +61,12 @@ AC_DEFUN([gl_FUNC_NL_LANGINFO], | |||
60 | fi | 61 | fi |
61 | else | 62 | else |
62 | HAVE_NL_LANGINFO=0 | 63 | HAVE_NL_LANGINFO=0 |
64 | case "$gl_cv_onwards_func_nl_langinfo" in | ||
65 | future*) REPLACE_NL_LANGINFO=1 ;; | ||
66 | esac | ||
63 | fi | 67 | fi |
64 | if test $HAVE_NL_LANGINFO = 0 || test $HAVE_LANGINFO_CODESET = 0; then | 68 | if test $HAVE_NL_LANGINFO = 0 || test $HAVE_LANGINFO_CODESET = 0; then |
65 | LIB_NL_LANGINFO="$LIB_SETLOCALE_NULL" | 69 | LIB_NL_LANGINFO="$SETLOCALE_NULL_LIB" |
66 | else | 70 | else |
67 | LIB_NL_LANGINFO= | 71 | LIB_NL_LANGINFO= |
68 | fi | 72 | fi |