]> git.ipfire.org Git - thirdparty/cups.git/blob - configure.ac
Drop hard-coded CGI scripting language support (Issue #5124)
[thirdparty/cups.git] / configure.ac
1 dnl
2 dnl Configuration script for CUPS.
3 dnl
4 dnl Copyright 2007-2017 by Apple Inc.
5 dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
6 dnl
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 missing or damaged, see the license at "http://www.cups.org/".
12 dnl
13
14 dnl We need at least autoconf 2.60...
15 AC_PREREQ(2.60)
16
17 dnl Package name and version...
18 AC_INIT([CUPS], [2.3b1], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/])
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
29 sinclude(config-scripts/cups-network.m4)
30 sinclude(config-scripts/cups-poll.m4)
31 sinclude(config-scripts/cups-gssapi.m4)
32 sinclude(config-scripts/cups-threads.m4)
33 sinclude(config-scripts/cups-ssl.m4)
34 sinclude(config-scripts/cups-pam.m4)
35 sinclude(config-scripts/cups-largefile.m4)
36 sinclude(config-scripts/cups-dnssd.m4)
37 sinclude(config-scripts/cups-startup.m4)
38 sinclude(config-scripts/cups-defaults.m4)
39
40 INSTALL_LANGUAGES=""
41 UNINSTALL_LANGUAGES=""
42 LANGFILES=""
43 if test "x$LANGUAGES" != x; then
44 INSTALL_LANGUAGES="install-languages"
45 UNINSTALL_LANGUAGES="uninstall-languages"
46 for lang in $LANGUAGES; do
47 if test -f doc/$lang/index.html.in; then
48 LANGFILES="$LANGFILES doc/$lang/index.html"
49 fi
50
51 if test -f templates/$lang/header.tmpl.in; then
52 LANGFILES="$LANGFILES templates/$lang/header.tmpl"
53 fi
54 done
55 elif test "x$CUPS_BUNDLEDIR" != x; then
56 INSTALL_LANGUAGES="install-langbundle"
57 UNINSTALL_LANGUAGES="uninstall-langbundle"
58 fi
59
60 AC_SUBST(INSTALL_LANGUAGES)
61 AC_SUBST(UNINSTALL_LANGUAGES)
62
63 AC_OUTPUT(Makedefs
64 conf/cups-files.conf
65 conf/cupsd.conf
66 conf/mime.convs
67 conf/pam.std
68 conf/snmp.conf
69 cups-config
70 desktop/cups.desktop
71 doc/index.html
72 man/client.conf.man
73 man/cups-files.conf.man
74 man/cups-lpd.man
75 man/cups-snmp.man
76 man/cupsaddsmb.man
77 man/cupsd.conf.man
78 man/cupsd.man
79 man/lpoptions.man
80 scheduler/cups-lpd.xinetd
81 scheduler/cups.sh
82 scheduler/cups.xml
83 scheduler/org.cups.cups-lpd.plist
84 scheduler/org.cups.cups-lpdAT.service
85 scheduler/org.cups.cupsd.path
86 scheduler/org.cups.cupsd.service
87 scheduler/org.cups.cupsd.socket
88 templates/header.tmpl
89 packaging/cups.list
90 $LANGFILES)
91
92 chmod +x cups-config