X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=configure.ac;h=7d92107403871be39f4c9a7f1a8a913768d33d58;hb=7b8253ba09e635d328a48c98a184b571b809911b;hp=4c3f3333038b43afdbc066bb631de90c9dde67e2;hpb=1dd48bc23c3776df76459aff0c7723fff850ea45;p=tools%2Fe2fsprogs.git diff --git a/configure.ac b/configure.ac index 4c3f333..7d92107 100644 --- a/configure.ac +++ b/configure.ac @@ -439,6 +439,27 @@ TEST_IO_CMT= ) AC_SUBST(TEST_IO_CMT) dnl +dnl handle --enable-developer-features +dnl +AC_ARG_ENABLE([developer-features], +[ --enable-developer-features enable features for use by ext4 developers], +AH_TEMPLATE([CONFIG_DEVELOPER_FEATURES], + [Define to 1 for features for use by ext4 developers]) +if test "$enableval" = "yes" +then + DEV_FEATURES_CMT= + AC_DEFINE(CONFIG_DEVELOPER_FEATURES, 1) + AC_MSG_RESULT([Enabling ext4 developer features]) +else + AC_MSG_RESULT([Disabling ext4 developer features]) + DEV_FEATURES_CMT="#" +fi +, +AC_MSG_RESULT([Disabling ext4 developer features by default]) +DEV_FEATURES_CMT= +) +AC_SUBST(DEV_FEATURES_CMT) +dnl dnl handle --disable-libuuid dnl PKG_PROG_PKG_CONFIG