]> git.ipfire.org Git - thirdparty/cups.git/blame_incremental - configure.ac
Add checks for missing/bad CloseUI/JCLCloseUI keywords (Issue #5381)
[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 These coded instructions, statements, and computer programs are the
8dnl property of Apple Inc. and are protected by Federal copyright
9dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
10dnl which should have been included with this file. If this file is
11dnl missing or damaged, see the license at "http://www.cups.org/".
12dnl
13
14dnl We need at least autoconf 2.60...
15AC_PREREQ(2.60)
16
17dnl Package name and version...
18AC_INIT([CUPS], [2.2.9], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/])
19
20sinclude(config-scripts/cups-opsys.m4)
21sinclude(config-scripts/cups-common.m4)
22sinclude(config-scripts/cups-directories.m4)
23sinclude(config-scripts/cups-manpages.m4)
24
25sinclude(config-scripts/cups-sharedlibs.m4)
26sinclude(config-scripts/cups-libtool.m4)
27sinclude(config-scripts/cups-compiler.m4)
28
29sinclude(config-scripts/cups-network.m4)
30sinclude(config-scripts/cups-poll.m4)
31sinclude(config-scripts/cups-gssapi.m4)
32sinclude(config-scripts/cups-threads.m4)
33sinclude(config-scripts/cups-ssl.m4)
34sinclude(config-scripts/cups-pam.m4)
35sinclude(config-scripts/cups-largefile.m4)
36sinclude(config-scripts/cups-dnssd.m4)
37sinclude(config-scripts/cups-startup.m4)
38sinclude(config-scripts/cups-defaults.m4)
39sinclude(config-scripts/cups-scripting.m4)
40
41INSTALL_LANGUAGES=""
42UNINSTALL_LANGUAGES=""
43LANGFILES=""
44if test "x$LANGUAGES" != x; then
45 INSTALL_LANGUAGES="install-languages"
46 UNINSTALL_LANGUAGES="uninstall-languages"
47 for lang in $LANGUAGES; do
48 if test -f doc/$lang/index.html.in; then
49 LANGFILES="$LANGFILES doc/$lang/index.html"
50 fi
51
52 if test -f templates/$lang/header.tmpl.in; then
53 LANGFILES="$LANGFILES templates/$lang/header.tmpl"
54 fi
55 done
56elif test "x$CUPS_BUNDLEDIR" != x; then
57 INSTALL_LANGUAGES="install-langbundle"
58 UNINSTALL_LANGUAGES="uninstall-langbundle"
59fi
60
61AC_SUBST(INSTALL_LANGUAGES)
62AC_SUBST(UNINSTALL_LANGUAGES)
63
64AC_OUTPUT(Makedefs
65 conf/cups-files.conf
66 conf/cupsd.conf
67 conf/mime.convs
68 conf/pam.std
69 conf/snmp.conf
70 cups-config
71 desktop/cups.desktop
72 doc/index.html
73 man/client.conf.man
74 man/cups-files.conf.man
75 man/cups-lpd.man
76 man/cups-snmp.man
77 man/cupsaddsmb.man
78 man/cupsd.conf.man
79 man/cupsd.man
80 man/lpoptions.man
81 scheduler/cups-lpd.xinetd
82 scheduler/cups.sh
83 scheduler/cups.xml
84 scheduler/org.cups.cups-lpd.plist
85 scheduler/org.cups.cups-lpdAT.service
86 scheduler/org.cups.cupsd.path
87 scheduler/org.cups.cupsd.service
88 scheduler/org.cups.cupsd.socket
89 templates/header.tmpl
90 packaging/cups.list
91 $LANGFILES)
92
93chmod +x cups-config