~dobey/stopwatch/trunk

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Rodney Dawes
  • Date: 2009-03-27 22:55:10 UTC
  • Revision ID: dobey@gnome.org-20090327225510-hph5hfc2fyfo0446
        Cleaned up code import into bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Process this file with autoconf to produce a configure script.
 
2
AC_PREREQ(2.53)
 
3
 
 
4
AC_INIT([stopwatch], [0.0.0])
 
5
AC_CONFIG_SRCDIR([config.h.in])
 
6
AC_COPYRIGHT([Copyright 2008-2009 Rodney Dawes])
 
7
 
 
8
AM_INIT_AUTOMAKE([1.9 foreign])
 
9
AM_CONFIG_HEADER([config.h])
 
10
 
 
11
AC_ISC_POSIX
 
12
AC_PROG_CC
 
13
IT_PROG_INTLTOOL([0.40.0])
 
14
 
 
15
GETTEXT_PACKAGE="${PACKAGE}"
 
16
dnl Add the languages which your application supports here.
 
17
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$PACKAGE",
 
18
        [translation domain of this package])
 
19
AC_SUBST(GETTEXT_PACKAGE)
 
20
 
 
21
AM_GLIB_GNU_GETTEXT
 
22
 
 
23
# AM_GLIB_GNU_GETTEXT above subst. $DATADIRNAME
 
24
# this is the directory where the *.{mo,gmo} files are installed
 
25
localedir='${prefix}/${DATADIRNAME}/locale'
 
26
AC_SUBST(localedir)
 
27
 
 
28
PKG_CHECK_MODULES(GTK, [gtk+-2.0])
 
29
AC_SUBST(GTK_CFLAGS)
 
30
AC_SUBST(GTK_LIBS)
 
31
 
 
32
AC_PATH_PROG([ICONRENDER], [icontool-render])
 
33
 
 
34
AC_CONFIG_FILES([
 
35
Makefile
 
36
icons/Makefile
 
37
po/Makefile.in
 
38
src/Makefile
 
39
])
 
40
 
 
41
AC_OUTPUT
 
42