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 2785C13877A for ; Wed, 30 Jul 2014 19:39:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E634E086E; Wed, 30 Jul 2014 19:39:25 +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 F0CD0E086E for ; Wed, 30 Jul 2014 19:39:24 +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 226D33401CB for ; Wed, 30 Jul 2014 19:39:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id A7D9518810 for ; Wed, 30 Jul 2014 19:39:21 +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: <1406746526.dfafe78c08ac22bc87c42e64f06a92b55830a689.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: dfafe78c08ac22bc87c42e64f06a92b55830a689 X-VCS-Branch: master Date: Wed, 30 Jul 2014 19:39:21 +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: 46495575-cb07-42d3-9376-910a6fe297aa X-Archives-Hash: 10bdf9b5a119c981699eca95277436bf commit: dfafe78c08ac22bc87c42e64f06a92b55830a689 Author: Anthony G. Basile gentoo org> AuthorDate: Wed Jul 30 18:55:26 2014 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Jul 30 18:55:26 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=dfafe78c configure.ac: replace tabs with 4 spaces --- configure.ac | 146 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/configure.ac b/configure.ac index de0cc22..2b66eae 100644 --- a/configure.ac +++ b/configure.ac @@ -28,12 +28,12 @@ LT_INIT([dlopen]) AC_CONFIG_MACRO_DIR([m4]) AC_ARG_ENABLE( - [tests], - AS_HELP_STRING( - [--enable-tests], - [perform tests] - ), - [test "x$enable_tests" = "xyes"] + [tests], + AS_HELP_STRING( + [--enable-tests], + [perform tests] + ), + [test "x$enable_tests" = "xyes"] ) AM_CONDITIONAL([TEST],[test "x$enable_tests" = "xyes"]) @@ -44,10 +44,10 @@ 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 \ - sys/mman.h sys/stat.h sys/types.h unistd.h], - [], - [AC_MSG_ERROR(["Missing necessary header"])] + [errno.h err.h fcntl.h gelf.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"])] ) # Checks for DECLs. @@ -68,92 +68,92 @@ AC_CHECK_FUNCS([memset strerror]) # Note: this is always needed for fix-gnustack # and for paxctl-ng only with --enable-ptpax AC_CHECK_LIB( - [elf], - [elf_begin], - [], - [AC_MSG_ERROR(["Missing necessary function elf_begin in libelf"])] + [elf], + [elf_begin], + [], + [AC_MSG_ERROR(["Missing necessary function elf_begin in libelf"])] ) AC_ARG_ENABLE( - [ptpax], - AS_HELP_STRING( - [--enable-ptpax], - [enable support for pax markings in PT_PAX ELF phdr] - ) + [ptpax], + AS_HELP_STRING( + [--enable-ptpax], + [enable support for pax markings in PT_PAX ELF phdr] + ) ) AS_IF( - [test "x$enable_ptpax" != "xno"], - [ - AS_IF( - [test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"], - [ - AC_CHECK_DECLS( - [PT_PAX_FLAGS, PF_PAGEEXEC, PF_MPROTECT, PF_RANDMMAP], - [], - [ - CFLAGS+=" -DNEED_PAX_DECLS" - ], - [[#include ]] - ) - CFLAGS+=" -DPTPAX" - ], - [AC_MSG_ERROR(["Missing necessary DECL ELF_C_RDWR_MMAP in libelf"])] - ) - ], - [ - CFLAGS+=" -UPTPAX -DNEED_PAX_DECLS" - ] + [test "x$enable_ptpax" != "xno"], + [ + AS_IF( + [test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"], + [ + AC_CHECK_DECLS( + [PT_PAX_FLAGS, PF_PAGEEXEC, PF_MPROTECT, PF_RANDMMAP], + [], + [ + CFLAGS+=" -DNEED_PAX_DECLS" + ], + [[#include ]] + ) + CFLAGS+=" -DPTPAX" + ], + [AC_MSG_ERROR(["Missing necessary DECL ELF_C_RDWR_MMAP in libelf"])] + ) + ], + [ + CFLAGS+=" -UPTPAX -DNEED_PAX_DECLS" + ] ) 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( - [--enable-xtpax], - [enable support for pax markings in xattrs] - ) + [xtpax], + AS_HELP_STRING( + [--enable-xtpax], + [enable support for pax markings in xattrs] + ) ) AS_IF( - [test "x$enable_xtpax" != "xno"], - [ - AC_CHECK_HEADERS( - [attr/xattr.h], - [], - [AC_MSG_ERROR(["Missing necessary attr/xattr.h"])] - ) - AC_CHECK_LIB( - [attr], - [fgetxattr], - [], - [AC_MSG_ERROR(["Missing necessary function fgetxattr in libattr"])] - ) - CFLAGS+=" -DXTPAX" - ], - [ - CFLAGS+=" -UXTPAX" - ] + [test "x$enable_xtpax" != "xno"], + [ + AC_CHECK_HEADERS( + [attr/xattr.h], + [], + [AC_MSG_ERROR(["Missing necessary attr/xattr.h"])] + ) + AC_CHECK_LIB( + [attr], + [fgetxattr], + [], + [AC_MSG_ERROR(["Missing necessary function fgetxattr in libattr"])] + ) + CFLAGS+=" -DXTPAX" + ], + [ + CFLAGS+=" -UXTPAX" + ] ) if [test "x$enable_ptpax" = "xno" -a "x$enable_xtpax" = "xno" ]; then - AC_MSG_ERROR(["You must enable either ptpax or xtpax"]) + AC_MSG_ERROR(["You must enable either ptpax or xtpax"]) fi AM_CONDITIONAL([DUALTEST],[test "x$enable_ptpax" = "xyes" -a "x$enable_xtpax" = "xyes"]) # Ready to configure our files AC_CONFIG_FILES([ - Makefile - src/Makefile - scripts/Makefile - doc/Makefile - tests/Makefile - tests/gnustack/Makefile - tests/pxtpax/Makefile - tests/paxmodule/Makefile - tests/revdeppaxtest/Makefile + Makefile + src/Makefile + scripts/Makefile + doc/Makefile + tests/Makefile + tests/gnustack/Makefile + tests/pxtpax/Makefile + tests/paxmodule/Makefile + tests/revdeppaxtest/Makefile ]) AC_OUTPUT 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 ED50F138A2F for ; Tue, 19 Aug 2014 14:01:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59819E0909; Tue, 19 Aug 2014 14:01:49 +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 8F3B9E0901 for ; Tue, 19 Aug 2014 14:01:48 +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 88BBD340260 for ; Tue, 19 Aug 2014 14:01:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34BC838FB for ; Tue, 19 Aug 2014 14:01:46 +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: <1406746526.dfafe78c08ac22bc87c42e64f06a92b55830a689.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: dfafe78c08ac22bc87c42e64f06a92b55830a689 X-VCS-Branch: master Date: Tue, 19 Aug 2014 14:01:46 +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: 0e979dda-29e6-4a1e-84ce-87be023d9bab X-Archives-Hash: 9f8a30dc799ac8d773097d676b9f4298 Message-ID: <20140819140146.hWtkTVKiD9oQtPc-3k0cnkBx9l80xEu97O0aVo2HD2A@z> commit: dfafe78c08ac22bc87c42e64f06a92b55830a689 Author: Anthony G. Basile gentoo org> AuthorDate: Wed Jul 30 18:55:26 2014 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Jul 30 18:55:26 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=dfafe78c configure.ac: replace tabs with 4 spaces --- configure.ac | 146 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/configure.ac b/configure.ac index de0cc22..2b66eae 100644 --- a/configure.ac +++ b/configure.ac @@ -28,12 +28,12 @@ LT_INIT([dlopen]) AC_CONFIG_MACRO_DIR([m4]) AC_ARG_ENABLE( - [tests], - AS_HELP_STRING( - [--enable-tests], - [perform tests] - ), - [test "x$enable_tests" = "xyes"] + [tests], + AS_HELP_STRING( + [--enable-tests], + [perform tests] + ), + [test "x$enable_tests" = "xyes"] ) AM_CONDITIONAL([TEST],[test "x$enable_tests" = "xyes"]) @@ -44,10 +44,10 @@ 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 \ - sys/mman.h sys/stat.h sys/types.h unistd.h], - [], - [AC_MSG_ERROR(["Missing necessary header"])] + [errno.h err.h fcntl.h gelf.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"])] ) # Checks for DECLs. @@ -68,92 +68,92 @@ AC_CHECK_FUNCS([memset strerror]) # Note: this is always needed for fix-gnustack # and for paxctl-ng only with --enable-ptpax AC_CHECK_LIB( - [elf], - [elf_begin], - [], - [AC_MSG_ERROR(["Missing necessary function elf_begin in libelf"])] + [elf], + [elf_begin], + [], + [AC_MSG_ERROR(["Missing necessary function elf_begin in libelf"])] ) AC_ARG_ENABLE( - [ptpax], - AS_HELP_STRING( - [--enable-ptpax], - [enable support for pax markings in PT_PAX ELF phdr] - ) + [ptpax], + AS_HELP_STRING( + [--enable-ptpax], + [enable support for pax markings in PT_PAX ELF phdr] + ) ) AS_IF( - [test "x$enable_ptpax" != "xno"], - [ - AS_IF( - [test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"], - [ - AC_CHECK_DECLS( - [PT_PAX_FLAGS, PF_PAGEEXEC, PF_MPROTECT, PF_RANDMMAP], - [], - [ - CFLAGS+=" -DNEED_PAX_DECLS" - ], - [[#include ]] - ) - CFLAGS+=" -DPTPAX" - ], - [AC_MSG_ERROR(["Missing necessary DECL ELF_C_RDWR_MMAP in libelf"])] - ) - ], - [ - CFLAGS+=" -UPTPAX -DNEED_PAX_DECLS" - ] + [test "x$enable_ptpax" != "xno"], + [ + AS_IF( + [test "x$ac_cv_have_decl_ELF_C_RDWR_MMAP" = "xyes"], + [ + AC_CHECK_DECLS( + [PT_PAX_FLAGS, PF_PAGEEXEC, PF_MPROTECT, PF_RANDMMAP], + [], + [ + CFLAGS+=" -DNEED_PAX_DECLS" + ], + [[#include ]] + ) + CFLAGS+=" -DPTPAX" + ], + [AC_MSG_ERROR(["Missing necessary DECL ELF_C_RDWR_MMAP in libelf"])] + ) + ], + [ + CFLAGS+=" -UPTPAX -DNEED_PAX_DECLS" + ] ) 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( - [--enable-xtpax], - [enable support for pax markings in xattrs] - ) + [xtpax], + AS_HELP_STRING( + [--enable-xtpax], + [enable support for pax markings in xattrs] + ) ) AS_IF( - [test "x$enable_xtpax" != "xno"], - [ - AC_CHECK_HEADERS( - [attr/xattr.h], - [], - [AC_MSG_ERROR(["Missing necessary attr/xattr.h"])] - ) - AC_CHECK_LIB( - [attr], - [fgetxattr], - [], - [AC_MSG_ERROR(["Missing necessary function fgetxattr in libattr"])] - ) - CFLAGS+=" -DXTPAX" - ], - [ - CFLAGS+=" -UXTPAX" - ] + [test "x$enable_xtpax" != "xno"], + [ + AC_CHECK_HEADERS( + [attr/xattr.h], + [], + [AC_MSG_ERROR(["Missing necessary attr/xattr.h"])] + ) + AC_CHECK_LIB( + [attr], + [fgetxattr], + [], + [AC_MSG_ERROR(["Missing necessary function fgetxattr in libattr"])] + ) + CFLAGS+=" -DXTPAX" + ], + [ + CFLAGS+=" -UXTPAX" + ] ) if [test "x$enable_ptpax" = "xno" -a "x$enable_xtpax" = "xno" ]; then - AC_MSG_ERROR(["You must enable either ptpax or xtpax"]) + AC_MSG_ERROR(["You must enable either ptpax or xtpax"]) fi AM_CONDITIONAL([DUALTEST],[test "x$enable_ptpax" = "xyes" -a "x$enable_xtpax" = "xyes"]) # Ready to configure our files AC_CONFIG_FILES([ - Makefile - src/Makefile - scripts/Makefile - doc/Makefile - tests/Makefile - tests/gnustack/Makefile - tests/pxtpax/Makefile - tests/paxmodule/Makefile - tests/revdeppaxtest/Makefile + Makefile + src/Makefile + scripts/Makefile + doc/Makefile + tests/Makefile + tests/gnustack/Makefile + tests/pxtpax/Makefile + tests/paxmodule/Makefile + tests/revdeppaxtest/Makefile ]) AC_OUTPUT