dnl
-dnl "$Id: configure.in 5468 2006-04-27 13:40:30Z mike $"
+dnl "$Id$"
dnl
-dnl Configuration script for the Common UNIX Printing System (CUPS).
+dnl Configuration script for CUPS.
dnl
-dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
+dnl Copyright 2007-2012 by Apple Inc.
+dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
-dnl property of Easy Software Products and are protected by Federal
-dnl copyright law. Distribution and use rights are outlined in the file
-dnl "LICENSE.txt" which should have been included with this file. If this
-dnl file is missing or damaged please contact Easy Software Products
-dnl at:
-dnl
-dnl Attn: CUPS Licensing Information
-dnl Easy Software Products
-dnl 44141 Airport View Drive, Suite 204
-dnl Hollywood, Maryland 20636 USA
-dnl
-dnl Voice: (301) 373-9600
-dnl EMail: cups-info@cups.org
-dnl WWW: http://www.cups.org
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
AC_INIT(cups/cups.h)
sinclude(config-scripts/cups-libtool.m4)
sinclude(config-scripts/cups-compiler.m4)
-sinclude(config-scripts/cups-image.m4)
sinclude(config-scripts/cups-network.m4)
-sinclude(config-scripts/cups-slp.m4)
-sinclude(config-scripts/cups-ldap.m4)
+sinclude(config-scripts/cups-poll.m4)
+sinclude(config-scripts/cups-gssapi.m4)
+sinclude(config-scripts/cups-threads.m4)
sinclude(config-scripts/cups-ssl.m4)
sinclude(config-scripts/cups-pam.m4)
-sinclude(config-scripts/cups-threads.m4)
sinclude(config-scripts/cups-largefile.m4)
+sinclude(config-scripts/cups-dnssd.m4)
sinclude(config-scripts/cups-launchd.m4)
sinclude(config-scripts/cups-defaults.m4)
-sinclude(config-scripts/cups-pap.m4)
-sinclude(config-scripts/cups-pdf.m4)
sinclude(config-scripts/cups-scripting.m4)
+INSTALL_LANGUAGES=""
+UNINSTALL_LANGUAGES=""
LANGFILES=""
if test "x$LANGUAGES" != x; then
+ INSTALL_LANGUAGES="install-languages"
+ UNINSTALL_LANGUAGES="uninstall-languages"
for lang in $LANGUAGES; do
- LANGFILES="$LANGFILES doc/$lang/index.html"
- LANGFILES="$LANGFILES templates/$lang/edit-config.tmpl"
- LANGFILES="$LANGFILES templates/$lang/header.tmpl"
+ if test -f doc/$lang/index.html.in; then
+ LANGFILES="$LANGFILES doc/$lang/index.html"
+ fi
+
+ if test -f templates/$lang/header.tmpl.in; then
+ LANGFILES="$LANGFILES templates/$lang/header.tmpl"
+ fi
done
+elif test "x$CUPS_BUNDLEDIR" != x; then
+ INSTALL_LANGUAGES="install-langbundle"
+ UNINSTALL_LANGUAGES="uninstall-langbundle"
fi
-AC_OUTPUT(Makedefs packaging/cups.list init/cups.sh init/cups-lpd cups-config
- conf/cupsd.conf conf/pam.std doc/index.html
- doc/help/standard.html man/client.conf.man
- man/cups-deviced.man man/cups-driverd.man
- man/cups-lpd.man man/cupsaddsmb.man man/cupsd.man
- man/cupsd.conf.man man/lpoptions.man
- templates/edit-config.tmpl templates/header.tmpl
+AC_SUBST(INSTALL_LANGUAGES)
+AC_SUBST(UNINSTALL_LANGUAGES)
+
+AC_OUTPUT(Makedefs
+ conf/cups-files.conf
+ conf/cupsd.conf
+ conf/mime.convs
+ conf/pam.std
+ conf/snmp.conf
+ cups-config
+ data/testprint
+ desktop/cups.desktop
+ doc/help/ref-cups-files-conf.html
+ doc/help/ref-cupsd-conf.html
+ doc/help/standard.html
+ doc/index.html
+ man/client.conf.man
+ man/cups-deviced.man
+ man/cups-driverd.man
+ man/cups-files.conf.man
+ man/cups-lpd.man
+ man/cups-snmp.man
+ man/cupsaddsmb.man
+ man/cupsd.conf.man
+ man/cupsd.man
+ man/lpoptions.man
+ scheduler/cups-lpd.xinetd
+ scheduler/cups.sh
+ scheduler/cups.xml
+ scheduler/org.cups.cups-lpd.plist
+ templates/header.tmpl
+ packaging/cups.list
$LANGFILES)
chmod +x cups-config
dnl
-dnl End of "$Id: configure.in 5468 2006-04-27 13:40:30Z mike $".
+dnl End of "$Id$".
dnl