3 dnl #############################################
4 dnl see if we have nanosecond resolution for stat
5 AC_CACHE_CHECK([for tv_nsec nanosecond fields in struct stat],ac_cv_have_stat_tv_nsec,[
17 ac_cv_decl_have_stat_tv_nsec=yes,
18 ac_cv_decl_have_stat_tv_nsec=no)
20 if test x"$ac_cv_decl_have_stat_tv_nsec" = x"yes"; then
21 AC_DEFINE(HAVE_STAT_TV_NSEC,1,[Whether stat has tv_nsec nanosecond fields])
24 AC_CHECK_HEADERS(blkid/blkid.h)
25 AC_SEARCH_LIBS_EXT(blkid_get_cache, [blkid], BLKID_LIBS)
26 AC_CHECK_FUNC_EXT(blkid_get_cache, $BLKID_LIBS)
27 SMB_EXT_LIB(BLKID,[${BLKID_LIBS}],[${BLKID_CFLAGS}],[${BLKID_CPPFLAGS}],[${BLKID_LDFLAGS}])
28 if test x"$ac_cv_func_ext_blkid_get_cache" = x"yes"; then
29 AC_DEFINE(HAVE_LIBBLKID,1,[Whether we have blkid support (e2fsprogs)])
33 SMB_ENABLE(pvfs_aio,NO)
34 if test x"$tevent_cv_aio_support" = x"yes"; then
35 SMB_ENABLE(pvfs_aio,YES)