From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EC78713888F for ; Sat, 24 Oct 2015 18:33:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80DC1E07BA; Sat, 24 Oct 2015 18:33:36 +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 22321E07BA for ; Sat, 24 Oct 2015 18:33:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E2FB340A7B for ; Sat, 24 Oct 2015 18:33:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 86F9F17CB for ; Sat, 24 Oct 2015 18:33:32 +0000 (UTC) From: "Anthony G. Basile" 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" Message-ID: <1445711987.d13a3415215e058337124be2bb4948dc595e6517.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:elfix-0.9.x 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: d13a3415215e058337124be2bb4948dc595e6517 X-VCS-Branch: elfix-0.9.x Date: Sat, 24 Oct 2015 18:33:32 +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: 79d1d4b7-51ae-4ad1-b5b6-a7746f61fb35 X-Archives-Hash: 8b52b03027ee268d509b092292dca48a commit: d13a3415215e058337124be2bb4948dc595e6517 Author: Anthony G. Basile gentoo org> AuthorDate: Sat Oct 24 18:36:56 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Oct 24 18:39:47 2015 +0000 URL: https://gitweb.gentoo.org/proj/elfix.git/commit/?id=d13a3415 configure.ac: check for only if ptpax is enabled. Reported-by: Jory Pratt gentoo.org> configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c05855d..03e7c00 100644 --- a/configure.ac +++ b/configure.ac @@ -34,7 +34,7 @@ AC_PROG_SED # Checks for header files. AC_CHECK_HEADERS( - [errno.h err.h fcntl.h gelf.h libgen.h stdio.h stdlib.h string.h \ + [errno.h err.h fcntl.h libgen.h stdio.h stdlib.h string.h \ sys/mman.h sys/stat.h sys/types.h unistd.h], [], [AC_MSG_ERROR(["Missing necessary header"])] @@ -73,6 +73,11 @@ AC_ARG_ENABLE( AS_IF( [test "x$enable_ptpax" != "xno"], [ + AC_CHECK_HEADERS( + [gelf.h], + [], + [AC_MSG_ERROR(["Missing necessary gelf.h"])] + ) AC_CHECK_LIB( [elf], [elf_begin],