~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: robert.ancell at gmail
  • Date: 2010-04-29 11:08:26 UTC
  • Revision ID: robert.ancell@gmail.com-20100429110826-eef3w3c9hl80pxxy
Compiles and does something

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
 
 
3
AC_INIT(configure.ac)
 
4
AM_INIT_AUTOMAKE(lightdm, 0.0.1)
 
5
AM_MAINTAINER_MODE
 
6
GNOME_MAINTAINER_MODE_DEFINES
 
7
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
8
 
 
9
AC_ISC_POSIX
 
10
AC_PROG_CC_C_O
 
11
AM_PROG_CC_STDC
 
12
AC_HEADER_STDC
 
13
 
 
14
AM_GCONF_SOURCE_2
 
15
 
 
16
GNOME_COMPILE_WARNINGS(yes)
 
17
 
 
18
dnl ###########################################################################
 
19
dnl Dependencies
 
20
dnl ###########################################################################
 
21
 
 
22
PKG_CHECK_MODULES(LIGHTDM, [
 
23
    glib-2.0
 
24
    gobject-2.0
 
25
    dbus-glib-1
 
26
    ck-connector
 
27
])
 
28
 
 
29
AC_CHECK_HEADERS([security/pam_appl.h],[],[AC_MSG_ERROR([PAM not found])])
 
30
 
 
31
dnl ###########################################################################
 
32
dnl Documentation
 
33
dnl ###########################################################################
 
34
 
 
35
GNOME_DOC_INIT
 
36
 
 
37
dnl ###########################################################################
 
38
dnl Internationalization
 
39
dnl ###########################################################################
 
40
 
 
41
IT_PROG_INTLTOOL([0.35.0])
 
42
GETTEXT_PACKAGE=lightdm
 
43
AC_SUBST(GETTEXT_PACKAGE)
 
44
AM_GLIB_GNU_GETTEXT
 
45
 
 
46
dnl ###########################################################################
 
47
dnl Files to generate
 
48
dnl ###########################################################################
 
49
 
 
50
AC_OUTPUT([
 
51
Makefile
 
52
po/Makefile.in
 
53
src/Makefile
 
54
])