9f14a497 |
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 |
39407106 |
9 | AM_PROG_LIBTOOL |
9f14a497 |
10 | |
11 | # Checks for programs. |
12 | AC_PROG_CC |
13 | |
14 | # Checks for libraries. |
aea2b50a |
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]) |
9f14a497 |
19 | |
20 | # Checks for header files. |
21 | AC_HEADER_STDC |
22 | AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h]) |
23 | |
24 | # Checks for typedefs, structures, and compiler characteristics. |
25 | AC_HEADER_STDBOOL |
26 | AC_C_CONST |
27 | AC_C_INLINE |
28 | AC_TYPE_OFF_T |
29 | AC_TYPE_SIZE_T |
30 | AC_HEADER_TIME |
31 | |
32 | # Checks for library functions. |
33 | AC_FUNC_ERROR_AT_LINE |
34 | AC_FUNC_MALLOC |
35 | AC_FUNC_SELECT_ARGTYPES |
36 | AC_CHECK_FUNCS([select]) |
37 | |
38 | #CPPFLAGS="$CPPFLAGS -I" |
39 | |
a521ac8f |
40 | lttvplugindir="${libdir}/lttv/plugins" |
41 | AC_SUBST(lttvplugindir) |
9f14a497 |
42 | |
9adb47dd |
43 | #DEFAULT_INCLUDES="-I\$(top_srcdir)/include" |
44 | #AC_SUBST(DEFAULT_INCLUDES) |
273475ce |
45 | |
940dc6d6 |
46 | lttvincludedir="${includedir}/lttv" |
47 | AC_SUBST(lttvincludedir) |
48 | |
49 | lttincludedir="${includedir}/ltt" |
50 | AC_SUBST(lttincludedir) |
51 | |
9f14a497 |
52 | AC_CONFIG_FILES([Makefile |
53 | lttv/Makefile |
830eba15 |
54 | lttv/modules/Makefile |
55 | lttv/modules/gui/Makefile |
56 | lttv/modules/text/Makefile |
ead838a8 |
57 | lttv/plugins/Makefile |
a521ac8f |
58 | lttv/plugins/exemples/Makefile |
940dc6d6 |
59 | lttd/Makefile |
9adb47dd |
60 | ltt/Makefile]) |
9f14a497 |
61 | AC_OUTPUT |