]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - configure.in
Load cups into easysw/current.
[thirdparty/cups.git] / configure.in
index 58dff5694ff0badfcf4b9891037a847ab64bb4f4..2472ce6fc83f3f7c0a958886f6cf456836fc9769 100644 (file)
@@ -1,9 +1,9 @@
 dnl
-dnl "$Id: configure.in 5008 2006-01-27 19:30:34Z mike $"
+dnl "$Id: configure.in 6291 2007-02-19 21:54:27Z mike $"
 dnl
 dnl   Configuration script for the Common UNIX Printing System (CUPS).
 dnl
-dnl   Copyright 1997-2006 by Easy Software Products, all rights reserved.
+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
@@ -26,34 +26,66 @@ AC_INIT(cups/cups.h)
 
 sinclude(config-scripts/cups-opsys.m4)
 sinclude(config-scripts/cups-common.m4)
-sinclude(config-scripts/cups-defaults.m4)
 sinclude(config-scripts/cups-directories.m4)
 sinclude(config-scripts/cups-manpages.m4)
 
+sinclude(config-scripts/cups-3264.m4)
 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-poll.m4)
 sinclude(config-scripts/cups-slp.m4)
+sinclude(config-scripts/cups-gssapi.m4)
+sinclude(config-scripts/cups-ldap.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)
 
-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/edit-config.tmpl.in; then
+                       LANGFILES="$LANGFILES templates/$lang/edit-config.tmpl"
+               fi
+
+               if test -f templates/$lang/header.tmpl.in; then
+                       LANGFILES="$LANGFILES templates/$lang/header.tmpl"
+               fi
+       done
+fi
+
+AC_SUBST(INSTALL_LANGUAGES)
+AC_SUBST(UNINSTALL_LANGUAGES)
 
-AC_OUTPUT(Makedefs packaging/cups.list init/cups.sh cups-config
-          conf/cupsd.conf conf/pam.std doc/index.html
-         doc/help/standard.html templates/edit-config.tmpl
-         templates/header.tmpl)
+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
+         $LANGFILES)
 
 chmod +x cups-config
 
 dnl
-dnl End of "$Id: configure.in 5008 2006-01-27 19:30:34Z mike $".
+dnl End of "$Id: configure.in 6291 2007-02-19 21:54:27Z mike $".
 dnl