summaryrefslogtreecommitdiff
path: root/configure.ac
blob: afeef2dbba897ea68577c467a029640f4172220a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AC_INIT(dconf, 0.3)
AM_INIT_AUTOMAKE
AM_SILENT_RULES
AC_PROG_LIBTOOL
AC_PROG_CC

PKG_CHECK_MODULES(gio, gio-2.0)
giomodulesdir=`pkg-config --variable=giomoduledir gio-2.0`
AC_SUBST(giomodulesdir)

AC_ARG_WITH(dbus_service_dir, [  --with-dbus-service-dir=PATH choose directory for dbus service files, [default=PREFIX/share/dbus-1/services]], dbusservicedir="$withval", dbusservicedir=${datadir}/dbus-1/services)
AC_SUBST(dbusservicedir)

AC_ARG_WITH(dbus_system_service_dir, [  --with-dbus-system-service-dir=PATH choose directory for dbus system service files, [default=PREFIX/share/dbus-1/system-services]], dbussystemservicedir="$withval", dbussystemservicedir=${datadir}/dbus-1/system-services)
AC_SUBST(dbussystemservicedir)

AC_OUTPUT([
  gsettings/Makefile
  service/Makefile
  gvdb/Makefile
  Makefile
])