From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-716491-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 5DBCD1393DD
	for <garchives@archives.gentoo.org>; Wed, 30 Jul 2014 16:32:25 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3086AE084B;
	Wed, 30 Jul 2014 16:32:24 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BFDC8E084B
	for <gentoo-commits@lists.gentoo.org>; Wed, 30 Jul 2014 16:32:23 +0000 (UTC)
Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 779BD34016F
	for <gentoo-commits@lists.gentoo.org>; Wed, 30 Jul 2014 16:32:22 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by spoonbill.gentoo.org (Postfix) with ESMTP id 134D1187B4
	for <gentoo-commits@lists.gentoo.org>; Wed, 30 Jul 2014 16:32:21 +0000 (UTC)
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" <blueness@gentoo.org>
Message-ID: <1406737947.414cfa1770a8cfc46308149deecf9c0eef60a5bb.blueness@gentoo>
Subject: [gentoo-commits] proj/elfix:master commit in: /
X-VCS-Repository: proj/elfix
X-VCS-Files: configure.ac
X-VCS-Directories: /
X-VCS-Committer: blueness
X-VCS-Committer-Name: Anthony G. Basile
X-VCS-Revision: 414cfa1770a8cfc46308149deecf9c0eef60a5bb
X-VCS-Branch: master
Date: Wed, 30 Jul 2014 16:32:21 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 898546de-bcad-4844-867e-8c629d94a00c
X-Archives-Hash: f0eb17493ecaba65c11b7f03f8ccc9c9
Message-ID: <20140730163221.Q2Sp0dJhCtySpFnpkFvgfV9yDuRAApBzEmb87NPxwXw@z>

commit:     414cfa1770a8cfc46308149deecf9c0eef60a5bb
Author:     Maxim Kammerer <mk <AT> dee <DOT> su>
AuthorDate: Wed Jul 30 04:52:08 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Jul 30 16:32:27 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=414cfa17

configure.ac: Build fix-gnustack conditionally on --enable-ptpax

X-Gentoo-Bug: 518524
X-Gentoo-Bug-URL: https://bugs.gentoo.org/518524

---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 865cbaf..de0cc22 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,6 @@ AC_CHECK_HEADERS(
 
 # Checks for DECLs.
 AC_CHECK_DECL([ELF_C_RDWR_MMAP],[],[],[[#include <libelf.h>]])
-AM_CONDITIONAL([BUILD_ELF],[test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"])
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_TYPE_PID_T
@@ -107,6 +106,8 @@ AS_IF(
 	]
 )
 
+AM_CONDITIONAL([BUILD_ELF],[test "x$enable_ptpax" = "xyes" && test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"])
+
 AC_ARG_ENABLE(
 	[xtpax],
 	AS_HELP_STRING(