put back again
[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
3c18ff33 10#AM_CONFIG_HEADER
11AM_PATH_GLIB_2_0
9f14a497 12
13# Checks for programs.
14AC_PROG_CC
15
16# Checks for libraries.
aea2b50a 17AC_CHECK_LIB([popt], [poptGetNextOpt])
18AC_CHECK_LIB([gmodule-2.0], [g_module_open])
19AC_CHECK_LIB([dl], [dlopen])
20AC_CHECK_LIB([glib-2.0], [g_malloc])
9f14a497 21
22# Checks for header files.
23AC_HEADER_STDC
3c18ff33 24AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
9f14a497 25
26# Checks for typedefs, structures, and compiler characteristics.
27AC_HEADER_STDBOOL
28AC_C_CONST
29AC_C_INLINE
30AC_TYPE_OFF_T
31AC_TYPE_SIZE_T
32AC_HEADER_TIME
33
34# Checks for library functions.
35AC_FUNC_ERROR_AT_LINE
36AC_FUNC_MALLOC
37AC_FUNC_SELECT_ARGTYPES
38AC_CHECK_FUNCS([select])
39
40#CPPFLAGS="$CPPFLAGS -I"
41
a521ac8f 42lttvplugindir="${libdir}/lttv/plugins"
43AC_SUBST(lttvplugindir)
9f14a497 44
38d7caa6 45lttlibdir="${libdir}/ltt"
46AC_SUBST(lttlibdir)
47
48
8c4bc8bf 49DEFAULT_INCLUDES="-I\$(top_srcdir)/include"
50AC_SUBST(DEFAULT_INCLUDES)
273475ce 51
940dc6d6 52lttvincludedir="${includedir}/lttv"
53AC_SUBST(lttvincludedir)
54
55lttincludedir="${includedir}/ltt"
56AC_SUBST(lttincludedir)
57
9f14a497 58AC_CONFIG_FILES([Makefile
59 lttv/Makefile
830eba15 60 lttv/modules/Makefile
61 lttv/modules/gui/Makefile
62 lttv/modules/text/Makefile
ead838a8 63 lttv/plugins/Makefile
20514643 64 lttv/plugins/examples/Makefile
940dc6d6 65 lttd/Makefile
d7b45e73 66 ltt/Makefile
67 include/Makefile
68 include/ltt/Makefile
69 include/lttv/Makefile])
9f14a497 70AC_OUTPUT
This page took 0.025978 seconds and 4 git commands to generate.