From: Pierre-Marc Fournier Date: Wed, 13 Jan 2010 20:49:40 +0000 (-0500) Subject: configure.ac: improve error message X-Git-Tag: v0.1~11 X-Git-Url: https://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=cacb7fbe9c619d776254b469c8f807e8695d4a95 configure.ac: improve error message --- diff --git a/configure.ac b/configure.ac index 73e95bb..8a3974f 100644 --- a/configure.ac +++ b/configure.ac @@ -55,7 +55,8 @@ AC_CHECK_FUNCS([gettimeofday munmap socket strerror strtol]) # URCU # urcu - check if we just find the headers it out of the box. -AC_CHECK_HEADERS([urcu-bp.h], [], [AC_MSG_ERROR([Cannot find [URCU] headers (urcu-bp.h). Use [CFLAGS]=-Idir to specify their location.])]) +AC_CHECK_HEADERS([urcu-bp.h], [], [AC_MSG_ERROR([Cannot find [URCU] headers (urcu-bp.h). Use [CFLAGS]=-Idir to specify their location. +This error can also occur when the liburcu package's configure script has not been run.])]) # urcu - check that URCU lib is available to compilation AC_CHECK_LIB([urcu-bp], [synchronize_rcu], [], [AC_MSG_ERROR([Cannot find liburcu-bp lib. Use [LDFLAGS]=-Ldir to specify its location.])])