Make dlog use only systemd-journal.
[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.68])
5 AC_INIT([dlog], [1.0], m.niesluchow@samsung.com)
6 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
7
8 AC_CONFIG_MACRO_DIR([m4])
9
10 PLATFORM_INIT
11 AC_CONFIG_SRCDIR([log.c])
12 AC_CONFIG_HEADERS([config.h])
13
14 # Checks for programs.
15 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
16 AC_PROG_CC
17 AM_PROG_CC_C_O
18 AC_PROG_LIBTOOL
19
20 # Checks for header files.
21 AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])
22
23 # Checks for typedefs, structures, and compiler characteristics.
24 AC_C_INLINE
25 AC_TYPE_SIZE_T
26 AC_TYPE_SSIZE_T
27
28 # Checks for library functions.
29 AC_CHECK_FUNCS([strtol])
30
31 AC_CONFIG_FILES([Makefile dlog.pc])
32 AC_OUTPUT