From: Ruediger Meier Date: Mon, 8 Feb 2016 14:32:26 +0000 (+0100) Subject: build-sys: add --disable-ipcrm --disable-ipcs X-Git-Tag: v2.28-rc1~64^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42a4a152500fe507ed3eff491555d5ce1f2f6c08;p=thirdparty%2Futil-linux.git build-sys: add --disable-ipcrm --disable-ipcs ipcs's source history looks like some people are using it on BSD but it won't build on most non-Linux systems. That's why it's nice let "./configure --disable-ipcrm --disable-ipcs" work. Signed-off-by: Ruediger Meier --- diff --git a/configure.ac b/configure.ac index ed61706efd..a5f878e689 100644 --- a/configure.ac +++ b/configure.ac @@ -1420,10 +1420,18 @@ AM_CONDITIONAL([BUILD_FLOCK], [test "x$build_flock" = xyes]) UL_BUILD_INIT([ipcmk], [yes]) AM_CONDITIONAL([BUILD_IPCMK], [test "x$build_ipcmk" = xyes]) -UL_BUILD_INIT([ipcrm], [yes]) +AC_ARG_ENABLE([ipcrm], + AS_HELP_STRING([--disable-ipcrm], [do not build ipcrm]), + [], [UL_DEFAULT_ENABLE([ipcrm], [yes])] +) +UL_BUILD_INIT([ipcrm]) AM_CONDITIONAL([BUILD_IPCRM], [test "x$build_ipcrm" = xyes]) -UL_BUILD_INIT([ipcs], [yes]) +AC_ARG_ENABLE([ipcs], + AS_HELP_STRING([--disable-ipcs], [do not build ipcs]), + [], [UL_DEFAULT_ENABLE([ipcs], [yes])] +) +UL_BUILD_INIT([ipcs]) AM_CONDITIONAL([BUILD_IPCS], [test "x$build_ipcs" = xyes]) UL_BUILD_INIT([lsipc], [check])