Add reference counts to state and stats saved attributes. This way, the
[lttv.git] / ltt / branches / poly / configure.in
CommitLineData
ce0214a6 1# This file is part of the Linux Trace Toolkit viewer
2# Copyright (C) 2003-2004 Mathieu Desnoyers
3#
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License Version 2 as
6# published by the Free Software Foundation;
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program; if not, write to the Free Software
15# Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16# MA 02111-1307, USA.
17
18
19
9f14a497 20# -*- Autoconf -*-
21# Process this file with autoconf to produce a configure script.
22
23AC_PREREQ(2.57)
24AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
b0f606e9 25#AC_WITH_LTDL # not needed ?
0f48dea4 26AM_INIT_AUTOMAKE(LinuxTraceToolkit,0.9.7-30092003)
b445142a 27AM_CONFIG_HEADER(config.h)
39407106 28AM_PROG_LIBTOOL
b00eda44 29
30AM_PATH_GLIB_2_0(2.0.0, ,AC_MSG_ERROR([glib is required in order to compile LinuxTraceToolkit - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule)
9f14a497 31
442137a6 32AM_PATH_GTK_2_0(2.0.0, ,AC_MSG_ERROR([gtk is required in order to compile GUI - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule)
33
9f14a497 34# Checks for programs.
35AC_PROG_CC
36
37# Checks for libraries.
31303917 38AC_CHECK_LIB([popt], [poptGetNextOpt], ,AC_MSG_ERROR([libpopt is required in order to compile LinuxTraceToolkit]) )
9f14a497 39
40# Checks for header files.
41AC_HEADER_STDC
3c18ff33 42AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
9f14a497 43
c8faea22 44AC_ISC_POSIX
45AC_PROG_CC
46AM_PROG_CC_STDC
47AC_HEADER_STDC
48
49pkg_modules="gtk+-2.0 >= 2.0.0"
388a40e9 50PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
51AC_SUBST(PACKAGE_CFLAGS)
52AC_SUBST(PACKAGE_LIBS)
53
9f14a497 54# Checks for typedefs, structures, and compiler characteristics.
55AC_HEADER_STDBOOL
56AC_C_CONST
57AC_C_INLINE
58AC_TYPE_OFF_T
59AC_TYPE_SIZE_T
60AC_HEADER_TIME
61
62# Checks for library functions.
63AC_FUNC_ERROR_AT_LINE
64AC_FUNC_MALLOC
65AC_FUNC_SELECT_ARGTYPES
66AC_CHECK_FUNCS([select])
67
68#CPPFLAGS="$CPPFLAGS -I"
69
96cbee09 70lttvlibdir="${libdir}/lttv"
71AC_SUBST(lttvlibdir)
72
73lttvplugindir="${lttvlibdir}/plugins"
a521ac8f 74AC_SUBST(lttvplugindir)
9f14a497 75
38d7caa6 76lttlibdir="${libdir}/ltt"
77AC_SUBST(lttlibdir)
78
79
fc17f7eb 80top_includedir="\$(top_srcdir)/include"
81AC_SUBST(top_includedir)
82
6ebfde5e 83DEFAULT_INCLUDES="-I\$(top_includedir) -I\$(top_srcdir)"
8c4bc8bf 84AC_SUBST(DEFAULT_INCLUDES)
273475ce 85
b00eda44 86#CPPFLAGS="${GLIB_CFLAGS}"
87#AC_SUBST(CPPFLAGS)
88
940dc6d6 89lttvincludedir="${includedir}/lttv"
90AC_SUBST(lttvincludedir)
91
92lttincludedir="${includedir}/ltt"
93AC_SUBST(lttincludedir)
94
9f14a497 95AC_CONFIG_FILES([Makefile
a100e2b7 96 lttv/Makefile
447e70db 97 lttv/main/Makefile
830eba15 98 lttv/modules/Makefile
0e9ba239 99 lttv/modules/text/Makefile
6ebfde5e 100 lttv/modules/gui/Makefile
dd4a271d 101 lttv/modules/gui/mainlib/Makefile
2176a265 102 lttv/modules/gui/main/Makefile
103 lttv/modules/gui/main/src/Makefile
104 lttv/modules/gui/main/pixmaps/Makefile
105 lttv/modules/gui/icons/Makefile
88feb618 106 lttv/modules/gui/controlflow/Makefile
107 lttv/modules/gui/detailedevents/Makefile
108 lttv/modules/gui/statistics/Makefile
940dc6d6 109 lttd/Makefile
d7b45e73 110 ltt/Makefile
111 include/Makefile
f60d7a47 112 ltt/convert/Makefile
d7b45e73 113 include/lttv/Makefile])
9f14a497 114AC_OUTPUT
This page took 0.031861 seconds and 4 git commands to generate.