3e911a7927ab646cffb44db609ae5bde32d5fd23
[lttv.git] / ltt / branches / poly / configure.in
1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.57)
5 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
6 AM_INIT_AUTOMAKE(LinuxTraceToolkit,0.9.7-29052003)
7 AM_CONFIG_HEADER([config.h])
8 AM_PROG_LIBTOOL
9 AM_PATH_GLIB_2_0
10
11 # Checks for programs.
12 AC_PROG_CC
13
14 # Checks for libraries.
15 AC_CHECK_LIB([popt], [poptGetNextOpt])
16 AC_CHECK_LIB([gmodule-2.0], [g_module_open])
17 AC_CHECK_LIB([dl], [dlopen])
18 AC_CHECK_LIB([glib-2.0], [g_malloc])
19
20 # Checks for header files.
21 AC_HEADER_STDC
22 AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
23
24 # Checks for typedefs, structures, and compiler characteristics.
25 AC_HEADER_STDBOOL
26 AC_C_CONST
27 AC_C_INLINE
28 AC_TYPE_OFF_T
29 AC_TYPE_SIZE_T
30 AC_HEADER_TIME
31
32 # Checks for library functions.
33 AC_FUNC_ERROR_AT_LINE
34 AC_FUNC_MALLOC
35 AC_FUNC_SELECT_ARGTYPES
36 AC_CHECK_FUNCS([select])
37
38 #CPPFLAGS="$CPPFLAGS -I"
39
40 lttvplugindir="${libdir}/lttv/plugins"
41 AC_SUBST(lttvplugindir)
42
43 lttlibdir="${libdir}/ltt"
44 AC_SUBST(lttlibdir)
45
46
47 DEFAULT_INCLUDES="-I\$(top_srcdir)/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
48 AC_SUBST(DEFAULT_INCLUDES)
49
50 lttvincludedir="${includedir}/lttv"
51 AC_SUBST(lttvincludedir)
52
53 lttincludedir="${includedir}/ltt"
54 AC_SUBST(lttincludedir)
55
56 AC_CONFIG_FILES([Makefile
57 lttv/Makefile
58 lttv/modules/Makefile
59 lttv/modules/gui/Makefile
60 lttv/modules/text/Makefile
61 lttv/plugins/Makefile
62 lttv/plugins/examples/Makefile
63 lttd/Makefile
64 ltt/Makefile
65 include/Makefile
66 include/ltt/Makefile
67 include/lttv/Makefile])
68 AC_OUTPUT
This page took 0.030999 seconds and 4 git commands to generate.