]> git.ipfire.org Git - thirdparty/cups.git/blob - configure.in
Load cups into easysw/current.
[thirdparty/cups.git] / configure.in
1 dnl
2 dnl "$Id: configure.in 5804 2006-08-04 16:51:58Z mike $"
3 dnl
4 dnl Configuration script for the Common UNIX Printing System (CUPS).
5 dnl
6 dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
7 dnl
8 dnl These coded instructions, statements, and computer programs are the
9 dnl property of Easy Software Products and are protected by Federal
10 dnl copyright law. Distribution and use rights are outlined in the file
11 dnl "LICENSE.txt" which should have been included with this file. If this
12 dnl file is missing or damaged please contact Easy Software Products
13 dnl at:
14 dnl
15 dnl Attn: CUPS Licensing Information
16 dnl Easy Software Products
17 dnl 44141 Airport View Drive, Suite 204
18 dnl Hollywood, Maryland 20636 USA
19 dnl
20 dnl Voice: (301) 373-9600
21 dnl EMail: cups-info@cups.org
22 dnl WWW: http://www.cups.org
23 dnl
24
25 AC_INIT(cups/cups.h)
26
27 sinclude(config-scripts/cups-opsys.m4)
28 sinclude(config-scripts/cups-common.m4)
29 sinclude(config-scripts/cups-directories.m4)
30 sinclude(config-scripts/cups-manpages.m4)
31
32 sinclude(config-scripts/cups-sharedlibs.m4)
33 sinclude(config-scripts/cups-libtool.m4)
34 sinclude(config-scripts/cups-compiler.m4)
35
36 sinclude(config-scripts/cups-image.m4)
37 sinclude(config-scripts/cups-network.m4)
38 sinclude(config-scripts/cups-slp.m4)
39 sinclude(config-scripts/cups-ldap.m4)
40 sinclude(config-scripts/cups-ssl.m4)
41 sinclude(config-scripts/cups-pam.m4)
42 sinclude(config-scripts/cups-threads.m4)
43 sinclude(config-scripts/cups-largefile.m4)
44 sinclude(config-scripts/cups-launchd.m4)
45 sinclude(config-scripts/cups-defaults.m4)
46 sinclude(config-scripts/cups-pap.m4)
47 sinclude(config-scripts/cups-pdf.m4)
48 sinclude(config-scripts/cups-scripting.m4)
49
50 INSTALL_LANGUAGES=""
51 UNINSTALL_LANGUAGES=""
52 LANGFILES=""
53 if test "x$LANGUAGES" != x; then
54 INSTALL_LANGUAGES="install-languages"
55 UNINSTALL_LANGUAGES="uninstall-languages"
56 for lang in $LANGUAGES; do
57 if test -f doc/$lang/index.html.in; then
58 LANGFILES="$LANGFILES doc/$lang/index.html"
59 fi
60
61 if test -f templates/$lang/edit-config.tmpl.in; then
62 LANGFILES="$LANGFILES templates/$lang/edit-config.tmpl"
63 fi
64
65 if test -f templates/$lang/header.tmpl.in; then
66 LANGFILES="$LANGFILES templates/$lang/header.tmpl"
67 fi
68 done
69 fi
70
71 AC_SUBST(INSTALL_LANGUAGES)
72 AC_SUBST(UNINSTALL_LANGUAGES)
73
74 AC_OUTPUT(Makedefs packaging/cups.list init/cups.sh init/cups-lpd cups-config
75 conf/cupsd.conf conf/pam.std doc/index.html
76 doc/help/standard.html man/client.conf.man
77 man/cups-deviced.man man/cups-driverd.man
78 man/cups-lpd.man man/cupsaddsmb.man man/cupsd.man
79 man/cupsd.conf.man man/lpoptions.man
80 templates/edit-config.tmpl templates/header.tmpl
81 $LANGFILES)
82
83 chmod +x cups-config
84
85 dnl
86 dnl End of "$Id: configure.in 5804 2006-08-04 16:51:58Z mike $".
87 dnl