From 48469f9086b07f0c0c7c19996d78595045ac88cb Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 17 Apr 2013 17:35:47 +0200 Subject: fdisks: fix compiler warning Signed-off-by: Karel Zak --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f7adecb7d..afe0413df 100644 --- a/configure.ac +++ b/configure.ac @@ -183,6 +183,7 @@ AC_CHECK_HEADERS([ \ linux/raw.h \ linux/tiocl.h \ linux/version.h \ + linux/securebits.h \ locale.h \ mntent.h \ net/if.h \ @@ -225,6 +226,7 @@ AC_CHECK_HEADERS([langinfo.h], dnl Convert some ac_cv_header_* variables to have_* dnl have_linux_raw_h=$ac_cv_header_linux_raw_h +have_linux_securebits_h=$ac_cv_header_linux_securebits_h have_linux_watchdog_h=$ac_cv_header_linux_watchdog_h have_security_pam_misc_h=$ac_cv_header_security_pam_misc_h @@ -926,6 +928,7 @@ AC_ARG_ENABLE([setpriv], ) UL_BUILD_INIT([setpriv]) UL_REQUIRES_LINUX([setpriv]) +UL_REQUIRES_HAVE([setpriv], [linux_securebits_h], [securebits.h header file]) UL_REQUIRES_HAVE([setpriv], [cap_ng], [libcap-ng]) AM_CONDITIONAL(BUILD_SETPRIV, test "x$build_setpriv" = xyes) -- cgit v1.2.3-55-g7522