Kaydet (Commit) 0d7baf34 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused --with-help=common

...see mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2018-April/080050.html>
"Anybody using --with-help=common?".  Instead, make configure fail for unknown
--with-help=... arguments.

Change-Id: I51b8b9087a88ff3a3681453cdc830aa7e499e8df
Reviewed-on: https://gerrit.libreoffice.org/53793Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 247dabcb
......@@ -1939,8 +1939,6 @@ AC_ARG_WITH(help,
--without-help no local help (default)
--with-help=html build the new HTML local help
--with-help=online build the new HTML online help
--with-help=common bundle common files for the local
help but do not build the whole help
],
,)
......@@ -4710,9 +4708,6 @@ if test -n "$with_help" -a "$with_help" != "no" -a $_os != iOS -a $_os != Androi
BUILD_TYPE="$BUILD_TYPE HELP"
GIT_NEEDED_SUBMODULES="helpcontent2 $GIT_NEEDED_SUBMODULES"
case "$with_help" in
"common")
AC_MSG_RESULT([common only])
;;
"html")
ENABLE_HTMLHELP=TRUE
SCPDEFS="$SCPDEFS -DWITH_HELP"
......@@ -4723,10 +4718,13 @@ if test -n "$with_help" -a "$with_help" != "no" -a $_os != iOS -a $_os != Androi
HELP_ONLINE=TRUE
AC_MSG_RESULT([HTML])
;;
*)
yes)
SCPDEFS="$SCPDEFS -DWITH_HELP"
AC_MSG_RESULT([yes])
;;
*)
AC_MSG_ERROR([Unknown --with-help=$with_help])
;;
esac
else
AC_MSG_RESULT([no])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment