Mercurial > vim
comparison src/auto/configure @ 29534:e491e48757d7 v9.0.0108
patch 9.0.0108: configure check for timer_create may give wrong error
Commit: https://github.com/vim/vim/commit/5f6cae8b8a49c435556e32f84d067cd0b4d28e4c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 30 11:00:50 2022 +0100
patch 9.0.0108: configure check for timer_create may give wrong error
Problem: Configure check for timer_create may give wrong error.
Solution: Give a warning instead of an error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Jul 2022 12:15:07 +0200 |
parents | 1733b6162f75 |
children | 029c59bf78f1 |
comparison
equal
deleted
inserted
replaced
29533:34c1f4cd0c18 | 29534:e491e48757d7 |
---|---|
13042 if ${vim_cv_timer_create+:} false; then : | 13042 if ${vim_cv_timer_create+:} false; then : |
13043 $as_echo_n "(cached) " >&6 | 13043 $as_echo_n "(cached) " >&6 |
13044 else | 13044 else |
13045 | 13045 |
13046 if test "$cross_compiling" = yes; then : | 13046 if test "$cross_compiling" = yes; then : |
13047 as_fn_error $? "cross-compiling: please set 'vim_cv_timer_create'" "$LINENO" 5 | 13047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to build test program; if cross-compiling please set 'vim_cv_timer_create'" >&5 |
13048 $as_echo "$as_me: WARNING: failed to build test program; if cross-compiling please set 'vim_cv_timer_create'" >&2;} | |
13048 | 13049 |
13049 else | 13050 else |
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13051 /* end confdefs.h. */ | 13052 /* end confdefs.h. */ |
13052 | 13053 |
13096 if ${vim_cv_timer_create_with_lrt+:} false; then : | 13097 if ${vim_cv_timer_create_with_lrt+:} false; then : |
13097 $as_echo_n "(cached) " >&6 | 13098 $as_echo_n "(cached) " >&6 |
13098 else | 13099 else |
13099 | 13100 |
13100 if test "$cross_compiling" = yes; then : | 13101 if test "$cross_compiling" = yes; then : |
13101 as_fn_error $? "cross-compiling: please set 'vim_cv_timer_create_with_lrt'" "$LINENO" 5 | 13102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to build test program; if cross-compiling please set 'vim_cv_timer_create_with_lrt'" >&5 |
13103 $as_echo "$as_me: WARNING: failed to build test program; if cross-compiling please set 'vim_cv_timer_create_with_lrt'" >&2;} | |
13102 | 13104 |
13103 else | 13105 else |
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13105 /* end confdefs.h. */ | 13107 /* end confdefs.h. */ |
13106 | 13108 |