workaround, take 3
[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)
abd99409 7AM_CONFIG_HEADER([config.h])
39407106 8AM_PROG_LIBTOOL
3c18ff33 9AM_PATH_GLIB_2_0
9f14a497 10
11# Checks for programs.
12AC_PROG_CC
13
14# Checks for libraries.
aea2b50a 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])
9f14a497 19
20# Checks for header files.
21AC_HEADER_STDC
3c18ff33 22AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
9f14a497 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
a521ac8f 40lttvplugindir="${libdir}/lttv/plugins"
41AC_SUBST(lttvplugindir)
9f14a497 42
38d7caa6 43lttlibdir="${libdir}/ltt"
44AC_SUBST(lttlibdir)
45
46
aefa8569 47DEFAULT_INCLUDES="-I\$(top_srcdir)/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
8c4bc8bf 48AC_SUBST(DEFAULT_INCLUDES)
273475ce 49
940dc6d6 50lttvincludedir="${includedir}/lttv"
51AC_SUBST(lttvincludedir)
52
53lttincludedir="${includedir}/ltt"
54AC_SUBST(lttincludedir)
55
9f14a497 56AC_CONFIG_FILES([Makefile
57 lttv/Makefile
830eba15 58 lttv/modules/Makefile
59 lttv/modules/gui/Makefile
60 lttv/modules/text/Makefile
ead838a8 61 lttv/plugins/Makefile
20514643 62 lttv/plugins/examples/Makefile
940dc6d6 63 lttd/Makefile
d7b45e73 64 ltt/Makefile
65 include/Makefile
66 include/ltt/Makefile
67 include/lttv/Makefile])
9f14a497 68AC_OUTPUT
This page took 0.025842 seconds and 4 git commands to generate.