]> git.ipfire.org Git - thirdparty/cups.git/blame - configure.ac
License change: Apache License, Version 2.0.
[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
e3101897 7dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information.
ef416fc2 8dnl
9
6fe0e360
MS
10dnl We need at least autoconf 2.60...
11AC_PREREQ(2.60)
12
13dnl Package name and version...
11143dcf 14AC_INIT([CUPS], [2.3b1], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/])
ef416fc2 15
16sinclude(config-scripts/cups-opsys.m4)
17sinclude(config-scripts/cups-common.m4)
18sinclude(config-scripts/cups-directories.m4)
19sinclude(config-scripts/cups-manpages.m4)
20
21sinclude(config-scripts/cups-sharedlibs.m4)
22sinclude(config-scripts/cups-libtool.m4)
23sinclude(config-scripts/cups-compiler.m4)
24
ef416fc2 25sinclude(config-scripts/cups-network.m4)
f7deaa1a 26sinclude(config-scripts/cups-poll.m4)
f7deaa1a 27sinclude(config-scripts/cups-gssapi.m4)
c7017ecc 28sinclude(config-scripts/cups-threads.m4)
ef416fc2 29sinclude(config-scripts/cups-ssl.m4)
30sinclude(config-scripts/cups-pam.m4)
ef416fc2 31sinclude(config-scripts/cups-largefile.m4)
f7deaa1a 32sinclude(config-scripts/cups-dnssd.m4)
1720786e 33sinclude(config-scripts/cups-startup.m4)
e53920b9 34sinclude(config-scripts/cups-defaults.m4)
ef416fc2 35
ed486911 36INSTALL_LANGUAGES=""
37UNINSTALL_LANGUAGES=""
89d46774 38LANGFILES=""
39if test "x$LANGUAGES" != x; then
ed486911 40 INSTALL_LANGUAGES="install-languages"
41 UNINSTALL_LANGUAGES="uninstall-languages"
89d46774 42 for lang in $LANGUAGES; do
d09495fa 43 if test -f doc/$lang/index.html.in; then
44 LANGFILES="$LANGFILES doc/$lang/index.html"
45 fi
46
d09495fa 47 if test -f templates/$lang/header.tmpl.in; then
48 LANGFILES="$LANGFILES templates/$lang/header.tmpl"
49 fi
89d46774 50 done
a4845881 51elif test "x$CUPS_BUNDLEDIR" != x; then
0837b7e8
MS
52 INSTALL_LANGUAGES="install-langbundle"
53 UNINSTALL_LANGUAGES="uninstall-langbundle"
89d46774 54fi
55
ed486911 56AC_SUBST(INSTALL_LANGUAGES)
57AC_SUBST(UNINSTALL_LANGUAGES)
58
4d301e69 59AC_OUTPUT(Makedefs
c41769ff 60 conf/cups-files.conf
4d301e69
MS
61 conf/cupsd.conf
62 conf/mime.convs
63 conf/pam.std
64 conf/snmp.conf
65 cups-config
ee571f26 66 desktop/cups.desktop
4d301e69
MS
67 doc/index.html
68 man/client.conf.man
c41769ff 69 man/cups-files.conf.man
4d301e69 70 man/cups-lpd.man
f3c17241 71 man/cups-snmp.man
4d301e69
MS
72 man/cupsaddsmb.man
73 man/cupsd.conf.man
74 man/cupsd.man
4d301e69
MS
75 man/lpoptions.man
76 scheduler/cups-lpd.xinetd
77 scheduler/cups.sh
78 scheduler/cups.xml
79 scheduler/org.cups.cups-lpd.plist
451d5797 80 scheduler/org.cups.cups-lpdAT.service
f2b8078b
MS
81 scheduler/org.cups.cupsd.path
82 scheduler/org.cups.cupsd.service
83 scheduler/org.cups.cupsd.socket
4d301e69
MS
84 templates/header.tmpl
85 packaging/cups.list
89d46774 86 $LANGFILES)
ef416fc2 87
88chmod +x cups-config