diff --git a/build/moz.configure/old.configure b/build/moz.configure/old.configure index 1245238fe5bd..dd159d04aee5 100644 --- a/build/moz.configure/old.configure +++ b/build/moz.configure/old.configure @@ -91,7 +91,6 @@ def old_configure_options(*options): @old_configure_options( "--cache-file", "--datadir", - "--enable-negotiateauth", "--enable-official-branding", "--enable-parental-controls", "--enable-sandbox", diff --git a/old-configure.in b/old-configure.in index c22af461980e..3cc7fac5cbd9 100644 --- a/old-configure.in +++ b/old-configure.in @@ -1214,7 +1214,6 @@ MOZ_ARG_HEADER(Application) ENABLE_SYSTEM_EXTENSION_DIRS=1 MOZ_BRANDING_DIRECTORY= MOZ_OFFICIAL_BRANDING= -MOZ_AUTH_EXTENSION=1 MOZ_UNIVERSALCHARDET=1 MOZ_ZIPWRITER=1 MOZ_NO_SMART_CARDS= @@ -1389,18 +1388,6 @@ if test -n "$MOZ_APPLEMEDIA"; then fi fi # COMPILE_ENVIRONMENT -dnl ======================================================== -dnl NegotiateAuth -dnl ======================================================== - -MOZ_ARG_DISABLE_BOOL(negotiateauth, -[ --disable-negotiateauth Disable GSS-API negotiation ], - MOZ_AUTH_EXTENSION=, - MOZ_AUTH_EXTENSION=1 ) -if test "$MOZ_AUTH_EXTENSION"; then - AC_DEFINE(MOZ_AUTH_EXTENSION) -fi - dnl ======================================================== dnl Searching of system directories for extensions. dnl Note: this switch is meant to be used for test builds @@ -1866,7 +1853,6 @@ dnl = dnl ======================================================== AC_SUBST_LIST(ASFLAGS) -AC_SUBST(MOZ_AUTH_EXTENSION) AC_SUBST_LIST(MOZ_DEBUG_LDFLAGS) AC_SUBST_LIST(WARNINGS_CFLAGS) diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 4aa3c0514e74..aa86dd7c98af 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -2762,3 +2762,11 @@ option( ) set_define("NS_BUILD_REFCNT_LOGGING", True, when="--enable-logrefcnt") + + +# NegotiateAuth +# ============================================================== +option("--disable-negotiateauth", help="Disable GSS-API negotiation") + +set_config("MOZ_AUTH_EXTENSION", True, when="--enable-negotiateauth") +set_define("MOZ_AUTH_EXTENSION", True, when="--enable-negotiateauth")