Added alarm configure check
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
/* config/config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the `alarm' function. */
|
||||
#undef HAVE_ALARM
|
||||
|
||||
/* Define if you have clock_gettime() declared in <time.h> */
|
||||
#undef HAVE_CLOCK_GETTIME
|
||||
|
||||
@ -51,6 +54,9 @@
|
||||
/* Define to 1 if you have the `m' library (-lm). */
|
||||
#undef HAVE_LIBM
|
||||
|
||||
/* Define to 1 if you have the <lrand48> header file. */
|
||||
#undef HAVE_LRAND48
|
||||
|
||||
/* Define to 1 if you have Lua headers and libraries */
|
||||
#undef HAVE_LUA
|
||||
|
||||
|
||||
@ -169,6 +169,7 @@ AC_CHECK_DECL([clock_gettime],
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||
|
||||
AC_CHECK_FUNCS([ \
|
||||
alarm \
|
||||
directio \
|
||||
fdatasync \
|
||||
gettimeofday \
|
||||
|
||||
Reference in New Issue
Block a user