blob: 8ca66598b1d0ed46f44a591d18381b53fa6ee982 (
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
|
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)])
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
|