Clean spec file for yocto compliance.
[platform/core/multimedia/libmm-ta.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([libmm-ta], [0.1])
6 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
7 AC_CONFIG_SRCDIR([src/mm_ta.h])
8 AC_CONFIG_HEADER([config.h])
9
10 AC_CONFIG_MACRO_DIR([m4])
11
12 # Checks for programs.
13 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
14 AC_PROG_CXX
15 AC_PROG_AWK
16 AC_PROG_CC
17 AC_PROG_CPP
18 AC_PROG_INSTALL
19 AC_PROG_LN_S
20 AC_PROG_MAKE_SET
21 AC_PROG_LIBTOOL
22
23 # Checks for libraries.
24
25 # Checks for header files.
26 AC_HEADER_STDC
27 AC_CHECK_HEADERS([malloc.h string.h sys/time.h unistd.h])
28
29 # Checks for typedefs, structures, and compiler characteristics.
30 AC_C_CONST
31 AC_HEADER_TIME
32
33 # Checks for library functions.
34 AC_FUNC_MALLOC
35 AC_CHECK_FUNCS([gethostname gettimeofday memset uname])
36
37 #AM_CONDITIONAL([ISPROTECTOR_VODA_SDK], [test "x$DISTRO" = "xvodafone-sdk" && test "x$MACHINE" = "xprotector"])
38
39 AC_CONFIG_FILES([Makefile
40                  src/Makefile
41                 mm-ta.pc
42 ])
43 AC_OUTPUT