diff options
Diffstat (limited to 'm4/sethostname.m4')
-rw-r--r-- | m4/sethostname.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/sethostname.m4 b/m4/sethostname.m4 index 8f3cd18c6c..c3dea59464 100644 --- a/m4/sethostname.m4 +++ b/m4/sethostname.m4 @@ -1,4 +1,4 @@ -# sethostname.m4 serial 2 +# sethostname.m4 serial 3 dnl Copyright (C) 2011-2023 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -16,6 +16,9 @@ AC_DEFUN([gl_FUNC_SETHOSTNAME], gl_CHECK_FUNCS_ANDROID([sethostname], [[#include <unistd.h>]]) if test $ac_cv_func_sethostname = no; then HAVE_SETHOSTNAME=0 + case "$gl_cv_onwards_func_sethostname" in + future*) REPLACE_SETHOSTNAME=1 ;; + esac fi AC_CHECK_DECLS([sethostname]) |