Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] [LTTng-UST PATCH] Add check for libuuid to configure.ac
@ 2011-11-03 23:59 Alexandre Montplaisir
  2011-11-04  9:45 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Montplaisir @ 2011-11-03 23:59 UTC (permalink / raw)


libuuid is needed by the ring-buffer library.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir at polymtl.ca>
---
 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index bc0eb6b..391cc9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,11 @@ AC_PROG_LIBTOOL
 AC_CHECK_LIB([dl], [dlopen])
 AC_CHECK_LIB([pthread], [pthread_create])
 
+# Check for libuuid
+AC_CHECK_LIB([uuid], [uuid_generate], [],
+	[AC_MSG_ERROR([Cannot find libuuid. Use [LDFLAGS]=-Ldir to specify its location.])]
+)
+
 # Checks for header files.
 #AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h])
 
-- 
1.7.7




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ltt-dev] [LTTng-UST PATCH] Add check for libuuid to configure.ac
  2011-11-03 23:59 [ltt-dev] [LTTng-UST PATCH] Add check for libuuid to configure.ac Alexandre Montplaisir
@ 2011-11-04  9:45 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2011-11-04  9:45 UTC (permalink / raw)


* Alexandre Montplaisir (alexandre.montplaisir at polymtl.ca) wrote:
> libuuid is needed by the ring-buffer library.

merged, thanks!

Mathieu

> 
> Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir at polymtl.ca>
> ---
>  configure.ac |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index bc0eb6b..391cc9a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -29,6 +29,11 @@ AC_PROG_LIBTOOL
>  AC_CHECK_LIB([dl], [dlopen])
>  AC_CHECK_LIB([pthread], [pthread_create])
>  
> +# Check for libuuid
> +AC_CHECK_LIB([uuid], [uuid_generate], [],
> +	[AC_MSG_ERROR([Cannot find libuuid. Use [LDFLAGS]=-Ldir to specify its location.])]
> +)
> +
>  # Checks for header files.
>  #AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h])
>  
> -- 
> 1.7.7
> 
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-04  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-03 23:59 [ltt-dev] [LTTng-UST PATCH] Add check for libuuid to configure.ac Alexandre Montplaisir
2011-11-04  9:45 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox