]> git.ipfire.org Git - thirdparty/cups.git/blame - configure.in
Cleanup GCC attribute usage.
[thirdparty/cups.git] / configure.in
CommitLineData
dec51c23 1dnl
c9d3f842 2dnl "$Id$"
dec51c23 3dnl
2256cc12 4dnl Configuration script for CUPS.
dec51c23 5dnl
2256cc12 6dnl Copyright 2007-2010 by Apple Inc.
2344229d 7dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
dec51c23 8dnl
9dnl These coded instructions, statements, and computer programs are the
4e8d321f 10dnl property of Apple Inc. and are protected by Federal copyright
11dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
12dnl which should have been included with this file. If this file is
13dnl file is missing or damaged, see the license at "http://www.cups.org/".
dec51c23 14dnl
3a57cba8 15
16AC_INIT(cups/cups.h)
a810d5d8 17
753453e4 18sinclude(config-scripts/cups-opsys.m4)
19sinclude(config-scripts/cups-common.m4)
20sinclude(config-scripts/cups-directories.m4)
21sinclude(config-scripts/cups-manpages.m4)
a810d5d8 22
58365c13 23sinclude(config-scripts/cups-3264.m4)
753453e4 24sinclude(config-scripts/cups-sharedlibs.m4)
25sinclude(config-scripts/cups-libtool.m4)
26sinclude(config-scripts/cups-compiler.m4)
45dec87e 27
753453e4 28sinclude(config-scripts/cups-network.m4)
9d4830a3 29sinclude(config-scripts/cups-poll.m4)
2c780061 30sinclude(config-scripts/cups-slp.m4)
cf94bcb1 31sinclude(config-scripts/cups-gssapi.m4)
c52c6d95 32sinclude(config-scripts/cups-ldap.m4)
b44f284a 33sinclude(config-scripts/cups-threads.m4)
2c780061 34sinclude(config-scripts/cups-ssl.m4)
753453e4 35sinclude(config-scripts/cups-pam.m4)
1479646d 36sinclude(config-scripts/cups-largefile.m4)
2344229d 37sinclude(config-scripts/cups-dnssd.m4)
5db6985b 38sinclude(config-scripts/cups-launchd.m4)
bfbabcab 39sinclude(config-scripts/cups-defaults.m4)
3721af07 40sinclude(config-scripts/cups-scripting.m4)
41
479c997f 42INSTALL_LANGUAGES=""
43UNINSTALL_LANGUAGES=""
13bffc9a 44LANGFILES=""
45if test "x$LANGUAGES" != x; then
479c997f 46 INSTALL_LANGUAGES="install-languages"
47 UNINSTALL_LANGUAGES="uninstall-languages"
13bffc9a 48 for lang in $LANGUAGES; do
cec530e6 49 if test -f doc/$lang/index.html.in; then
50 LANGFILES="$LANGFILES doc/$lang/index.html"
51 fi
52
cec530e6 53 if test -f templates/$lang/header.tmpl.in; then
54 LANGFILES="$LANGFILES templates/$lang/header.tmpl"
55 fi
13bffc9a 56 done
6f32170d 57elif test "x$CUPS_BUNDLEDIR" != x; then
2e3228ef 58 INSTALL_LANGUAGES="install-langbundle"
59 UNINSTALL_LANGUAGES="uninstall-langbundle"
13bffc9a 60fi
61
479c997f 62AC_SUBST(INSTALL_LANGUAGES)
63AC_SUBST(UNINSTALL_LANGUAGES)
64
e6ea7199 65AC_OUTPUT(Makedefs
66 conf/cupsd.conf
67 conf/mime.convs
68 conf/pam.std
69 conf/snmp.conf
70 cups-config
d5ca4b18 71 data/testprint
ea101cc4 72 desktop/cups.desktop
e6ea7199 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
e6ea7199 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
13bffc9a 90 $LANGFILES)
3a57cba8 91
753453e4 92chmod +x cups-config
3a57cba8 93
dec51c23 94dnl
c9d3f842 95dnl End of "$Id$".
dec51c23 96dnl