mirror of https://github.com/xzeldon/htop.git
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:
parent
11b65a2861
commit
284f8c5e0b
|
@ -472,7 +472,7 @@ AC_ARG_ENABLE([vserver],
|
||||||
[],
|
[],
|
||||||
[enable_vserver=no])
|
[enable_vserver=no])
|
||||||
if test "x$enable_vserver" = xyes; then
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -482,8 +482,11 @@ 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
|
||||||
AC_DEFINE([HAVE_VSERVER], [1], [Define if VServer support enabled.])
|
if test "x$enable_vserver" != xyes; then
|
||||||
AC_DEFINE([HAVE_ANCIENT_VSERVER], [1], [Define if ancient vserver support enabled.])
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue