lib/util: add tevent_coroutine infrastructure based on Portable Coroutine Library
[metze/samba/wip.git] / lib / util / tevent.m4
1
2 # check for the Portable Coroutine Library
3 AC_CHECK_HEADERS(pcl.h)
4 AC_CHECK_LIB_EXT(pcl, PCL_LIBS, co_create)
5 if test x"$ac_cv_header_pcl_h" = x"yes" -a x"$ac_cv_lib_ext_pcl_co_create" = x"yes"; then
6         SMB_ENABLE(LIBPCL,YES)
7         SMB_EXT_LIB(LIBPCL, $PCL_LIBS)
8 fi
9