Makefile.am fixed
[lttv.git] / ltt / branches / poly / configure.in
1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.57)
5 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
6 #AC_WITH_LTDL # not needed ?
7 AM_INIT_AUTOMAKE(LinuxTraceToolkit,0.9.7-06082003)
8 AM_CONFIG_HEADER([config.h])
9 AM_PROG_LIBTOOL
10
11 AM_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)
12
13 AM_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
15 # Checks for programs.
16 AC_PROG_CC
17
18 # Checks for libraries.
19 AC_CHECK_LIB([popt], [poptGetNextOpt], ,AC_MSG_ERROR([libpopt is required in order to compile LinuxTraceToolkit]) )
20
21 # Checks for header files.
22 AC_HEADER_STDC
23 AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
24
25 # Checks for typedefs, structures, and compiler characteristics.
26 AC_HEADER_STDBOOL
27 AC_C_CONST
28 AC_C_INLINE
29 AC_TYPE_OFF_T
30 AC_TYPE_SIZE_T
31 AC_HEADER_TIME
32
33 # Checks for library functions.
34 AC_FUNC_ERROR_AT_LINE
35 AC_FUNC_MALLOC
36 AC_FUNC_SELECT_ARGTYPES
37 AC_CHECK_FUNCS([select])
38
39 #CPPFLAGS="$CPPFLAGS -I"
40
41 lttvplugindir="${libdir}/lttv/plugins"
42 AC_SUBST(lttvplugindir)
43
44 lttlibdir="${libdir}/ltt"
45 AC_SUBST(lttlibdir)
46
47
48 top_includedir="\$(top_srcdir)/include"
49 AC_SUBST(top_includedir)
50
51 DEFAULT_INCLUDES="-I\$(top_includedir)"
52 AC_SUBST(DEFAULT_INCLUDES)
53
54 #CPPFLAGS="${GLIB_CFLAGS}"
55 #AC_SUBST(CPPFLAGS)
56
57 lttvincludedir="${includedir}/lttv"
58 AC_SUBST(lttvincludedir)
59
60 lttincludedir="${includedir}/ltt"
61 AC_SUBST(lttincludedir)
62
63 AC_CONFIG_FILES([Makefile
64 lttv/Makefile
65 lttv/modules/Makefile
66 lttd/Makefile
67 ltt/Makefile
68 include/Makefile
69 include/ltt/Makefile
70 ltt/convert/Makefile
71 include/lttv/Makefile])
72 AC_OUTPUT
73 # lttv/modules/examples/Makefile
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
80 # lttv/modules/coreGUI/Makefile
This page took 0.03069 seconds and 4 git commands to generate.