Skip to content

Commit

Permalink
configure.ac: Fix --without-caps option
Browse files Browse the repository at this point in the history
irqbalance links to libcap-ng if it is installed, even when useflag
caps is disabled. This is an error in the configure-script, which
checks for the wrong variable to determine if the user used --with/
--without for libcap-ng.

Downstream bug report: https://bugs.gentoo.org/660782

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
  • Loading branch information
2Kmm authored and Lars Wendler committed Jul 9, 2018
1 parent 16314fd commit 8ad74cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -65,7 +65,7 @@ AC_ARG_WITH([libcap-ng],
AS_HELP_STRING([libcap-ng], [Add libcap-ng-support @<:@default=auto@:>@]))

AS_IF(
[test "x$libcap_ng" != "xno"],
[test "x$with_libcap_ng" != "xno"],
[
PKG_CHECK_MODULES([LIBCAP_NG], [libcap-ng],
[AC_DEFINE(HAVE_LIBCAP_NG,1,[libcap-ng support])],
Expand Down

0 comments on commit 8ad74cd

Please sign in to comment.