workaround, take 3
[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)
7AM_CONFIG_HEADER([config.h])
8AM_PROG_LIBTOOL
9AM_PATH_GLIB_2_0
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
43lttlibdir="${libdir}/ltt"
44AC_SUBST(lttlibdir)
45
46
47DEFAULT_INCLUDES="-I\$(top_srcdir)/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
48AC_SUBST(DEFAULT_INCLUDES)
49
50lttvincludedir="${includedir}/lttv"
51AC_SUBST(lttvincludedir)
52
53lttincludedir="${includedir}/ltt"
54AC_SUBST(lttincludedir)
55
56AC_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])
68AC_OUTPUT
This page took 0.022101 seconds and 4 git commands to generate.