From 284f8c5e0b57bce3f4b595c11142672ea0b76989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Thu, 2 Sep 2021 22:32:46 +0200 Subject: [PATCH] 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. --- configure.ac | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 32e89cf4..f056f413 100644 --- a/configure.ac +++ b/configure.ac @@ -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