-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
61 lines (42 loc) · 1.29 KB
/
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
53
54
55
56
57
58
59
60
AC_INIT([rtcom-accounts-ui-client], [4.109])
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
AM_INIT_AUTOMAKE
AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_LIBTOOL
AC_HEADER_STDC
AC_PATH_X
AC_PATH_XTRA
AC_SUBST(X_CFLAGS)
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES(CLIENT, [dbus-glib-1 gdk-x11-2.0 gtk+-2.0])
#+++++++++++++++
# Misc programs
#+++++++++++++++
AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool)
#+++++++++++++++++++
# Directories setup
#+++++++++++++++++++
#+++++++++++++++++++
# Misc stuff
#+++++++++++++++++++
AC_ARG_ENABLE(cast-checks, [ --disable-cast-checks compile with GLIB cast checks disabled],[cchecks=${enableval}],cchecks=yes)
if test "x$cchecks" = "xno"; then
CFLAGS="$CFLAGS -DG_DISABLE_CAST_CHECKS"
fi
AC_ARG_ENABLE(asserts, [ --disable-asserts compile with GLIB assertions disabled],[asserts=${enableval}],asserts=yes)
if test "x$asserts" = "xno"; then
CFLAGS="$CFLAGS -DG_DISABLE_ASSERTS"
fi
AC_ARG_ENABLE(checks, [ --disable-checks compile with GLIB checks disabled],[checks=${enableval}],checks=yes)
if test "x$checks" = "xno"; then
CFLAGS="$CFLAGS -DG_DISABLE_CHECKS"
fi
AC_DEFINE_UNQUOTED([G_LOG_DOMAIN], "$PACKAGE_NAME", [Default logging facility])
AC_OUTPUT([
Makefile
src/Makefile
rtcom-accounts-ui-client.pc
])