~ubuntu-branches/ubuntu/trusty/policykit-1/trusty

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-01-06 12:28:54 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20120106122854-ib9s0ej8akqiy0lb
Tags: 0.104-1
* New upstream release.
  - Add support for netgroups. (LP: #724052)
* debian/rules: Disable systemd support, continue to work with ConsokeKit.
* 05_revert-admin-identities-unix-group-wheel.patch: Refresh to apply
  cleanly.
* debian/libpolkit-gobject-1-0.symbols: Add new symbols from this new
  release.
* debian/rules: Do not let test failures fail the build. The new test suite
  also runs a test against the system D-BUS/ConsoleKit, which can't work on
  buildds.

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
3
AC_PREREQ(2.59c)
4
 
AC_INIT(polkit, 0.103, http://lists.freedesktop.org/mailman/listinfo/polkit-devel)
5
 
AM_INIT_AUTOMAKE(polkit, 0.103)
 
4
AC_INIT(polkit, 0.104, http://lists.freedesktop.org/mailman/listinfo/polkit-devel)
 
5
AM_INIT_AUTOMAKE(polkit, 0.104)
6
6
AM_CONFIG_HEADER(config.h)
7
7
AM_MAINTAINER_MODE
8
8
 
9
9
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
10
10
 
 
11
# Include external mocklibc tool for unit testing
 
12
AC_CONFIG_SUBDIRS([test/mocklibc])
 
13
 
11
14
# libtool versioning - this applies to all libraries in this package
12
15
#
13
16
# See http://sources.redhat.com/autobook/autobook/autobook_91.html#SEC91 for details
145
148
fi
146
149
 
147
150
dnl ---------------------------------------------------------------------------
 
151
dnl - Select wether to use systemd or ConsoleKit for session tracking
 
152
dnl ---------------------------------------------------------------------------
 
153
 
 
154
have_systemd=no
 
155
SESSION_TRACKING=ConsoleKit
 
156
 
 
157
AC_ARG_ENABLE([systemd],
 
158
              AS_HELP_STRING([--enable-systemd[=@<:@auto/yes/no@:>@]], [Use systemd (auto/yes/no)]),
 
159
              [enable_systemd=$enableval],
 
160
              [enable_systemd=auto])
 
161
if test "$enable_systemd" != "no"; then
 
162
  PKG_CHECK_MODULES(SYSTEMD,
 
163
                    [libsystemd-login],
 
164
                    have_systemd=yes,
 
165
                    have_systemd=no)
 
166
  if test "$have_systemd" = "yes"; then
 
167
    SESSION_TRACKING=systemd
 
168
  else
 
169
    if test "$enable_systemd" = "yes"; then
 
170
      AC_MSG_ERROR([systemd support requested but libsystemd-login1 library not found])
 
171
    fi
 
172
  fi
 
173
fi
 
174
 
 
175
AC_SUBST(SYSTEMD_CFLAGS)
 
176
AC_SUBST(SYSTEMD_LIBS)
 
177
AM_CONDITIONAL(HAVE_SYSTEMD, [test "$have_systemd" = "yes"], [Using systemd])
 
178
 
 
179
dnl ---------------------------------------------------------------------------
148
180
dnl - Select which authentication framework to use
149
181
dnl ---------------------------------------------------------------------------
150
182
 
419
451
docs/polkit/Makefile
420
452
docs/man/Makefile
421
453
po/Makefile.in
 
454
test/Makefile
 
455
test/polkit/Makefile
 
456
test/polkitbackend/Makefile
422
457
])
423
458
 
424
459
dnl ==========================================================================
443
478
        introspection:              ${found_introspection}
444
479
 
445
480
        Distribution/OS:            ${with_os_type}
446
 
        authentication framework:   ${POLKIT_AUTHFW}
 
481
        Authentication framework:   ${POLKIT_AUTHFW}
 
482
        Session tracking:           ${SESSION_TRACKING}
447
483
        PAM support:                ${have_pam}"
448
484
 
449
485
if test "$have_pam" = yes ; then
453
489
        PAM file password:          ${PAM_FILE_INCLUDE_PASSWORD}
454
490
        PAM file session:           ${PAM_FILE_INCLUDE_SESSION}"
455
491
fi
456
 
 
457
492
echo "
458
493
        Maintainer mode:            ${USE_MAINTAINER_MODE}
459
494
        Building verbose mode:      ${enable_verbose_mode}