]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | dnl |
f2d18633 | 2 | dnl "$Id$" |
ef416fc2 | 3 | dnl |
f8b3a85b | 4 | dnl Configuration script for CUPS. |
ef416fc2 | 5 | dnl |
12f89d24 | 6 | dnl Copyright 2007-2012 by Apple Inc. |
f7deaa1a | 7 | dnl Copyright 1997-2007 by Easy Software Products, all rights reserved. |
ef416fc2 | 8 | dnl |
9 | dnl These coded instructions, statements, and computer programs are the | |
bc44d920 | 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/". | |
ef416fc2 | 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-sharedlibs.m4) | |
24 | sinclude(config-scripts/cups-libtool.m4) | |
25 | sinclude(config-scripts/cups-compiler.m4) | |
26 | ||
ef416fc2 | 27 | sinclude(config-scripts/cups-network.m4) |
f7deaa1a | 28 | sinclude(config-scripts/cups-poll.m4) |
f7deaa1a | 29 | sinclude(config-scripts/cups-gssapi.m4) |
c7017ecc | 30 | sinclude(config-scripts/cups-threads.m4) |
ef416fc2 | 31 | sinclude(config-scripts/cups-ssl.m4) |
32 | sinclude(config-scripts/cups-pam.m4) | |
ef416fc2 | 33 | sinclude(config-scripts/cups-largefile.m4) |
f7deaa1a | 34 | sinclude(config-scripts/cups-dnssd.m4) |
a4d04587 | 35 | sinclude(config-scripts/cups-launchd.m4) |
e53920b9 | 36 | sinclude(config-scripts/cups-defaults.m4) |
ef416fc2 | 37 | sinclude(config-scripts/cups-scripting.m4) |
38 | ||
ed486911 | 39 | INSTALL_LANGUAGES="" |
40 | UNINSTALL_LANGUAGES="" | |
89d46774 | 41 | LANGFILES="" |
42 | if test "x$LANGUAGES" != x; then | |
ed486911 | 43 | INSTALL_LANGUAGES="install-languages" |
44 | UNINSTALL_LANGUAGES="uninstall-languages" | |
89d46774 | 45 | for lang in $LANGUAGES; do |
d09495fa | 46 | if test -f doc/$lang/index.html.in; then |
47 | LANGFILES="$LANGFILES doc/$lang/index.html" | |
48 | fi | |
49 | ||
d09495fa | 50 | if test -f templates/$lang/header.tmpl.in; then |
51 | LANGFILES="$LANGFILES templates/$lang/header.tmpl" | |
52 | fi | |
89d46774 | 53 | done |
a4845881 | 54 | elif test "x$CUPS_BUNDLEDIR" != x; then |
0837b7e8 MS |
55 | INSTALL_LANGUAGES="install-langbundle" |
56 | UNINSTALL_LANGUAGES="uninstall-langbundle" | |
89d46774 | 57 | fi |
58 | ||
ed486911 | 59 | AC_SUBST(INSTALL_LANGUAGES) |
60 | AC_SUBST(UNINSTALL_LANGUAGES) | |
61 | ||
4d301e69 | 62 | AC_OUTPUT(Makedefs |
c41769ff | 63 | conf/cups-files.conf |
4d301e69 MS |
64 | conf/cupsd.conf |
65 | conf/mime.convs | |
66 | conf/pam.std | |
67 | conf/snmp.conf | |
68 | cups-config | |
4b3f67ff | 69 | data/testprint |
ee571f26 | 70 | desktop/cups.desktop |
cb7f98ee | 71 | doc/help/ref-cups-files-conf.html |
4d301e69 | 72 | doc/help/ref-cupsd-conf.html |
4d301e69 MS |
73 | doc/index.html |
74 | man/client.conf.man | |
75 | man/cups-deviced.man | |
76 | man/cups-driverd.man | |
c41769ff | 77 | man/cups-files.conf.man |
4d301e69 | 78 | man/cups-lpd.man |
f3c17241 | 79 | man/cups-snmp.man |
4d301e69 MS |
80 | man/cupsaddsmb.man |
81 | man/cupsd.conf.man | |
82 | man/cupsd.man | |
4d301e69 MS |
83 | man/lpoptions.man |
84 | scheduler/cups-lpd.xinetd | |
85 | scheduler/cups.sh | |
86 | scheduler/cups.xml | |
87 | scheduler/org.cups.cups-lpd.plist | |
88 | templates/header.tmpl | |
89 | packaging/cups.list | |
89d46774 | 90 | $LANGFILES) |
ef416fc2 | 91 | |
92 | chmod +x cups-config | |
93 | ||
94 | dnl | |
f2d18633 | 95 | dnl End of "$Id$". |
ef416fc2 | 96 | dnl |