From: Filippo Giunchedi Date: Thu, 2 Jul 2009 13:42:18 +0000 (+0200) Subject: Include /sbin in PATH for setcap X-Git-Tag: lxc_0_6_3~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e90b69740e009ba96f6fbf4b7cb40e6f9a14e243;p=thirdparty%2Flxc.git Include /sbin in PATH for setcap Rationale: some distributions don't include /sbin in PATH for regular users, thus setcap might not be found during configure Signed-off-by: Filippo Giunchedi Signed-off-by: Daniel Lezcano --- diff --git a/configure.ac b/configure.ac index 19c980861..637049277 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ AC_CANONICAL_HOST AM_PROG_CC_C_O AC_GNU_SOURCE AC_PROG_LIBTOOL -AC_CHECK_PROG(SETCAP, setcap, yes, no) +AC_CHECK_PROG(SETCAP, setcap, yes, no, $PATH$PATH_SEPARATOR/sbin) AC_CHECK_PROG(DOCBOOK, docbook2man, yes, no) AM_CONDITIONAL(ENABLE_DOCBOOK, test x$DOCBOOK = xyes) AS_AC_EXPAND(PREFIX, $prefix)