From mboxrd@z Thu Jan 1 00:00:00 1970 From: compudj@krystal.dyndns.org (Mathieu Desnoyers) Date: Fri, 4 Nov 2011 05:45:39 -0400 Subject: [ltt-dev] [LTTng-UST PATCH] Add check for libuuid to configure.ac In-Reply-To: <1320364741-18183-1-git-send-email-alexandre.montplaisir@polymtl.ca> References: <1320364741-18183-1-git-send-email-alexandre.montplaisir@polymtl.ca> Message-ID: <20111104094538.GA30514@Krystal> * Alexandre Montplaisir (alexandre.montplaisir at polymtl.ca) wrote: > libuuid is needed by the ring-buffer library. merged, thanks! Mathieu > > Signed-off-by: Alexandre Montplaisir > --- > 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