Commit 4f71cae rename setcap to capset in m4/ltp-cap.m4, this is wrong. Commit 183c6e4 rename HAVE_SETCAP to CAPSET in in m4/ltp-cap.m4, this also is wrong. so CAPSET should be replaced with SETCAP m4/ltp-cap.m4.
Signed-off-by: Peng Haitao <[email protected]> --- include/mk/features.mk.default | 4 ++-- include/mk/features.mk.in | 4 ++-- m4/ltp-cap.m4 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/mk/features.mk.default b/include/mk/features.mk.default index 53ea30c..8600015 100644 --- a/include/mk/features.mk.default +++ b/include/mk/features.mk.default @@ -20,8 +20,8 @@ # Garrett Cooper, October 2010 # -# Path to capset program -CAPSET := +# Path to setcap program +SETCAP := # Tools enable knobs WITH_EXPECT := no diff --git a/include/mk/features.mk.in b/include/mk/features.mk.in index 3472159..c9162e5 100644 --- a/include/mk/features.mk.in +++ b/include/mk/features.mk.in @@ -20,8 +20,8 @@ # Garrett Cooper, October 2010 # -# Path to capset program -CAPSET := @CAPSET@ +# Path to setcap program +SETCAP := @SETCAP@ # Tools enable knobs WITH_EXPECT := @WITH_EXPECT@ diff --git a/m4/ltp-cap.m4 b/m4/ltp-cap.m4 index 410417e..953ea50 100644 --- a/m4/ltp-cap.m4 +++ b/m4/ltp-cap.m4 @@ -29,7 +29,7 @@ AH_TEMPLATE(HAVE_LIBCAP, AC_CHECK_HEADERS([sys/capability.h],[capability_header_prefix="sys"]) if test "x$capability_header_prefix" != x; then AC_CHECK_LIB(cap,cap_compare,[cap_libs="-lcap"]) - AC_CHECK_PROG(CAPSET,capset,capset) + AC_CHECK_PROG(SETCAP,setcap,setcap) fi if test "x$cap_libs" != x; then AC_DEFINE(HAVE_LIBCAP) -- 1.7.1 -- Best Regards, Peng ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
