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