summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--wsd/LOOLWSD.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c29f10e086..725f137254 100644
--- a/configure.ac
+++ b/configure.ac
@@ -601,6 +601,7 @@ AC_SUBST(MAX_DOCUMENTS)
ENABLE_WELCOME_MESSAGE=false
AS_IF([test "$enable_welcome_message" = "yes"],
[ENABLE_WELCOME_MESSAGE="true"])
+AC_DEFINE_UNQUOTED([ENABLE_WELCOME_MESSAGE],["$ENABLE_WELCOME_MESSAGE"],[Should the Release notes message on startup should be enabled be default?])
AC_SUBST(ENABLE_WELCOME_MESSAGE)
VEREIGN_URL=
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index a8bfd4ad11..e40ec7a47a 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -937,7 +937,7 @@ void LOOLWSD::initialize(Application& self)
{ "trace.path[@compress]", "true" },
{ "trace.path[@snapshot]", "false" },
{ "trace[@enable]", "false" },
- { "welcome.enable", "true" },
+ { "welcome.enable", ENABLE_WELCOME_MESSAGE },
{ "welcome.path", "loleaflet/welcome" }
};