else
if test "$cross_compiling" = yes; then :
- as_fn_error $? "cross-compiling: please set 'vim_cv_timer_create'" "$LINENO" 5
+ { $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
else
if test "$cross_compiling" = yes; then :
- as_fn_error $? "cross-compiling: please set 'vim_cv_timer_create_with_lrt'" "$LINENO" 5
+ { $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_cv_timer_create=yes,
vim_cv_timer_create=no,
- AC_MSG_ERROR(cross-compiling: please set 'vim_cv_timer_create')
+ 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.
])],
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')
+ AC_MSG_WARN([failed to build test program; if cross-compiling please set 'vim_cv_timer_create_with_lrt'])
)])
LIBS="$save_LIBS"
else