From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E7C01396D0 for ; Mon, 18 Sep 2017 09:27:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B62CD1FC05D; Mon, 18 Sep 2017 09:27:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93E361FC017 for ; Mon, 18 Sep 2017 09:27:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C4AE33FE7D for ; Mon, 18 Sep 2017 09:27:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5BA8907D for ; Mon, 18 Sep 2017 09:27:14 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1505726702.8b242e9fde2fa6fdccaa31b3c99f92e04fe2bcd3.grobian@gentoo> Subject: [gentoo-commits] proj/pax-utils:master commit in: / X-VCS-Repository: proj/pax-utils X-VCS-Files: configure.ac porting.h X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 8b242e9fde2fa6fdccaa31b3c99f92e04fe2bcd3 X-VCS-Branch: master Date: Mon, 18 Sep 2017 09:27:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 558ebb14-9404-4241-859c-6eac6ffaffdc X-Archives-Hash: b38c3228b6e3f629205dc2ac76c3f837 commit: 8b242e9fde2fa6fdccaa31b3c99f92e04fe2bcd3 Author: Michael Haubenwallner ssi-schaefer com> AuthorDate: Tue Apr 18 14:18:01 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Sep 18 09:25:02 2017 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=8b242e9f check for linux/securebits.h, missing on Linux 2.6.32 Signed-off-by: Fabian Groffen gentoo.org> configure.ac | 2 ++ porting.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3b4de91..a22e11a 100644 --- a/configure.ac +++ b/configure.ac @@ -62,6 +62,8 @@ m4_foreach_w([flag], [ AX_CHECK_COMPILE_FLAG(flag, AS_VAR_APPEND([CFLAGS], " flag")) ]) +AC_CHECK_HEADERS([linux/securebits.h]) + AC_CONFIG_FILES([ Makefile autotools/gnulib/Makefile diff --git a/porting.h b/porting.h index 1c04337..636e862 100644 --- a/porting.h +++ b/porting.h @@ -46,7 +46,9 @@ #endif #if defined(__linux__) # include -# include +# if !defined(HAVE_CONFIG_H) || defined(HAVE_LINUX_SECUREBITS_H) +# include +# endif #endif #if defined(__GLIBC__) || defined(__UCLIBC__) || defined(__ANDROID__) # include