diff options
author | Lucian Cristian <lucian.cristian@gmail.com> | 2019-09-13 06:16:18 +0200 |
---|---|---|
committer | Lucian Cristian <lucian.cristian@gmail.com> | 2019-09-13 06:16:18 +0200 |
commit | 2cd3abe419dab2ee32227c0870f96f805d870fe6 (patch) | |
tree | 5bf32b78f9eaaa151c9825a243da1107d8c35053 /configure.ac | |
parent | clippy: CARES fail only if !enable_clippy_only (diff) | |
download | frr-2cd3abe419dab2ee32227c0870f96f805d870fe6.tar.xz frr-2cd3abe419dab2ee32227c0870f96f805d870fe6.zip |
clippy: fail libcap test only when !enable_clippy_only
when building native clippy we don't need libcap
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9f37b3e9a..be3a9c763 100755 --- a/configure.ac +++ b/configure.ac @@ -2043,9 +2043,11 @@ if test "${enable_capabilities}" != "no"; then case "$host_os" in linux*) + if test "${enable_clippy_only}" != "yes"; then if test "$frr_ac_lcaps" != "yes"; then AC_MSG_ERROR([libcap and/or its headers were not found. Running FRR without libcap support built in causes a huge performance penalty.]) fi + fi ;; esac else |