summaryrefslogtreecommitdiff
path: root/configure.ac
blob: e6605adffeecb17533ae5f72c7e53e374fa31233 (plain)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT([libslp-lbs-plugin-replay], [0.1], [daejins.kim@samsung.com])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
AC_CONFIG_MACRO_DIR([m4])

###### Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
AC_PROG_LN_S
AC_PROG_RANLIB

###### Checks for libraries.
PKG_CHECK_MODULES(GPS_MANAGER_PLUGIN, gps-manager-plugin)
AC_SUBST(GPS_MANAGER_PLUGIN_CFLAGS)
AC_SUBST(GPS_MANAGER_PLUGIN_LIBS)

PKG_CHECK_MODULES(VCONF, vconf)
AC_SUBST(VCONF_CFLAGS)
AC_SUBST(VCONF_LIBS)

PKG_CHECK_MODULES(DLOG, dlog)
AC_SUBST(DLOG_CFLAGS)
AC_SUBST(DLOG_LIBS)

####### Config files
AC_CONFIG_FILES([
	Makefile
	replay-plugin/Makefile
	])

AC_OUTPUT