~ubuntu-branches/ubuntu/quantal/foomatic-filters/quantal

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Didier Raboud, Didier Raboud, Translation updates
  • Date: 2011-08-03 17:20:54 UTC
  • mfrom: (1.2.6 upstream) (2.1.55 oneiric)
  • Revision ID: james.westby@ubuntu.com-20110803172054-bf45a2sybupeiavc
Tags: 4.0.9-1
* New upstream release
  - Fixed build of foomatic-rip on systems without D-Bus.

[ Didier Raboud]
* Uploaders update:
  - Drop Chris Lawrence, with his consent and great thanks for the 6 years
    of work on foomatic-filters.
  + Add Till Kamppeter.
* Bump Standards-Version to 3.9.2 without changes needed.

[ Translation updates ]
* Danish (new translation, Joe Dalton, Closes: #614294)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Process this file with autoconf to produce a configure script.
3
3
 
4
4
AC_PREREQ([2.61])
5
 
AC_INIT(foomatic-rip, [4.0.7])
 
5
AC_INIT(foomatic-rip, [4.0.9])
6
6
AM_INIT_AUTOMAKE([no-define])
7
7
AC_CONFIG_SRCDIR([options.c])
8
8
 
16
16
AC_PROG_LN_S
17
17
AC_PROG_MAKE_SET
18
18
 
 
19
# Allows per-target compilation flags
 
20
AM_PROG_CC_C_O
 
21
 
19
22
# Checks for libraries.
20
23
AC_CHECK_LIB(m, roundf)
21
24
 
43
46
 
44
47
 
45
48
ETCSEARCHPATH=${prefix}/etc:/usr/etc:/usr/local/etc
46
 
LIBSEARCHPATH=${prefix}/lib:${prefix}/lib64:/usr/lib:/usr/lib64:/usr/local/lib:${prefix}/libexec:/usr/libexec:/usr/local/libexec
 
49
LIBSEARCHPATH=${libdir}:/usr/lib:/usr/lib64:/usr/local/lib:${prefix}/libexec:/usr/libexec:/usr/local/libexec
47
50
 
48
51
uname=`uname`
49
52
uversion=`uname -r | sed -e '1,$s/[[^0-9]]//g'`
119
122
AC_MSG_RESULT([file-converter: $FILECONVERTER])
120
123
AC_SUBST(FILECONVERTER)
121
124
 
 
125
# Use DBUS
 
126
AC_ARG_ENABLE(dbus, AS_HELP_STRING([--enable-dbus],[enable DBus CMS code]),
 
127
              enable_dbus=$enableval,enable_dbus=yes)
 
128
AM_CONDITIONAL(BUILD_DBUS, test x$enable_dbus = xyes)
 
129
if test x$enable_dbus = xyes; then
 
130
        PKG_CHECK_MODULES(DBUS, dbus-1)
 
131
fi
 
132
 
122
133
if test "${NOCONVERTERCHECK}" = "" -a "${A2PS}" = "" -a "${ENSCRIPT}" = "" -a "${MPAGE}" = "" -a "${TEXTTOPS}" = "" ; then
123
134
        AC_MSG_ERROR([cannot find a2ps, enscript, mpage, or CUPS' texttops.  You need to have at least one installed]);
124
135
fi