]> git.ipfire.org Git - thirdparty/cups.git/blob - configure.in
Merge changes from CUPS 1.6svn-r9939.
[thirdparty/cups.git] / configure.in
1 dnl
2 dnl "$Id: configure.in 7833 2008-08-04 20:55:13Z mike $"
3 dnl
4 dnl Configuration script for CUPS.
5 dnl
6 dnl Copyright 2007-2010 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 AC_INIT(cups/cups.h)
17
18 sinclude(config-scripts/cups-opsys.m4)
19 sinclude(config-scripts/cups-common.m4)
20 sinclude(config-scripts/cups-directories.m4)
21 sinclude(config-scripts/cups-manpages.m4)
22
23 sinclude(config-scripts/cups-3264.m4)
24 sinclude(config-scripts/cups-sharedlibs.m4)
25 sinclude(config-scripts/cups-libtool.m4)
26 sinclude(config-scripts/cups-compiler.m4)
27
28 sinclude(config-scripts/cups-network.m4)
29 sinclude(config-scripts/cups-poll.m4)
30 sinclude(config-scripts/cups-slp.m4)
31 sinclude(config-scripts/cups-gssapi.m4)
32 sinclude(config-scripts/cups-ldap.m4)
33 sinclude(config-scripts/cups-threads.m4)
34 sinclude(config-scripts/cups-ssl.m4)
35 sinclude(config-scripts/cups-pam.m4)
36 sinclude(config-scripts/cups-largefile.m4)
37 sinclude(config-scripts/cups-dnssd.m4)
38 sinclude(config-scripts/cups-launchd.m4)
39 sinclude(config-scripts/cups-defaults.m4)
40 sinclude(config-scripts/cups-scripting.m4)
41
42 INSTALL_LANGUAGES=""
43 UNINSTALL_LANGUAGES=""
44 LANGFILES=""
45 if test "x$LANGUAGES" != x; then
46 INSTALL_LANGUAGES="install-languages"
47 UNINSTALL_LANGUAGES="uninstall-languages"
48 for lang in $LANGUAGES; do
49 if test -f doc/$lang/index.html.in; then
50 LANGFILES="$LANGFILES doc/$lang/index.html"
51 fi
52
53 if test -f templates/$lang/header.tmpl.in; then
54 LANGFILES="$LANGFILES templates/$lang/header.tmpl"
55 fi
56 done
57 elif test "x$CUPS_BUNDLEDIR" != x; then
58 INSTALL_LANGUAGES="install-langbundle"
59 UNINSTALL_LANGUAGES="uninstall-langbundle"
60 fi
61
62 AC_SUBST(INSTALL_LANGUAGES)
63 AC_SUBST(UNINSTALL_LANGUAGES)
64
65 AC_OUTPUT(Makedefs
66 conf/cupsd.conf
67 conf/mime.convs
68 conf/pam.std
69 conf/snmp.conf
70 cups-config
71 data/testprint
72 desktop/cups.desktop
73 doc/help/ref-cupsd-conf.html
74 doc/help/standard.html
75 doc/index.html
76 man/client.conf.man
77 man/cups-deviced.man
78 man/cups-driverd.man
79 man/cups-lpd.man
80 man/cupsaddsmb.man
81 man/cupsd.conf.man
82 man/cupsd.man
83 man/lpoptions.man
84 scheduler/cups-lpd.xinetd
85 scheduler/cups.sh
86 scheduler/cups.xml
87 scheduler/org.cups.cups-lpd.plist
88 templates/header.tmpl
89 packaging/cups.list
90 $LANGFILES)
91
92 chmod +x cups-config
93
94 dnl
95 dnl End of "$Id: configure.in 7833 2008-08-04 20:55:13Z mike $".
96 dnl