ustd: start handling SIGPIPE, add handling for failed put_subbuf and cleaning
[ust.git] / configure.ac
index 1f2d2c5de7012f78670924b95a168acc63cd3425..a7f9a7398c7d18eb27d6d0dcb89c46f265b0b78b 100644 (file)
@@ -49,8 +49,10 @@ AC_C_INLINE
 AC_FUNC_MALLOC
 AC_CHECK_FUNCS([gettimeofday munmap socket strerror strtol])
 
-AC_ARG_WITH(urcu, [  --with-urcu path  Path to userspace RCU source], URCU_PATH="$withval", AC_MSG_ERROR([Must specify urcu path.]))
-AC_ARG_WITH(kcompat, [  --with-kcompat path    Path to userspace kcompat source], KCOMPAT_PATH="$withval", AC_MSG_ERROR([Must specify kcompat path.]))
+AC_ARG_WITH(urcu, [  --with-urcu=path  Path to userspace RCU library source], URCU_PATH="$withval", AC_MSG_ERROR([Must specify liburcu path.]))
+AC_CHECK_FILE("$URCU_PATH/urcu.h", , AC_MSG_ERROR([Cannot find urcu.h in liburcu directory]))
+AC_ARG_WITH(kcompat, [  --with-kcompat=path    Path to libkcompat source], KCOMPAT_PATH="$withval", AC_MSG_ERROR([Must specify libkcompat path.]))
+AC_CHECK_FILE("$KCOMPAT_PATH/kcompat.h", , AC_MSG_ERROR([Cannot find kcompat.h in libkcompat directory]))
 AC_SUBST(URCU_PATH)
 AC_SUBST(KCOMPAT_PATH)
 
This page took 0.022391 seconds and 4 git commands to generate.