From: Pierre-Marc Fournier Date: Fri, 8 May 2009 21:03:01 +0000 (-0400) Subject: configure.ac: make help and error msgs more clear X-Git-Tag: v0.1~225 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0d31b2dae761b34ba322f701ad219e8db0a63001;p=ust.git configure.ac: make help and error msgs more clear --- diff --git a/configure.ac b/configure.ac index dbaa45b..e63477b 100644 --- a/configure.ac +++ b/configure.ac @@ -49,10 +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_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_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)