* Thomas Petazzoni ([email protected]) wrote: > The popt library is used by babeltrace but isn't checked in > configure.ac, so the compilation fails due to popt.h being missing if > popt is not already installed on the system.
merged, thanks! Mathieu > > Signed-off-by: Thomas Petazzoni <[email protected]> > --- > configure.ac | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/configure.ac b/configure.ac > index f8a80e5..4446f29 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -40,6 +40,10 @@ AC_CHECK_LIB([uuid], [uuid_generate], [], > [AC_MSG_ERROR([Cannot find libuuid. Use [LDFLAGS]=-Ldir to specify its > location.])] > ) > > +AC_CHECK_LIB([popt], [poptGetContext], [], > + [AC_MSG_ERROR([Cannot find popt.])] > +) > + > pkg_modules="gmodule-2.0 >= 2.0.0" > PKG_CHECK_MODULES(GMODULE, [$pkg_modules]) > AC_SUBST(PACKAGE_LIBS) > -- > 1.7.4.1 > > > _______________________________________________ > ltt-dev mailing list > [email protected] > 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 _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
