~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Martin Pitt
  • Date: 2010-06-25 10:04:05 UTC
  • Revision ID: martin.pitt@canonical.com-20100625100405-hjq2g3af0i7t1zf6
src/uevent.c: Add new function deal_with_scp() to launch
system-config-printer when a printer is added or present at startup, and
s-c-p is not running yet. This must explicitly enabled with the new
--enable-system-config-printer configure option, and is disabled by
default. OEMs and derivatives can enable it easily and drop s-c-p's
autostart .desktop file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
dnl fi
59
59
dnl --------------
60
60
 
 
61
AC_ARG_ENABLE([system-config-printer],
 
62
        AS_HELP_STRING([--enable-system-config-printer], [enable on-demand launching of system-config-printer]),
 
63
        [], [enable_debug=no])
 
64
if test "x$enable_system_config_printer" = "xyes"; then
 
65
        AC_DEFINE(ENABLE_SCP, [1], [On-demand launching of system-config-printer.])
 
66
fi
 
67
 
61
68
AC_OUTPUT([
62
69
Makefile
63
70
src/Makefile