]> git.ipfire.org Git - thirdparty/cups.git/blob - configure.in
Load cups into easysw/current.
[thirdparty/cups.git] / configure.in
1 dnl
2 dnl "$Id: configure.in 6649 2007-07-11 21:46:42Z mike $"
3 dnl
4 dnl Configuration script for the Common UNIX Printing System (CUPS).
5 dnl
6 dnl Copyright 2007 by Apple Inc.
7 dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
8 dnl
9 dnl These coded instructions, statements, and computer programs are the
10 dnl property of Apple Inc. and are protected by Federal copyright
11 dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 dnl which should have been included with this file. If this file is
13 dnl file is missing or damaged, see the license at "http://www.cups.org/".
14 dnl
15
16 AC_INIT(cups/cups.h)
17
18 sinclude(config-scripts/cups-opsys.m4)
19 sinclude(config-scripts/cups-common.m4)
20 sinclude(config-scripts/cups-directories.m4)
21 sinclude(config-scripts/cups-manpages.m4)
22
23 sinclude(config-scripts/cups-3264.m4)
24 sinclude(config-scripts/cups-sharedlibs.m4)
25 sinclude(config-scripts/cups-libtool.m4)
26 sinclude(config-scripts/cups-compiler.m4)
27
28 sinclude(config-scripts/cups-image.m4)
29 sinclude(config-scripts/cups-network.m4)
30 sinclude(config-scripts/cups-poll.m4)
31 sinclude(config-scripts/cups-slp.m4)
32 sinclude(config-scripts/cups-gssapi.m4)
33 sinclude(config-scripts/cups-ldap.m4)
34 sinclude(config-scripts/cups-ssl.m4)
35 sinclude(config-scripts/cups-pam.m4)
36 sinclude(config-scripts/cups-threads.m4)
37 sinclude(config-scripts/cups-largefile.m4)
38 sinclude(config-scripts/cups-dnssd.m4)
39 sinclude(config-scripts/cups-launchd.m4)
40 sinclude(config-scripts/cups-defaults.m4)
41 sinclude(config-scripts/cups-pap.m4)
42 sinclude(config-scripts/cups-pdf.m4)
43 sinclude(config-scripts/cups-scripting.m4)
44
45 INSTALL_LANGUAGES=""
46 UNINSTALL_LANGUAGES=""
47 LANGFILES=""
48 if test "x$LANGUAGES" != x; then
49 INSTALL_LANGUAGES="install-languages"
50 UNINSTALL_LANGUAGES="uninstall-languages"
51 for lang in $LANGUAGES; do
52 if test -f doc/$lang/index.html.in; then
53 LANGFILES="$LANGFILES doc/$lang/index.html"
54 fi
55
56 if test -f templates/$lang/edit-config.tmpl.in; then
57 LANGFILES="$LANGFILES templates/$lang/edit-config.tmpl"
58 fi
59
60 if test -f templates/$lang/header.tmpl.in; then
61 LANGFILES="$LANGFILES templates/$lang/header.tmpl"
62 fi
63 done
64 fi
65
66 AC_SUBST(INSTALL_LANGUAGES)
67 AC_SUBST(UNINSTALL_LANGUAGES)
68
69 AC_OUTPUT(Makedefs packaging/cups.list init/cups.sh init/cups-lpd cups-config
70 conf/cupsd.conf conf/mime.convs conf/pam.std conf/snmp.conf
71 doc/index.html doc/help/ref-cupsd-conf.html doc/help/standard.html
72 man/client.conf.man man/cups-deviced.man man/cups-driverd.man
73 man/cups-lpd.man man/cupsaddsmb.man man/cupsd.man
74 man/cupsd.conf.man man/lpoptions.man
75 templates/edit-config.tmpl templates/header.tmpl
76 $LANGFILES)
77
78 chmod +x cups-config
79
80 dnl
81 dnl End of "$Id: configure.in 6649 2007-07-11 21:46:42Z mike $".
82 dnl