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