mke2fs: remove quota docs if not configured in
If quota isn't turned on with --enable-quota, then comment
quota documentation out of the mke2fs manpage.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
diff --git a/configure b/configure
index 4c47f7a..afe381f 100755
--- a/configure
+++ b/configure
@@ -715,6 +715,7 @@
STATIC_LIBQUOTA
DEPLIBQUOTA
LIBQUOTA
+QUOTA_MAN_COMMENT
BLKID_CMT
DEPPROFILED_LIBBLKID
PROFILED_LIBBLKID
@@ -5185,6 +5186,8 @@
+QUOTA_MAN_COMMENT='.\"'
+
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
@@ -5313,6 +5316,8 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling quota support" >&5
$as_echo "Enabling quota support" >&6; }
+ QUOTA_MAN_COMMENT=""
+
fi
else