From 45c59cf18220485f7999ab988c5b10fad385298d Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 18 Jun 2018 11:35:59 +0200 Subject: Add configure switch to disable compiling/installing lsmtd Signed-off-by: David Oberhollenzer --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c05d362..c596eda 100644 --- a/configure.ac +++ b/configure.ac @@ -106,6 +106,16 @@ AM_COND_IF([INSTALL_TESTS], [AC_SUBST(testbindir, ["\".\""])]) +AC_ARG_ENABLE([lsmtd], + [AS_HELP_STRING([--disable-lsmtd], [Do not build the lsmtd program])], + [case "${enableval}" in + yes) AM_CONDITIONAL([BUILD_LSMTD], [true]) ;; + no) AM_CONDITIONAL([BUILD_LSMTD], [false]) ;; + *) AC_MSG_ERROR([bad value ${enableval} for --disable-lsmtd]) ;; + esac], + [AM_CONDITIONAL([BUILD_LSMTD], [true])]) + + AC_ARG_WITH([jffs], [AS_HELP_STRING([--without-jffs], [Disable jffsX utilities])], [case "${withval}" in -- cgit v1.2.3