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