forked from maemo-leste/icd2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
53 lines (39 loc) · 798 Bytes
/
configure.ac
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
42
43
44
45
46
47
48
49
50
51
52
AC_INIT([Internet Connectivity daemon 2], patsubst(esyscmd([dpkg-parsechangelog | sed -n '/^Version: \(.*\)$/ {s//\1/;p}']), [
]), [], [icd2])
AM_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR([m4])
AM_MAINTAINER_MODE
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_LIBTOOL
AC_HEADER_STDC
AC_PATH_X
AC_PATH_XTRA
AC_SUBST(X_CFLAGS)
AM_GCONF_SOURCE_2
AC_PATH_PROG(GCONFTOOL, gconftool-2)
PKG_PROG_PKG_CONFIG
#+++++++++++++++
# Misc programs
#+++++++++++++++
AC_SUBST(CFLAGS)
PKG_CHECK_MODULES(ICD,
[glib-2.0 dnl
dbus-glib-1 dnl
osso-ic dnl
mce dnl
gconf-2.0])
AC_SUBST(ICD_LIBS)
AC_SUBST(ICD_CFLAGS)
#+++++++++++++++++++
# Directories setup
#+++++++++++++++++++
AC_OUTPUT([
icd2.pc
icd/network_api.h
Makefile
support/Makefile
icd/Makefile
policy/Makefile
])