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