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