Patch 9.0.0108

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 30, 2022, 6:01:30 AM7/30/22
to vim...@googlegroups.com

Patch 9.0.0108
Problem: Configure check for timer_create may give wrong error.
Solution: Give a warning instead of an error.
Files: src/configure.ac, src/auto/configure


*** ../vim-9.0.0107/src/configure.ac 2022-07-28 22:39:50.611678479 +0100
--- src/configure.ac 2022-07-30 10:59:36.821403473 +0100
***************
*** 3828,3834 ****
])],
vim_cv_timer_create=yes,
vim_cv_timer_create=no,
! AC_MSG_ERROR(cross-compiling: please set 'vim_cv_timer_create')
)])

dnl If the previous failed, check for timer_create() and linking with -lrt.
--- 3828,3834 ----
])],
vim_cv_timer_create=yes,
vim_cv_timer_create=no,
! AC_MSG_WARN([failed to build test program; if cross-compiling please set 'vim_cv_timer_create'])
)])

dnl If the previous failed, check for timer_create() and linking with -lrt.
***************
*** 3856,3862 ****
])],
vim_cv_timer_create_with_lrt=yes,
vim_cv_timer_create_with_lrt=no,
! AC_MSG_ERROR(cross-compiling: please set 'vim_cv_timer_create_with_lrt')
)])
LIBS="$save_LIBS"
else
--- 3856,3862 ----
])],
vim_cv_timer_create_with_lrt=yes,
vim_cv_timer_create_with_lrt=no,
! AC_MSG_WARN([failed to build test program; if cross-compiling please set 'vim_cv_timer_create_with_lrt'])
)])
LIBS="$save_LIBS"
else
*** ../vim-9.0.0107/src/auto/configure 2022-07-28 22:39:50.615678478 +0100
--- src/auto/configure 2022-07-30 10:59:39.913403164 +0100
***************
*** 13044,13050 ****
else

if test "$cross_compiling" = yes; then :
! as_fn_error $? "cross-compiling: please set 'vim_cv_timer_create'" "$LINENO" 5

else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 13044,13051 ----
else

if test "$cross_compiling" = yes; then :
! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to build test program; if cross-compiling please set 'vim_cv_timer_create'" >&5
! $as_echo "$as_me: WARNING: failed to build test program; if cross-compiling please set 'vim_cv_timer_create'" >&2;}

else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
***************
*** 13098,13104 ****
else

if test "$cross_compiling" = yes; then :
! as_fn_error $? "cross-compiling: please set 'vim_cv_timer_create_with_lrt'" "$LINENO" 5

else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--- 13099,13106 ----
else

if test "$cross_compiling" = yes; then :
! { $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
! $as_echo "$as_me: WARNING: failed to build test program; if cross-compiling please set 'vim_cv_timer_create_with_lrt'" >&2;}

else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
*** ../vim-9.0.0107/src/version.c 2022-07-29 19:50:38.277964080 +0100
--- src/version.c 2022-07-30 11:00:29.737398290 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 108,
/**/

--
Press any key to continue, press any other key to quit.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages