check for required libraries in the configure
[lttv.git] / ltt / branches / poly / configure.in
CommitLineData
9f14a497 1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ(2.57)
5AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
6AM_INIT_AUTOMAKE(LinuxTraceToolkit,0.9.7-29052003)
7AC_CONFIG_HEADER([config.h])
8AC_PROG_LIBTOOL
39407106 9AM_PROG_LIBTOOL
9f14a497 10
11# Checks for programs.
12AC_PROG_CC
13
14# Checks for libraries.
aea2b50a 15AC_CHECK_LIB([popt], [poptGetNextOpt])
16AC_CHECK_LIB([gmodule-2.0], [g_module_open])
17AC_CHECK_LIB([dl], [dlopen])
18AC_CHECK_LIB([glib-2.0], [g_malloc])
9f14a497 19
20# Checks for header files.
21AC_HEADER_STDC
22AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
23
24# Checks for typedefs, structures, and compiler characteristics.
25AC_HEADER_STDBOOL
26AC_C_CONST
27AC_C_INLINE
28AC_TYPE_OFF_T
29AC_TYPE_SIZE_T
30AC_HEADER_TIME
31
32# Checks for library functions.
33AC_FUNC_ERROR_AT_LINE
34AC_FUNC_MALLOC
35AC_FUNC_SELECT_ARGTYPES
36AC_CHECK_FUNCS([select])
37
38#CPPFLAGS="$CPPFLAGS -I"
39
40lttplugindir="${libdir}/ltt/plugins"
41AC_SUBST(lttplugindir)
42
43AC_CONFIG_FILES([Makefile
44 lttv/Makefile
ead838a8 45 lttv/plugins/Makefile
46 lttd/Makefile])
9f14a497 47AC_OUTPUT
This page took 0.023916 seconds and 4 git commands to generate.