diff --git a/configure.ac b/configure.ac index d75637c44b..a8fd10a102 100644 --- a/configure.ac +++ b/configure.ac @@ -36,12 +36,12 @@ AC_SUBST(DOMJUDGE_VERSION, $PACKAGE_VERSION) AC_DEFINE_UNQUOTED(DOMJUDGE_VERSION, "$PACKAGE_VERSION", [DOMjudge version number (alias for PACKAGE_VERSION)]) -AC_SUBST(DOMSERVER_BUILD_ENABLED,yes) +AC_SUBST(DOMSERVER_BUILD_ENABLED,no) AC_ARG_ENABLE([domserver-build],AS_HELP_STRING([--enable-domserver-build], [configure and build the domserver (default: yes).]), [if test "x$enableval" = xno ; then AC_SUBST(DOMSERVER_BUILD_ENABLED,no) fi]) -AC_SUBST(JUDGEHOST_BUILD_ENABLED,yes) +AC_SUBST(JUDGEHOST_BUILD_ENABLED,no) AC_ARG_ENABLE([judgehost-build],AS_HELP_STRING([--enable-judgehost-build], [configure and build the judgehost (default: yes).]), [if test "x$enableval" = xno ; then AC_SUBST(JUDGEHOST_BUILD_ENABLED,no) fi]) @@ -395,6 +395,12 @@ if test "x$BASEURL_UNCONFIGURED" = x1 ; then echo "Rerun configure with option '--with-baseurl=BASEURL' to correct this." echo "" fi +if test "x$JUDGEHOST_BUILD_ENABLED" = xno && test "x$DOMSERVER_BUILD_ENABLED" = xno ; then + echo "Warning: neither --enable-domserver-build nor --enable-judgehost-build provided." + echo "You probably want to rerun with either one (or both). This behaviour has changed" + echo "in DOMjudge 9.0." + echo "" +fi fi # !QUIET # }}} diff --git a/doc/manual/install-domserver.rst b/doc/manual/install-domserver.rst index f6a4eb2e18..e19ad66567 100644 --- a/doc/manual/install-domserver.rst +++ b/doc/manual/install-domserver.rst @@ -65,7 +65,7 @@ After installing the required software as described above, run configure. In this example to install DOMjudge in the directory ``domjudge`` under `/opt`:: - ./configure --prefix=/opt/domjudge + ./configure --enable-domserver-build --prefix=/opt/domjudge make domserver sudo make install-domserver diff --git a/doc/manual/install-judgehost.rst b/doc/manual/install-judgehost.rst index 0b1f63301e..6baf0eda51 100644 --- a/doc/manual/install-judgehost.rst +++ b/doc/manual/install-judgehost.rst @@ -66,7 +66,7 @@ for instructions to build from git sources. After installing the software listed above, run configure. In this example to install DOMjudge in the directory ``domjudge`` under `/opt`:: - ./configure --prefix=/opt/domjudge + ./configure --enable-judgehost-build --prefix=/opt/domjudge make judgehost sudo make install-judgehost diff --git a/doc/manual/quick-install.rst b/doc/manual/quick-install.rst index dfc59ffb32..1b7c09cd99 100644 --- a/doc/manual/quick-install.rst +++ b/doc/manual/quick-install.rst @@ -15,7 +15,7 @@ DOMserver * Make sure PHP works for the web server and command line scripts. * Extract the `source tarball `_ and run - ``./configure --with-baseurl= && make domserver``. + ``./configure --enable-domserver-build --with-baseurl= && make domserver``. * Run ``sudo make install-domserver`` to install the system. * Install the MySQL database using e.g. @@ -53,7 +53,7 @@ DOMserver Judgehosts ---------- * Extract the `source tarball `_ and run - ``./configure --with-baseurl= && make judgehost``. + ``./configure --enable-judgehost-build --with-baseurl= && make judgehost``. * Run ``sudo make install-judgehost`` to install the system. * Create one or more unprivileged users: