From: Michal Rakowski Date: Tue, 21 Dec 2021 10:55:48 +0000 (+0100) Subject: add 'LIBCAP support' log in configure X-Git-Tag: Beta-15.0.0~703 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ac39695f848155cf4b5947becee8a7c6d10d01;p=thirdparty%2Fbacula.git add 'LIBCAP support' log in configure --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index e47c71ae6..a96bd32a9 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -3705,8 +3705,10 @@ dnl AC_CHECK_HEADERS(sys/prctl.h sys/capability.h) AC_CHECK_FUNCS(prctl setreuid) AC_CHECK_LIB([cap], [cap_set_proc], [CAP_LIBS="-lcap"], [CAP_LIBS=]) +have_libcap="no" if test x$CAP_LIBS = x-lcap; then AC_DEFINE(HAVE_LIBCAP, 1, [Define if you have libcap]) + have_libcap="yes" fi AC_SUBST(CAP_LIBS) @@ -4373,6 +4375,8 @@ Configuration on `date`: ZLIB support: ${have_zlib} LZO support: ${have_lzo} S3 support: ${have_libs3} + LIBCAP support: ${have_libcap} + ZSTD support: ${support_zstd} enable-smartalloc: ${support_smartalloc} enable-lockmgr: ${support_lockmgr} bat support: ${support_bat}