]> git.ipfire.org Git - thirdparty/cups.git/blob - configure.ac
Bump versions and copyrights.
[thirdparty/cups.git] / configure.ac
1 dnl
2 dnl Configuration script for CUPS.
3 dnl
4 dnl Copyright 2007-2018 by Apple Inc.
5 dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
6 dnl
7 dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information.
8 dnl
9
10 dnl We need at least autoconf 2.60...
11 AC_PREREQ(2.60)
12
13 dnl Package name and version...
14 AC_INIT([CUPS], [2.3b2], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/])
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
25 sinclude(config-scripts/cups-network.m4)
26 sinclude(config-scripts/cups-poll.m4)
27 sinclude(config-scripts/cups-gssapi.m4)
28 sinclude(config-scripts/cups-threads.m4)
29 sinclude(config-scripts/cups-ssl.m4)
30 sinclude(config-scripts/cups-pam.m4)
31 sinclude(config-scripts/cups-largefile.m4)
32 sinclude(config-scripts/cups-dnssd.m4)
33 sinclude(config-scripts/cups-startup.m4)
34 sinclude(config-scripts/cups-defaults.m4)
35
36 INSTALL_LANGUAGES=""
37 UNINSTALL_LANGUAGES=""
38 LANGFILES=""
39 if test "x$LANGUAGES" != x; then
40 INSTALL_LANGUAGES="install-languages"
41 UNINSTALL_LANGUAGES="uninstall-languages"
42 for lang in $LANGUAGES; do
43 if test -f doc/$lang/index.html.in; then
44 LANGFILES="$LANGFILES doc/$lang/index.html"
45 fi
46
47 if test -f templates/$lang/header.tmpl.in; then
48 LANGFILES="$LANGFILES templates/$lang/header.tmpl"
49 fi
50 done
51 elif test "x$CUPS_BUNDLEDIR" != x; then
52 INSTALL_LANGUAGES="install-langbundle"
53 UNINSTALL_LANGUAGES="uninstall-langbundle"
54 fi
55
56 AC_SUBST(INSTALL_LANGUAGES)
57 AC_SUBST(UNINSTALL_LANGUAGES)
58
59 AC_OUTPUT(Makedefs
60 conf/cups-files.conf
61 conf/cupsd.conf
62 conf/mime.convs
63 conf/pam.std
64 conf/snmp.conf
65 cups-config
66 desktop/cups.desktop
67 doc/index.html
68 man/client.conf.man
69 man/cups-files.conf.man
70 man/cups-lpd.man
71 man/cups-snmp.man
72 man/cupsaddsmb.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
88 chmod +x cups-config