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