Skip to content

Commit

Permalink
Don't output what is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Vasseur committed Nov 20, 2023
1 parent 1369cef commit 33bd117
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,18 @@ echo ""
echo "Summary:"
echo " * project.............: $PACKAGE_NAME $PACKAGE_VERSION"
echo " * prefix..............: $prefix"
if test "x$ENABLE_JUDGEHOST" = xyes; then
echo " * CPPFLAGS............: $CPPFLAGS"
echo " * CFLAGS..............: $CFLAGS"
echo " * CXXFLAGS............: $CXXFLAGS"
echo " * LDFLAGS.............: $LDFLAGS"
fi
echo ""
echo " * default user........: $DOMJUDGE_USER"
if test "x$ENABLE_JUDGEHOST" = xyes; then
echo " * runguard user.......: $RUNUSER"
echo " * runguard group......: $RUNGROUP"
fi
if test "x$ENABLE_DOMSERVER" = xyes; then
echo " * webserver group.....: $WEBSERVER_GROUP"
fi
Expand All @@ -395,6 +399,7 @@ echo " - tmp..............: AX_VAR_EXPAND($domserver_tmpdir)"
echo " - webapp...........: AX_VAR_EXPAND($domserver_webappdir)"
echo " - example_problems.: AX_VAR_EXPAND($domserver_exampleprobdir)"
fi
if test "x$ENABLE_JUDGEHOST" = xyes; then
echo ""
echo " * judgehost...........: AX_VAR_EXPAND($judgehost_root)"
echo " - bin..............: AX_VAR_EXPAND($judgehost_bindir)"
Expand All @@ -407,6 +412,7 @@ echo " - tmp..............: AX_VAR_EXPAND($judgehost_tmpdir)"
echo " - judge............: AX_VAR_EXPAND($judgehost_judgedir)"
echo " - chroot...........: AX_VAR_EXPAND($judgehost_chrootdir)"
echo " - cgroup...........: AX_VAR_EXPAND($judgehost_cgroupdir)"
fi
echo ""
echo " * systemd unit files..: AX_VAR_EXPAND($systemd_unitdir)"
echo ""
Expand Down

0 comments on commit 33bd117

Please sign in to comment.