Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d983c88

Browse files
committedMar 8, 2025
configure.ac: Make libcap optional
1 parent 459b306 commit d983c88

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎configure.ac

+1-3
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,7 @@ AS_IF([test x$have_check = x], [
522522
])
523523

524524
PKG_CHECK_MODULES([CAP], [libcap], [have_libcap=1], [have_libcap=])
525-
AS_IF([test x$have_libcap = x], [
526-
AC_MSG_ERROR([libcap is missing])
527-
], [
525+
AS_IF([test x$have_libcap = x], [], [
528526
AC_CHECK_HEADERS([sys/capability.h],,AC_MSG_ERROR([Could not find sys/capability.h headers]))
529527
])
530528
AC_PATH_PROG([SETCAP], [setcap], [false])

0 commit comments

Comments
 (0)
Please sign in to comment.