Merge "Fixes to binary log files" into tizen
[platform/core/system/dlog.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.61)
5 AC_INIT([dlog], [1.0], yk.yun@samsung.com)
6 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
7
8 # Init XO
9 PLATFORM_INIT
10
11 # Checks for programs.
12 dnl AC_PROG_CXX
13 AC_PROG_CC
14 AC_PROG_GCC_TRADITIONAL
15 AC_PROG_LIBTOOL
16
17 AC_SUBST(DEBUG_CFLAGS)
18 # Checks for libraries.
19 # Checks for header files.
20 AC_HEADER_STDC
21 AC_CHECK_HEADERS([stdlib.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_STRUCT_TM
28 AC_TYPE_PID_T
29 AC_TYPE_SIZE_T
30 AC_TYPE_SSIZE_T
31
32 # Checks for library functions.
33 AC_FUNC_MALLOC
34 AC_FUNC_STAT
35 AC_CHECK_FUNCS([memset])
36
37 PKG_PROG_PKG_CONFIG
38 PKG_CHECK_MODULES([CAPI_BASE_COMMON], [capi-base-common])
39
40 AC_SUBST(TZ_SYS_ETC)
41
42 # output files
43 AC_SUBST([datadir])
44 AC_SUBST([libexecdir])
45 AC_CONFIG_FILES([Makefile dlog.pc]
46                 [dlog_test_pipe:tests/dlog_test_pipe.in])
47 AC_OUTPUT