11b4cd79c85eb8920142f4a6f03eaa5f2079d9e8
[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 AM_INIT_AUTOMAKE(LinuxTraceToolkit,0.9.7-29052003)
7 AC_CONFIG_HEADER([config.h])
8 AC_PROG_LIBTOOL
9 AM_PROG_LIBTOOL
10
11 # Checks for programs.
12 AC_PROG_CC
13
14 # Checks for libraries.
15 # MD : here or at the Makefile level ?
16 #AC_CHECK_LIB([popt], [poptGetNextOpt])
17 #AC_CHECK_LIB([gmodule-2.0], [g_module_open])
18 #AC_CHECK_LIB([dl], [dlopen])
19 #AC_CHECK_LIB([glib-2.0], [g_malloc])
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 lttplugindir="${libdir}/ltt/plugins"
42 AC_SUBST(lttplugindir)
43
44 AC_CONFIG_FILES([Makefile
45 lttv/Makefile
46 lttv/plugins/Makefile])
47 AC_OUTPUT
This page took 0.030974 seconds and 4 git commands to generate.