remove lib ld : included with glib
[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-29052003)
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 # Checks for programs.
14 AC_PROG_CC
15
16 # Checks for libraries.
17 AC_CHECK_LIB([popt], [poptGetNextOpt])
18
19 # Checks for header files.
20 AC_HEADER_STDC
21 AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
22
23 # Checks for typedefs, structures, and compiler characteristics.
24 AC_HEADER_STDBOOL
25 AC_C_CONST
26 AC_C_INLINE
27 AC_TYPE_OFF_T
28 AC_TYPE_SIZE_T
29 AC_HEADER_TIME
30
31 # Checks for library functions.
32 AC_FUNC_ERROR_AT_LINE
33 AC_FUNC_MALLOC
34 AC_FUNC_SELECT_ARGTYPES
35 AC_CHECK_FUNCS([select])
36
37 #CPPFLAGS="$CPPFLAGS -I"
38
39 lttvplugindir="${libdir}/lttv/plugins"
40 AC_SUBST(lttvplugindir)
41
42 lttlibdir="${libdir}/ltt"
43 AC_SUBST(lttlibdir)
44
45
46 DEFAULT_INCLUDES="-I\$(top_srcdir)/include"
47 AC_SUBST(DEFAULT_INCLUDES)
48
49 #CPPFLAGS="${GLIB_CFLAGS}"
50 #AC_SUBST(CPPFLAGS)
51
52 lttvincludedir="${includedir}/lttv"
53 AC_SUBST(lttvincludedir)
54
55 lttincludedir="${includedir}/ltt"
56 AC_SUBST(lttincludedir)
57
58 AC_CONFIG_FILES([Makefile
59 lttv/Makefile
60 lttv/modules/Makefile
61 lttv/modules/gui/Makefile
62 lttv/modules/text/Makefile
63 lttv/plugins/Makefile
64 lttv/plugins/examples/Makefile
65 lttd/Makefile
66 ltt/Makefile
67 include/Makefile
68 include/ltt/Makefile
69 include/lttv/Makefile])
70 AC_OUTPUT
This page took 0.032344 seconds and 5 git commands to generate.