Merge changes from CUPS 1.4svn-r7874.
[thirdparty/cups.git] / configure.in
CommitLineData
ef416fc2 1dnl
75bd9771 2dnl "$Id: configure.in 7600 2008-05-20 21:06:23Z mike $"
ef416fc2 3dnl
4dnl Configuration script for the Common UNIX Printing System (CUPS).
5dnl
bc44d920 6dnl Copyright 2007 by Apple Inc.
f7deaa1a 7dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
ef416fc2 8dnl
9dnl These coded instructions, statements, and computer programs are the
bc44d920 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/".
ef416fc2 14dnl
15
16AC_INIT(cups/cups.h)
17
18sinclude(config-scripts/cups-opsys.m4)
19sinclude(config-scripts/cups-common.m4)
20sinclude(config-scripts/cups-directories.m4)
21sinclude(config-scripts/cups-manpages.m4)
22
b86bc4cf 23sinclude(config-scripts/cups-3264.m4)
ef416fc2 24sinclude(config-scripts/cups-sharedlibs.m4)
25sinclude(config-scripts/cups-libtool.m4)
26sinclude(config-scripts/cups-compiler.m4)
27
28sinclude(config-scripts/cups-image.m4)
29sinclude(config-scripts/cups-network.m4)
f7deaa1a 30sinclude(config-scripts/cups-poll.m4)
ef416fc2 31sinclude(config-scripts/cups-slp.m4)
f7deaa1a 32sinclude(config-scripts/cups-gssapi.m4)
b423cd4c 33sinclude(config-scripts/cups-ldap.m4)
ef416fc2 34sinclude(config-scripts/cups-ssl.m4)
35sinclude(config-scripts/cups-pam.m4)
36sinclude(config-scripts/cups-threads.m4)
37sinclude(config-scripts/cups-largefile.m4)
f7deaa1a 38sinclude(config-scripts/cups-dnssd.m4)
a4d04587 39sinclude(config-scripts/cups-launchd.m4)
e53920b9 40sinclude(config-scripts/cups-defaults.m4)
a74454a7 41sinclude(config-scripts/cups-pap.m4)
e1d6a774 42sinclude(config-scripts/cups-pdf.m4)
ef416fc2 43sinclude(config-scripts/cups-scripting.m4)
44
ed486911 45INSTALL_LANGUAGES=""
46UNINSTALL_LANGUAGES=""
89d46774 47LANGFILES=""
48if test "x$LANGUAGES" != x; then
ed486911 49 INSTALL_LANGUAGES="install-languages"
50 UNINSTALL_LANGUAGES="uninstall-languages"
89d46774 51 for lang in $LANGUAGES; do
d09495fa 52 if test -f doc/$lang/index.html.in; then
53 LANGFILES="$LANGFILES doc/$lang/index.html"
54 fi
55
d09495fa 56 if test -f templates/$lang/header.tmpl.in; then
57 LANGFILES="$LANGFILES templates/$lang/header.tmpl"
58 fi
89d46774 59 done
60fi
61
ed486911 62AC_SUBST(INSTALL_LANGUAGES)
63AC_SUBST(UNINSTALL_LANGUAGES)
64
e1d6a774 65AC_OUTPUT(Makedefs packaging/cups.list init/cups.sh init/cups-lpd cups-config
bc44d920 66 conf/cupsd.conf conf/mime.convs conf/pam.std conf/snmp.conf
ee571f26 67 desktop/cups.desktop
bc44d920 68 doc/index.html doc/help/ref-cupsd-conf.html doc/help/standard.html
749b1e90 69 init/org.cups.cups-lpd.plist init/cups.xml
b94498cf 70 man/client.conf.man man/cups-deviced.man man/cups-driverd.man
e1d6a774 71 man/cups-lpd.man man/cupsaddsmb.man man/cupsd.man
bdd6c45b 72 man/cupsd.conf.man man/drv.man man/lpoptions.man
355e94dc 73 templates/header.tmpl
89d46774 74 $LANGFILES)
ef416fc2 75
76chmod +x cups-config
77
78dnl
75bd9771 79dnl End of "$Id: configure.in 7600 2008-05-20 21:06:23Z mike $".
ef416fc2 80dnl