Index: conf/cupsd.conf.in
===================================================================
--- conf/cupsd.conf.in (revision 9395)
+++ conf/cupsd.conf.in (working copy)
@@ -26,6 +26,9 @@
# Default authentication type, when authentication is required...
DefaultAuthType Basic
+# Web interface setting...
+WebInterface @CUPS_WEBIF@
+
# Restrict access to the server...
Order allow,deny
Index: config-scripts/cups-defaults.m4
===================================================================
--- config-scripts/cups-defaults.m4 (revision 9395)
+++ config-scripts/cups-defaults.m4 (working copy)
@@ -470,6 +470,26 @@
AC_SUBST(FONTS)
+dnl Web interface...
+AC_ARG_ENABLE(webif, [ --enable-webif Enable the web interface by default, default=no for Mac OS X])
+case "x$enable_webif" in
+ xno)
+ CUPS_WEBIF=No
+ ;;
+ xyes)
+ CUPS_WEBIF=Yes
+ ;;
+ *)
+ if test $uname = Darwin; then
+ CUPS_WEBIF=No
+ else
+ CUPS_WEBIF=Yes
+ fi
+ ;;
+esac
+
+AC_SUBST(CUPS_WEBIF)
+
dnl
dnl End of "$Id$".
dnl
Index: doc/help/ref-cupsd-conf.html.in
===================================================================
--- doc/help/ref-cupsd-conf.html.in (revision 9395)
+++ doc/help/ref-cupsd-conf.html.in (working copy)
@@ -3180,5 +3180,18 @@
+
+
+Examples
+
+
+WebInterface yes
+WebInterface no
+
+
+Description
+
+The WebInterface
directive specifies whether the web interface is enabled. The default value is no
.
+