From: compudj Date: Thu, 29 May 2003 18:16:56 +0000 (+0000) Subject: check for required libraries in the configure X-Git-Tag: v0.12.20~3452 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=aea2b50a7a2bbf7fd9641d9bd31976a636cabf4b;p=lttv.git check for required libraries in the configure git-svn-id: http://ltt.polymtl.ca/svn@37 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/config.h.in b/ltt/branches/poly/config.h.in index 9b015acb..e16fb678 100644 --- a/ltt/branches/poly/config.h.in +++ b/ltt/branches/poly/config.h.in @@ -9,6 +9,18 @@ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H +/* Define to 1 if you have the `dl' library (-ldl). */ +#undef HAVE_LIBDL + +/* Define to 1 if you have the `glib-2.0' library (-lglib-2.0). */ +#undef HAVE_LIBGLIB_2_0 + +/* Define to 1 if you have the `gmodule-2.0' library (-lgmodule-2.0). */ +#undef HAVE_LIBGMODULE_2_0 + +/* Define to 1 if you have the `popt' library (-lpopt). */ +#undef HAVE_LIBPOPT + /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #undef HAVE_MALLOC diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index 9a4150c0..e6731008 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -12,11 +12,10 @@ AM_PROG_LIBTOOL AC_PROG_CC # Checks for libraries. -# MD : here or at the Makefile level ? -#AC_CHECK_LIB([popt], [poptGetNextOpt]) -#AC_CHECK_LIB([gmodule-2.0], [g_module_open]) -#AC_CHECK_LIB([dl], [dlopen]) -#AC_CHECK_LIB([glib-2.0], [g_malloc]) +AC_CHECK_LIB([popt], [poptGetNextOpt]) +AC_CHECK_LIB([gmodule-2.0], [g_module_open]) +AC_CHECK_LIB([dl], [dlopen]) +AC_CHECK_LIB([glib-2.0], [g_malloc]) # Checks for header files. AC_HEADER_STDC diff --git a/ltt/branches/poly/lttv/Makefile.am b/ltt/branches/poly/lttv/Makefile.am index 33435762..34e841ad 100644 --- a/ltt/branches/poly/lttv/Makefile.am +++ b/ltt/branches/poly/lttv/Makefile.am @@ -5,4 +5,4 @@ AM_CPPFLAGS = \ # MD //FIXME add headers dependancy textui_SOURCES = main.c module.c option.c hook.c attribute.c -textui_LDFLAGS = -lpopt -lgmodule-2.0 -ldl -lglib-2.0 +#textui_LDFLAGS = -lpopt -lgmodule-2.0 -ldl -lglib-2.0