tizen-platform-wrapper: fix resource leak
[platform/core/system/tizen-platform-wrapper.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.69])
5 AC_INIT([tizen-platform-wrapper], [2.0])
6 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
7 AC_CONFIG_SRCDIR([src/parser.h])
8 AC_CONFIG_HEADERS([src/config.h])
9
10 # Checks for programs.
11 AC_PROG_CC
12 AC_PROG_INSTALL
13
14 # Checks for libraries.
15
16 # Checks for header files.
17 AC_FUNC_ALLOCA
18 AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h unistd.h])
19
20 # Checks for typedefs, structures, and compiler characteristics.
21 AC_C_INLINE
22 AC_TYPE_OFF_T
23 AC_TYPE_PID_T
24 AC_TYPE_SIZE_T
25
26 # Checks for library functions.
27 AC_FUNC_ERROR_AT_LINE
28 AC_FUNC_FORK
29 AC_FUNC_MALLOC
30 AC_FUNC_MMAP
31 AC_CHECK_FUNCS([dup2 endpwent munmap strndup])
32
33 AC_CONFIG_FILES([
34 Makefile
35 src/Makefile
36 tizen-platform-wrapper.pc:tizen-platform-wrapper.pc.in])
37 AC_OUTPUT