]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | dnl |
9ca6ba8f | 2 | dnl Configuration script for CUPS. |
ef416fc2 | 3 | dnl |
24343173 | 4 | dnl Copyright 2007-2016 by Apple Inc. |
9ca6ba8f | 5 | dnl Copyright 1997-2007 by Easy Software Products, all rights reserved. |
ef416fc2 | 6 | dnl |
9ca6ba8f MS |
7 | dnl These coded instructions, statements, and computer programs are the |
8 | dnl property of Apple Inc. and are protected by Federal copyright | |
9 | dnl law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
10 | dnl which should have been included with this file. If this file is | |
11 | dnl file is missing or damaged, see the license at "http://www.cups.org/". | |
ef416fc2 | 12 | dnl |
13 | ||
6fe0e360 MS |
14 | dnl We need at least autoconf 2.60... |
15 | AC_PREREQ(2.60) | |
16 | ||
17 | dnl Package name and version... | |
61b7ebde | 18 | AC_INIT([CUPS], [2.2.2], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/]) |
ef416fc2 | 19 | |
20 | sinclude(config-scripts/cups-opsys.m4) | |
21 | sinclude(config-scripts/cups-common.m4) | |
22 | sinclude(config-scripts/cups-directories.m4) | |
23 | sinclude(config-scripts/cups-manpages.m4) | |
24 | ||
25 | sinclude(config-scripts/cups-sharedlibs.m4) | |
26 | sinclude(config-scripts/cups-libtool.m4) | |
27 | sinclude(config-scripts/cups-compiler.m4) | |
28 | ||
ef416fc2 | 29 | sinclude(config-scripts/cups-network.m4) |
f7deaa1a | 30 | sinclude(config-scripts/cups-poll.m4) |
f7deaa1a | 31 | sinclude(config-scripts/cups-gssapi.m4) |
c7017ecc | 32 | sinclude(config-scripts/cups-threads.m4) |
ef416fc2 | 33 | sinclude(config-scripts/cups-ssl.m4) |
34 | sinclude(config-scripts/cups-pam.m4) | |
ef416fc2 | 35 | sinclude(config-scripts/cups-largefile.m4) |
f7deaa1a | 36 | sinclude(config-scripts/cups-dnssd.m4) |
1720786e | 37 | sinclude(config-scripts/cups-startup.m4) |
e53920b9 | 38 | sinclude(config-scripts/cups-defaults.m4) |
ef416fc2 | 39 | sinclude(config-scripts/cups-scripting.m4) |
40 | ||
ed486911 | 41 | INSTALL_LANGUAGES="" |
42 | UNINSTALL_LANGUAGES="" | |
89d46774 | 43 | LANGFILES="" |
44 | if test "x$LANGUAGES" != x; then | |
ed486911 | 45 | INSTALL_LANGUAGES="install-languages" |
46 | UNINSTALL_LANGUAGES="uninstall-languages" | |
89d46774 | 47 | for lang in $LANGUAGES; do |
d09495fa | 48 | if test -f doc/$lang/index.html.in; then |
49 | LANGFILES="$LANGFILES doc/$lang/index.html" | |
50 | fi | |
51 | ||
d09495fa | 52 | if test -f templates/$lang/header.tmpl.in; then |
53 | LANGFILES="$LANGFILES templates/$lang/header.tmpl" | |
54 | fi | |
89d46774 | 55 | done |
a4845881 | 56 | elif test "x$CUPS_BUNDLEDIR" != x; then |
0837b7e8 MS |
57 | INSTALL_LANGUAGES="install-langbundle" |
58 | UNINSTALL_LANGUAGES="uninstall-langbundle" | |
89d46774 | 59 | fi |
60 | ||
ed486911 | 61 | AC_SUBST(INSTALL_LANGUAGES) |
62 | AC_SUBST(UNINSTALL_LANGUAGES) | |
63 | ||
4d301e69 | 64 | AC_OUTPUT(Makedefs |
c41769ff | 65 | conf/cups-files.conf |
4d301e69 MS |
66 | conf/cupsd.conf |
67 | conf/mime.convs | |
68 | conf/pam.std | |
69 | conf/snmp.conf | |
70 | cups-config | |
ee571f26 | 71 | desktop/cups.desktop |
4d301e69 MS |
72 | doc/index.html |
73 | man/client.conf.man | |
c41769ff | 74 | man/cups-files.conf.man |
4d301e69 | 75 | man/cups-lpd.man |
f3c17241 | 76 | man/cups-snmp.man |
4d301e69 MS |
77 | man/cupsaddsmb.man |
78 | man/cupsd.conf.man | |
79 | man/cupsd.man | |
4d301e69 MS |
80 | man/lpoptions.man |
81 | scheduler/cups-lpd.xinetd | |
82 | scheduler/cups.sh | |
83 | scheduler/cups.xml | |
84 | scheduler/org.cups.cups-lpd.plist | |
451d5797 | 85 | scheduler/org.cups.cups-lpdAT.service |
f2b8078b MS |
86 | scheduler/org.cups.cupsd.path |
87 | scheduler/org.cups.cupsd.service | |
88 | scheduler/org.cups.cupsd.socket | |
4d301e69 MS |
89 | templates/header.tmpl |
90 | packaging/cups.list | |
89d46774 | 91 | $LANGFILES) |
ef416fc2 | 92 | |
93 | chmod +x cups-config |