]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - configure.in
Changelog.
[thirdparty/cups.git] / configure.in
index 690c0ffdec0456bb508ab4c4c8c13a4f0c87ac36..fd0e079db5a23dbac2db5ae0fbab5488fe22b611 100644 (file)
@@ -1,25 +1,16 @@
 dnl
 dnl "$Id$"
 dnl
-dnl   Configuration script for the Common UNIX Printing System (CUPS).
+dnl   Configuration script for CUPS.
 dnl
-dnl   Copyright 1997-2005 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)
@@ -33,20 +24,71 @@ sinclude(config-scripts/cups-sharedlibs.m4)
 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-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-scripting.m4)
 
-MAKEDEFS="../Makedefs"
-AC_SUBST(MAKEDEFS)
+INSTALL_LANGUAGES=""
+UNINSTALL_LANGUAGES=""
+LANGFILES=""
+if test "x$LANGUAGES" != x; then
+       INSTALL_LANGUAGES="install-languages"
+       UNINSTALL_LANGUAGES="uninstall-languages"
+       for lang in $LANGUAGES; do
+               if test -f doc/$lang/index.html.in; then
+                       LANGFILES="$LANGFILES doc/$lang/index.html"
+               fi
 
-sinclude(config-scripts/cups-scripting.m4)
+               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_SUBST(INSTALL_LANGUAGES)
+AC_SUBST(UNINSTALL_LANGUAGES)
 
-AC_OUTPUT(Makedefs cups.list cups.sh cups.spec cups-config conf/cupsd.conf 
-          conf/pam.std doc/index.html templates/edit-config.tmpl)
+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