@@ -13039,13 +13039,14 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13039
13039
13040
13040
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for timer_create" >&5
13041
13041
$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 "
13043
13046
LIBS=" $LIBS -lrt"
13044
13047
if 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
+
13049
13050
else
13050
13051
cat confdefs.h - << _ACEOF >conftest.$ac_ext
13051
13052
/* end confdefs.h. */
@@ -13072,9 +13073,8 @@ main ()
13072
13073
}
13073
13074
_ACEOF
13074
13075
if 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
13078
13078
else
13079
13079
LIBS=" $save_LIBS "
13080
13080
if test " $cross_compiling " = yes; then :
@@ -13108,12 +13108,9 @@ main ()
13108
13108
}
13109
13109
_ACEOF
13110
13110
if 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
13114
13112
else
13115
- { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
13116
- $as_echo " no" >&6 ; }
13113
+ vim_cv_timer_create=no
13117
13114
fi
13118
13115
rm -f core * .core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13119
13116
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 \
13125
13122
fi
13126
13123
13127
13124
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
+
13128
13135
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking whether stat() ignores a trailing slash" >&5
13129
13136
$as_echo_n " checking whether stat() ignores a trailing slash... " >&6 ; }
13130
13137
if ${vim_cv_stat_ignores_slash+: } false ; then :
0 commit comments