put plugins+modules in right dir
[lttv.git] / ltt / branches / poly / configure.in
... / ...
CommitLineData
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
9AM_PROG_LIBTOOL
10
11# Checks for programs.
12AC_PROG_CC
13
14# Checks for libraries.
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])
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
40lttvplugindir="${libdir}/lttv/plugins"
41AC_SUBST(lttvplugindir)
42
43#DEFAULT_INCLUDES="-I\$(top_srcdir)/include"
44#AC_SUBST(DEFAULT_INCLUDES)
45
46lttvincludedir="${includedir}/lttv"
47AC_SUBST(lttvincludedir)
48
49lttincludedir="${includedir}/ltt"
50AC_SUBST(lttincludedir)
51
52AC_CONFIG_FILES([Makefile
53 lttv/Makefile
54 lttv/plugins/Makefile
55 lttv/plugins/exemples/Makefile
56 lttd/Makefile
57 ltt/Makefile])
58AC_OUTPUT
This page took 0.021891 seconds and 4 git commands to generate.