mainwin makefile.am modif
[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)
b0f606e9 6#AC_WITH_LTDL # not needed ?
dbedfa64 7AM_INIT_AUTOMAKE(LinuxTraceToolkit,0.9.7-06082003)
abd99409 8AM_CONFIG_HEADER([config.h])
39407106 9AM_PROG_LIBTOOL
b00eda44 10
11AM_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 12
442137a6 13AM_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)
14
9f14a497 15# Checks for programs.
16AC_PROG_CC
17
18# Checks for libraries.
31303917 19AC_CHECK_LIB([popt], [poptGetNextOpt], ,AC_MSG_ERROR([libpopt is required in order to compile LinuxTraceToolkit]) )
9f14a497 20
21# Checks for header files.
22AC_HEADER_STDC
3c18ff33 23AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.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
fc17f7eb 48top_includedir="\$(top_srcdir)/include"
49AC_SUBST(top_includedir)
50
51DEFAULT_INCLUDES="-I\$(top_includedir)"
8c4bc8bf 52AC_SUBST(DEFAULT_INCLUDES)
273475ce 53
b00eda44 54#CPPFLAGS="${GLIB_CFLAGS}"
55#AC_SUBST(CPPFLAGS)
56
940dc6d6 57lttvincludedir="${includedir}/lttv"
58AC_SUBST(lttvincludedir)
59
60lttincludedir="${includedir}/ltt"
61AC_SUBST(lttincludedir)
62
9f14a497 63AC_CONFIG_FILES([Makefile
f60d7a47 64 lttv/Makefile
830eba15 65 lttv/modules/Makefile
940dc6d6 66 lttd/Makefile
d7b45e73 67 ltt/Makefile
68 include/Makefile
69 include/ltt/Makefile
f60d7a47 70 ltt/convert/Makefile
d7b45e73 71 include/lttv/Makefile])
9f14a497 72AC_OUTPUT
94ec7637 73# lttv/modules/examples/Makefile
f60d7a47 74# include/ltt/convert/Makefile
75# lttv/modules/gui/API/Makefile
76# lttv/modules/gui/Makefile
77# lttv/modules/text/Makefile
78# lttv/plugins/Makefile
79# lttv/plugins/examples/Makefile
4a6edf70 80# lttv/modules/coreGUI/Makefile
This page took 0.026371 seconds and 4 git commands to generate.