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