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

View File

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