~diegosarmentero/ubuntuone-client/bug1169312

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
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)

AC_INIT([ubuntuone-client], [0.90.2])
AC_CONFIG_SRCDIR([config.h.in])

AM_INIT_AUTOMAKE([1.9 foreign])
AM_CONFIG_HEADER([config.h])

AC_ISC_POSIX
AC_PROG_CC
AC_PROG_LIBTOOL
IT_PROG_INTLTOOL([0.40.0])

GETTEXT_PACKAGE="${PACKAGE}"
dnl Add the languages which your application supports here.
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$PACKAGE",
	[translation domain of this package])
AC_SUBST(GETTEXT_PACKAGE)
localedir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(localedir)

PKG_CHECK_MODULES(NAUTILUS, [libnautilus-extension >= 2.6.0])
AC_SUBST(NAUTILUS_CFLAGS)
AC_SUBST(NAUTILUS_LIBS)

PKG_CHECK_MODULES(DBUS, [dbus-glib-1 >= 0.70])
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)

dnl ---------------------------------------------------------------------------
dnl - Are we specifying a different dbus root ?
dnl ---------------------------------------------------------------------------
AC_ARG_WITH(dbus-services,
              [AC_HELP_STRING([--with-dbus-services=<dir>],
              [where D-BUS services directory is])])
if ! test -z "$with_dbus_services" ; then
	DBUS_SERVICES_DIR="$with_dbus_services"
else
	# D-BUS 0.23 and higher use $prefix/share/dbus-1/services
	DBUS_SERVICES_DIR="\${datadir}/dbus-1/services"
fi
AC_SUBST(DBUS_SERVICES_DIR)

AC_CONFIG_FILES([
Makefile
nautilus/Makefile
po/Makefile.in
])

AC_OUTPUT