X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=dbaa45b7b2f88d2843bb480879186388860e20a2;hb=5faab98d64234adfe053433a52024cb487843fa0;hp=1f2d2c5de7012f78670924b95a168acc63cd3425;hpb=981e27d976f58157323770384f8fd125733e0b8e;p=ust.git diff --git a/configure.ac b/configure.ac index 1f2d2c5..dbaa45b 100644 --- a/configure.ac +++ b/configure.ac @@ -50,7 +50,9 @@ 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_CHECK_FILE("$URCU_PATH/urcu.h", , AC_MSG_ERROR([Cannot find urcu.h in urcu directory])) AC_ARG_WITH(kcompat, [ --with-kcompat path Path to userspace kcompat source], KCOMPAT_PATH="$withval", AC_MSG_ERROR([Must specify kcompat path.])) +AC_CHECK_FILE("$KCOMPAT_PATH/kcompat.h", , AC_MSG_ERROR([Cannot find kcompat.h in kcompat directory])) AC_SUBST(URCU_PATH) AC_SUBST(KCOMPAT_PATH)