configure: output vserver as implied if ancient-vserver is enabled

The build time configuration ancient-vserver implies the configuration
vserver; say so in the configure status report if only ancient-vserver
has been specified.

Also indent with 3 spaces.
This commit is contained in:
Christian Göttsche 2021-09-02 22:32:46 +02:00 committed by BenBE
parent 11b65a2861
commit 284f8c5e0b
1 changed files with 6 additions and 3 deletions

View File

@ -482,6 +482,9 @@ AC_ARG_ENABLE([ancient_vserver],
[], [],
[enable_ancient_vserver=no]) [enable_ancient_vserver=no])
if test "x$enable_ancient_vserver" = xyes; then if test "x$enable_ancient_vserver" = xyes; then
if test "x$enable_vserver" != xyes; then
enable_vserver=implied
fi
AC_DEFINE([HAVE_VSERVER], [1], [Define if VServer support enabled.]) AC_DEFINE([HAVE_VSERVER], [1], [Define if VServer support enabled.])
AC_DEFINE([HAVE_ANCIENT_VSERVER], [1], [Define if ancient vserver support enabled.]) AC_DEFINE([HAVE_ANCIENT_VSERVER], [1], [Define if ancient vserver support enabled.])
fi fi