toplevel automake/autoconf files
[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)
6AM_INIT_AUTOMAKE(LinuxTraceToolkit,0.9.7-29052003)
7AC_CONFIG_HEADER([config.h])
8AC_PROG_LIBTOOL
9
10# Checks for programs.
11AC_PROG_CC
12
13# Checks for libraries.
14# MD : here or at the Makefile level ?
15#AC_CHECK_LIB([popt], [poptGetNextOpt])
16#AC_CHECK_LIB([gmodule-2.0], [g_module_open])
17#AC_CHECK_LIB([dl], [dlopen])
18#AC_CHECK_LIB([glib-2.0], [g_malloc])
19
20# Checks for header files.
21AC_HEADER_STDC
22AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
23
24# Checks for typedefs, structures, and compiler characteristics.
25AC_HEADER_STDBOOL
26AC_C_CONST
27AC_C_INLINE
28AC_TYPE_OFF_T
29AC_TYPE_SIZE_T
30AC_HEADER_TIME
31
32# Checks for library functions.
33AC_FUNC_ERROR_AT_LINE
34AC_FUNC_MALLOC
35AC_FUNC_SELECT_ARGTYPES
36AC_CHECK_FUNCS([select])
37
38#CPPFLAGS="$CPPFLAGS -I"
39
40lttplugindir="${libdir}/ltt/plugins"
41AC_SUBST(lttplugindir)
42
43AC_CONFIG_FILES([Makefile
44 lttv/Makefile
45 lttv/plugins/Makefile])
46AC_OUTPUT
This page took 0.023034 seconds and 4 git commands to generate.