~robert-ancell/lightdm/private-mir-connection-merge

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Robert Ancell
  • Date: 2013-07-23 02:24:45 UTC
  • mfrom: (1723 trunk)
  • mto: This revision was merged to the branch mainline in revision 1741.
  • Revision ID: robert.ancell@canonical.com-20130723022445-gpaq8vtkp4hods7r
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl Process this file with autoconf to produce a configure script.
2
2
 
3
 
AC_INIT(lightdm, 1.7.4)
 
3
AC_INIT(lightdm, 1.7.7)
4
4
AC_CONFIG_MACRO_DIR(m4)
5
5
AC_CONFIG_HEADER(config.h)
6
6
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign])
11
11
AC_PROG_LIBTOOL
12
12
AM_MAINTAINER_MODE
13
13
 
 
14
dnl Enable compile warnings (only supporting GCC)
 
15
if test "x$GCC" == xyes; then
 
16
    WARN_CFLAGS="-Wall \
 
17
                 -Wstrict-prototypes \
 
18
                 -Wnested-externs \
 
19
                 -Werror=missing-prototypes \
 
20
                 -Werror=implicit-function-declaration \
 
21
                 -Werror=pointer-arith \
 
22
                 -Werror=init-self \
 
23
                 -Werror=format-security \
 
24
                 -Werror=format=2 \
 
25
                 -Werror=missing-include-dirs"
 
26
fi
 
27
AC_SUBST(WARN_CFLAGS)
 
28
 
14
29
GOBJECT_INTROSPECTION_CHECK(0.9.5)
15
30
 
16
31
dnl ###########################################################################
22
37
AC_CHECK_FUNCS(setresgid setresuid clearenv)
23
38
 
24
39
PKG_CHECK_MODULES(LIGHTDM, [
25
 
    glib-2.0 >= 2.24
 
40
    glib-2.0 >= 2.30
26
41
    gio-2.0 >= 2.26
27
42
    gio-unix-2.0
28
43
    xdmcp
132
147
        [], [enable_tests="yes"])
133
148
AM_CONDITIONAL(COMPILE_TESTS, test x"$enable_tests" != "xno")
134
149
 
135
 
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
136
 
 
137
150
dnl ###########################################################################
138
151
dnl Configurable values
139
152
dnl ###########################################################################