~ubuntu-branches/ubuntu/natty/foomatic-filters/natty

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2010-02-18 16:24:03 UTC
  • mfrom: (1.1.35 upstream) (2.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20100218162403-0tzm44ffs20hlnbi
Tags: 4.0.7-0ubuntu1
* New upstream release
   - foomatic-rip printed only the first file supplied on the command line
     when multiple files are supplied (spooler-less printing mode,
     LP: #676680).
* debian/patches/foomatic-rip-read-multiple-input-files.patch: Removed
  patches with fix backported from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#                                               -*- Autoconf -*-
2
2
# Process this file with autoconf to produce a configure script.
3
3
 
4
 
AC_PREREQ(2.61)
5
 
AC_INIT(foomatic-rip, "4.0.6")
 
4
AC_PREREQ([2.61])
 
5
AC_INIT(foomatic-rip, [4.0.7])
6
6
AM_INIT_AUTOMAKE([no-define])
7
7
AC_CONFIG_SRCDIR([options.c])
8
8
 
56
56
  LIBSEARCHPATH="/usr/freeware/lib32:/usr/freeware/lib:$LIBSEARCHPATH"
57
57
fi
58
58
 
59
 
dnl Check for Perl
 
59
# Check for Perl
60
60
AC_PATH_PROG(PERL,perl)
61
61
 
62
62
if test -z "$PERL"; then
64
64
fi
65
65
 
66
66
# Check for /etc/printcap
67
 
AC_PATH_DIR(PRINTCAP,printcap,/etc/printcap,$ETCSEARCHPATH)
 
67
FM_PATH_DIR(PRINTCAP,printcap,/etc/printcap,$ETCSEARCHPATH)
68
68
 
69
 
dnl Check for cups-config
 
69
# Check for cups-config
70
70
AC_PATH_PROG(CUPS_CONFIG,cups-config)
71
71
 
72
 
dnl Use cups-config to find CUPS directories
 
72
# Use cups-config to find CUPS directories
73
73
if test -n "$CUPS_CONFIG" && test -z "$CUPS_SERVERBIN"; then
74
74
        CUPS_SERVERBIN=`cups-config --serverbin 2>/dev/null`
75
75
fi
82
82
        AC_SUBST(CUPS_BACKENDS)
83
83
else
84
84
        # Check for /usr/lib/cups
85
 
        AC_PATH_DIR(CUPS,cups,/usr/lib/cups,$SERVERBIB$LIBSEARCHPATH)
 
85
        FM_PATH_DIR(CUPS,cups,/usr/lib/cups,$SERVERBIB$LIBSEARCHPATH)
86
86
 
87
87
        # Check for /usr/lib/cups/filter
88
 
        AC_PATH_DIR(CUPS_FILTERS,cups/filter,/usr/lib/cups/filter,$FILTERS$LIBSEARCHPATH)
 
88
        FM_PATH_DIR(CUPS_FILTERS,cups/filter,/usr/lib/cups/filter,$FILTERS$LIBSEARCHPATH)
89
89
 
90
90
        # Check for /usr/lib/cups/backend
91
 
        AC_PATH_DIR(CUPS_BACKENDS,cups/backend,/usr/lib/cups/backend,$BACKENDS$LIBSEARCHPATH)
 
91
        FM_PATH_DIR(CUPS_BACKENDS,cups/backend,/usr/lib/cups/backend,$BACKENDS$LIBSEARCHPATH)
92
92
fi
93
93
 
94
94
# Check for /usr/lib/ppr
95
 
AC_PATH_DIR(PPR,ppr,/usr/lib/ppr,$LIBSEARCHPATH)
 
95
FM_PATH_DIR(PPR,ppr,/usr/lib/ppr,$LIBSEARCHPATH)
96
96
 
97
97
# Check for /usr/lib/ppr/interfaces
98
 
AC_PATH_DIR(PPR_INTERFACES,ppr/interfaces,/usr/lib/ppr/interfaces,$LIBSEARCHPATH)
 
98
FM_PATH_DIR(PPR_INTERFACES,ppr/interfaces,/usr/lib/ppr/interfaces,$LIBSEARCHPATH)
99
99
 
100
100
# Check for /usr/lib/ppr/lib
101
 
AC_PATH_DIR(PPR_LIB,ppr/lib,/usr/lib/ppr/lib,$LIBSEARCHPATH)
 
101
FM_PATH_DIR(PPR_LIB,ppr/lib,/usr/lib/ppr/lib,$LIBSEARCHPATH)
102
102
 
103
103
AC_ARG_ENABLE(file-converter-check, [  --enable-file-converter-check  check whether a file converter is installed [default=yes]],
104
104
[if eval "test x${enableval} = xno"; then