~charlesk/indicator-applet/lp-1049838

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Ted Gould
  • Date: 2008-10-29 22:16:49 UTC
  • Revision ID: ted@canonical.com-20081029221649-ir7xm41smo8ln3g4
Basic build system, not quite working though

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
AC_INIT(src/applet-main.c)
 
3
 
 
4
AC_PREREQ(2.53)
 
5
 
 
6
AM_CONFIG_HEADER(config.h)
 
7
AM_INIT_AUTOMAKE(indicator-applet, 0.1)
 
8
 
 
9
AM_MAINTAINER_MODE
 
10
 
 
11
IT_PROG_INTLTOOL([0.35.0])
 
12
AC_ISC_POSIX
 
13
AC_PROG_CC
 
14
AC_STDC_HEADERS
 
15
AC_PROG_LIBTOOL
 
16
 
 
17
AC_SUBST(VERSION)
 
18
AC_CONFIG_MACRO_DIR([m4])
 
19
 
 
20
###########################
 
21
# Dependencies 
 
22
###########################
 
23
 
 
24
GTK_REQUIRED_VERSION=2.12
 
25
PANEL_REQUIRED_VERSION=2.0.0
 
26
 
 
27
PKG_CHECK_MODULES(APPLET, gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
28
                          libpanelapplet-2.0 >= $PANEL_REQUIRED_VERSION)
 
29
AC_SUBST(APPLET_CFLAGS)
 
30
AC_SUBST(APPLET_LIBS)
 
31
 
 
32
###########################
 
33
# Files
 
34
###########################
 
35
 
 
36
AC_OUTPUT([
 
37
Makefile
 
38
src/Makefile
 
39
])
 
40
 
 
41
###########################
 
42
# Results
 
43
###########################
 
44
 
 
45
AC_MSG_NOTICE([
 
46
 
 
47
Indicator Applet Configuration:
 
48
 
 
49
        Prefix:        $prefix
 
50
])