]> git.ipfire.org Git - thirdparty/cups.git/blame - config-scripts/cups-pdf.m4
Import CUPS 1.4svn-r7226.
[thirdparty/cups.git] / config-scripts / cups-pdf.m4
CommitLineData
e1d6a774 1dnl
bc44d920 2dnl "$Id: cups-pdf.m4 6649 2007-07-11 21:46:42Z mike $"
e1d6a774 3dnl
4dnl PDF filter configuration stuff for the Common UNIX Printing System (CUPS).
5dnl
bc44d920 6dnl Copyright 2007 by Apple Inc.
e1d6a774 7dnl Copyright 2006 by Easy Software Products, all rights reserved.
8dnl
9dnl These coded instructions, statements, and computer programs are the
bc44d920 10dnl property of Apple Inc. and are protected by Federal copyright
11dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
12dnl which should have been included with this file. If this file is
13dnl file is missing or damaged, see the license at "http://www.cups.org/".
e1d6a774 14dnl
15
16AC_ARG_ENABLE(pdftops, [ --enable-pdftops build pdftops filter, default=auto ])
17
18PDFTOPS=""
19
20if test "x$enable_pdftops" != xno; then
91c84a35
MS
21 AC_PATH_PROG(CUPS_PDFTOPS, pdftops)
22 AC_DEFINE_UNQUOTED(CUPS_PDFTOPS, "$CUPS_PDFTOPS")
23
24 if test "x$CUPS_PDFTOPS" != x; then
25 AC_MSG_CHECKING(whether to build pdftops filter)
26 if test x$enable_pdftops = xyes -o $uname != Darwin; then
27 PDFTOPS="pdftops"
28 AC_MSG_RESULT(yes)
29 else
30 AC_MSG_RESULT(no)
31 fi
32 elif test x$enable_pdftops = xyes; then
33 AC_MSG_ERROR(Unable to find pdftops program!)
34 exit 1
e1d6a774 35 fi
36fi
37
38AC_SUBST(PDFTOPS)
39
40dnl
bc44d920 41dnl End of "$Id: cups-pdf.m4 6649 2007-07-11 21:46:42Z mike $".
e1d6a774 42dnl