diff options
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 9aaed202..61139039 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 |
