@@ -13039,13 +13039,14 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1303913039
1304013040{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for timer_create" >&5
1304113041$as_echo_n " checking for timer_create... " >&6 ; }
13042- save_LIBS=" $LIBS "
13042+ if ${vim_cv_timer_create+: } false ; then :
13043+ $as_echo_n " (cached) " >&6
13044+ else
13045+ save_LIBS=" $LIBS "
1304313046LIBS=" $LIBS -lrt"
1304413047if test " $cross_compiling " = yes; then :
13045- { { $as_echo " $as_me :${as_lineno-$LINENO } : error: in \` $ac_pwd ':" >&5
13046- $as_echo " $as_me : error: in \` $ac_pwd ':" >&2 ; }
13047- as_fn_error $? " cannot run test program while cross compiling
13048- See \` config.log' for more details" " $LINENO " 5; }
13048+ as_fn_error $? " cross-compiling: please set 'vim_cv_timer_create'" " $LINENO " 5
13049+
1304913050else
1305013051 cat confdefs.h - << _ACEOF >conftest.$ac_ext
1305113052/* end confdefs.h. */
@@ -13072,9 +13073,8 @@ main ()
1307213073}
1307313074_ACEOF
1307413075if ac_fn_c_try_run " $LINENO " ; then :
13075- { $as_echo " $as_me :${as_lineno-$LINENO } : result: yes; with -lrt" >&5
13076- $as_echo " yes; with -lrt" >&6 ; }; $as_echo " #define HAVE_TIMER_CREATE 1" >> confdefs.h
13077-
13076+ { $as_echo " $as_me :${as_lineno-$LINENO } : timer_create with -lrt" >&5
13077+ $as_echo " $as_me : timer_create with -lrt" >&6 ; }; vim_cv_timer_create=yes
1307813078else
1307913079 LIBS=" $save_LIBS "
1308013080 if test " $cross_compiling " = yes; then :
@@ -13108,12 +13108,9 @@ main ()
1310813108}
1310913109_ACEOF
1311013110if ac_fn_c_try_run " $LINENO " ; then :
13111- { $as_echo " $as_me :${as_lineno-$LINENO } : result: yes" >&5
13112- $as_echo " yes" >&6 ; }; $as_echo " #define HAVE_TIMER_CREATE 1" >> confdefs.h
13113-
13111+ vim_cv_timer_create=yes
1311413112else
13115- { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
13116- $as_echo " no" >&6 ; }
13113+ vim_cv_timer_create=no
1311713114fi
1311813115rm -f core * .core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1311913116 conftest.$ac_objext conftest.beam conftest.$ac_ext
@@ -13125,6 +13122,16 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1312513122fi
1312613123
1312713124
13125+ fi
13126+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: $vim_cv_timer_create " >&5
13127+ $as_echo " $vim_cv_timer_create " >&6 ; }
13128+
13129+ if test " x$vim_cv_timer_create " = " xyes" ; then
13130+ $as_echo " #define HAVE_TIMER_CREATE 1" >> confdefs.h
13131+
13132+ fi
13133+
13134+
1312813135{ $as_echo " $as_me :${as_lineno-$LINENO } : checking whether stat() ignores a trailing slash" >&5
1312913136$as_echo_n " checking whether stat() ignores a trailing slash... " >&6 ; }
1313013137if ${vim_cv_stat_ignores_slash+: } false ; then :
0 commit comments