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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
AC_INIT([indicator-bluetooth],[13.10.0])
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign])
AC_CONFIG_HEADERS([config.h])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE
AM_PROG_VALAC([0.16.0])
AM_PROG_CC_C_O
LT_INIT
GLIB_GSETTINGS
dnl ###########################################################################
dnl Dependencies
dnl ###########################################################################
GLIB_REQUIRED_VERSION=2.36
GIO_REQUIRED_VERSION=2.36
URL_DISPATCHER_1_REQUIRED_VERSION=1
PKG_CHECK_MODULES(SERVICE_DEPS, [glib-2.0 >= $GLIB_REQUIRED_VERSION
gio-unix-2.0 >= $GIO_REQUIRED_VERSION
url-dispatcher-1 >= $URL_DISPATCHER_1_REQUIRED_VERSION])
SYSTEMD_USERDIR=`$PKG_CONFIG --variable=systemduserunitdir systemd`
AC_SUBST(SYSTEMD_USERDIR)
dnl ##############################
dnl # Custom Junk
dnl ##############################
AC_DEFUN([AC_DEFINE_PATH], [
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
ac_define_path=`eval echo [$]$2`
ac_define_path=`eval echo [$]ac_define_path`
$1="$ac_define_path"
AC_SUBST($1)
ifelse($3, ,
AC_DEFINE_UNQUOTED($1, "$ac_define_path"),
AC_DEFINE_UNQUOTED($1, "$ac_define_path", $3))
])
dnl ###########################
dnl # Internationalization
dnl ###########################
IT_PROG_INTLTOOL([0.41.0])
GETTEXT_PACKAGE=indicator-bluetooth
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default get text domain])
AC_DEFINE_PATH(GNOMELOCALEDIR, "${datadir}/locale", [locale directory])
AM_GLIB_GNU_GETTEXT
dnl ###########################################################################
dnl Files to generate
dnl ###########################################################################
AC_OUTPUT([
Makefile
data/Makefile
data/upstart/Makefile
po/Makefile.in
src/Makefile
])
|