aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-12-24 15:19:44 -0500
committerTheodore Ts'o <tytso@mit.edu>2010-12-24 15:19:44 -0500
commit8d9c50c5570c2c87a99fb68389cebdc782433f82 (patch)
tree3fafba20d66e0ab7abd61d34faea1fefc6f65aab /configure
parentb07f014face2e2aa0abf8a3266fd716152cd0cd4 (diff)
downloade2fsprogs-8d9c50c5570c2c87a99fb68389cebdc782433f82.tar.gz
e2fsprogs-8d9c50c5570c2c87a99fb68389cebdc782433f82.tar.xz
e2fsprogs-8d9c50c5570c2c87a99fb68389cebdc782433f82.zip
configure: control whether e4defrag is built/installed via --disable-defrag
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 24 insertions, 0 deletions
diff --git a/configure b/configure
index 2f5515aa..6dccb3ce 100755
--- a/configure
+++ b/configure
@@ -673,6 +673,7 @@ E2INITRD_MAN
E2INITRD_PROG
FSCK_MAN
FSCK_PROG
+DEFRAG_CMT
RESIZER_CMT
IMAGER_CMT
DEBUGFS_CMT
@@ -803,6 +804,7 @@ enable_libblkid
enable_debugfs
enable_imager
enable_resizer
+enable_defrag
enable_fsck
enable_e2initrd_helper
enable_tls
@@ -1454,6 +1456,7 @@ Optional Features:
--disable-debugfs disable support of debugfs program
--disable-imager disable support of e2image program
--disable-resizer disable support of e2resize program
+ --disable-defrag disable support of e4defrag program
--enable-fsck build fsck wrapper program
--enable-e2initrd-helper build e2initrd-helper program
--disable-tls disable use of thread local support
@@ -5396,6 +5399,27 @@ RESIZER_CMT=
fi
+# Check whether --enable-defrag was given.
+if test "${enable_defrag+set}" = set; then :
+ enableval=$enable_defrag; if test "$enableval" = "no"
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support" >&5
+$as_echo "Disabling e4defrag support" >&6; }
+ DEFRAG_CMT="#"
+else
+ DEFRAG_CMT=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support" >&5
+$as_echo "Enabling e4defrag support" >&6; }
+fi
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support by default" >&5
+$as_echo "Enabling e4defrag support by default" >&6; }
+DEFRAG_CMT=
+
+fi
+
+
# Check whether --enable-fsck was given.
if test "${enable_fsck+set}" = set; then :
enableval=$enable_fsck; if test "$enableval" = "no"