diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-06 08:24:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 08:24:23 (GMT) |
commit | 9b4df9e50837cc837e113053ba12ee6967d5e6c2 (patch) | |
tree | bf989e771579f835bcb49c074637a8e224bcecbc /gl/m4/getdelim.m4 | |
parent | 94150ae347beb25ac369d5773834ceef7f3736d3 (diff) | |
parent | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (diff) | |
download | monitoring-plugins-9b4df9e50837cc837e113053ba12ee6967d5e6c2.tar.gz |
Merge pull request #2037 from RincewindsHat/update/gnulib-1.0
Sync with the latest Gnulib code (d4ec02b3cc) (gnulib v1.0)
Diffstat (limited to 'gl/m4/getdelim.m4')
-rw-r--r-- | gl/m4/getdelim.m4 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gl/m4/getdelim.m4 b/gl/m4/getdelim.m4 index 9aaed20..6113903 100644 --- a/gl/m4/getdelim.m4 +++ b/gl/m4/getdelim.m4 | |||
@@ -1,6 +1,7 @@ | |||
1 | # getdelim.m4 serial 16 | 1 | # getdelim.m4 |
2 | # serial 19 | ||
2 | 3 | ||
3 | dnl Copyright (C) 2005-2007, 2009-2023 Free Software Foundation, Inc. | 4 | dnl Copyright (C) 2005-2007, 2009-2024 Free Software Foundation, Inc. |
4 | dnl | 5 | dnl |
5 | dnl This file is free software; the Free Software Foundation | 6 | dnl This file is free software; the Free Software Foundation |
6 | dnl gives unlimited permission to copy and/or distribute it, | 7 | dnl gives unlimited permission to copy and/or distribute it, |
@@ -18,7 +19,7 @@ AC_DEFUN([gl_FUNC_GETDELIM], | |||
18 | 19 | ||
19 | AC_CHECK_DECLS_ONCE([getdelim]) | 20 | AC_CHECK_DECLS_ONCE([getdelim]) |
20 | 21 | ||
21 | AC_CHECK_FUNCS_ONCE([getdelim]) | 22 | gl_CHECK_FUNCS_ANDROID([getdelim], [[#include <stdio.h>]]) |
22 | if test $ac_cv_func_getdelim = yes; then | 23 | if test $ac_cv_func_getdelim = yes; then |
23 | HAVE_GETDELIM=1 | 24 | HAVE_GETDELIM=1 |
24 | dnl Found it in some library. Verify that it works. | 25 | dnl Found it in some library. Verify that it works. |
@@ -82,8 +83,8 @@ AC_DEFUN([gl_FUNC_GETDELIM], | |||
82 | ], | 83 | ], |
83 | [gl_cv_func_working_getdelim="guessing yes"], | 84 | [gl_cv_func_working_getdelim="guessing yes"], |
84 | [case "$host_os" in | 85 | [case "$host_os" in |
85 | *-musl*) gl_cv_func_working_getdelim="guessing yes" ;; | 86 | *-musl* | midipix*) gl_cv_func_working_getdelim="guessing yes" ;; |
86 | *) gl_cv_func_working_getdelim="$gl_cross_guess_normal" ;; | 87 | *) gl_cv_func_working_getdelim="$gl_cross_guess_normal" ;; |
87 | esac | 88 | esac |
88 | ]) | 89 | ]) |
89 | ]) | 90 | ]) |
@@ -96,6 +97,9 @@ AC_DEFUN([gl_FUNC_GETDELIM], | |||
96 | esac | 97 | esac |
97 | else | 98 | else |
98 | HAVE_GETDELIM=0 | 99 | HAVE_GETDELIM=0 |
100 | case "$gl_cv_onwards_func_getdelim" in | ||
101 | future*) REPLACE_GETDELIM=1 ;; | ||
102 | esac | ||
99 | fi | 103 | fi |
100 | 104 | ||
101 | if test $ac_cv_have_decl_getdelim = no; then | 105 | if test $ac_cv_have_decl_getdelim = no; then |