summaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: 859badc57a3194e0c82e31fb38bd27c7fc0ae2e6 (plain)
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
AC_PREREQ(2.57)
AC_INIT([service-discovery-applet], [0.1], [sebastien (dot) estienne (at) gmail (dot) com])
AC_CONFIG_SRCDIR([src/service-discovery-applet.in])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign 1.9 -Wall])

AM_MAINTAINER_MODE

AM_PATH_PYTHON([2.4])
AM_CHECK_PYMOD(gtk,,,[AC_MSG_ERROR(Could not find Python module pygtk)])
AM_CHECK_PYMOD(dbus,,,[AC_MSG_ERROR(Could not find Python module dbus)])
AM_CHECK_PYMOD(avahi,,,[AC_MSG_ERROR(Could not find Python module avahi)])
AM_CHECK_PYMOD(gnomeapplet,,,[AC_MSG_ERROR(Could not find Python module gnomeapplet)])

SCRIPTSDIR="${datadir}/${PACKAGE}/scripts/"
AC_SUBST(SCRIPTSDIR)
ICONSDIR="${datadir}/${PACKAGE}/icons/"
AC_SUBST(ICONSDIR)


AC_CONFIG_FILES([
	Makefile
	common/Makefile
	src/Makefile
	icons/Makefile
	scripts/Makefile
	servers/Makefile
])
AC_OUTPUT