-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
58 lines (47 loc) · 1.67 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([dtrace2babletrace], [0.01], [[email protected]])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AM_PROG_AR
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([stddef.h stdint.h strings.h sys/param.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
AC_TYPE_INT16_T
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_INT8_T
AC_TYPE_SIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
# User variables
# BABELTRACE_SOURCE_DIR: Babeltrace source directory
AC_ARG_VAR([BABELTRACE_SOURCE_DIR], [babeltrace source directory [$${HOME}/babeltrace]])
AS_IF([test "x$BABELTRACE_SOURCE_DIR" = x], [BABELTRACE_SOURCE_DIR='${HOME}/babeltrace'])
# BABELTRACE_PLUGINS_DIR: Plugins directory
AC_ARG_VAR([BABELTRACE_PLUGINS_DIR], [built-in plugins install directory [LIBDIR/babeltrace2/plugins]])
AS_IF([test "x$BABELTRACE_PLUGINS_DIR" = x], [BABELTRACE_PLUGINS_DIR='${libdir}/babeltrace2/plugins'])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AC_CONFIG_FILES([Makefile
src/Makefile
src/plugins/Makefile
src/plugins/db/Makefile
src/plugins/db/influxdb/Makefile
src/plugins/db/influxdb/influxdb-cxx/Makefile
src/plugins/db/influxdb/influxdb-cxx/src/Makefile
src/plugins/dtrace/Makefile
src/plugins/dtrace/kafka-src/Makefile
src/plugins/dtrace/kafka-src/ctf-writer/Makefile
src/plugins/opentracing/Makefile
src/plugins/opentracing/jaeger/Makefile])
LT_INIT([shared disable-static])
# Checks for library functions.
AC_OUTPUT