From bd2becc5734e30ca94d66ac5c716cd5b452739dc Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 18 Jun 2019 01:01:46 -0400 Subject: configure.ac: Don't check for tar --numeric-owner I think it only applies to extraction, at least in BusyBox. --- diff --git a/NEWS b/NEWS index 813d67e..623d774 100644 --- a/NEWS +++ b/NEWS @@ -38,8 +38,7 @@ libopkbuild: Build system: * configure now checks for fakeroot, touch (preferably with the "-h" - option), and tar (with the "-T", "--no-recursion", and - "--numeric-owner" options). + option), and tar (with the "-T" and "--no-recursion" options). Documentation: diff --git a/configure.ac b/configure.ac index f7ec8f0..a35eb06 100644 --- a/configure.ac +++ b/configure.ac @@ -174,25 +174,23 @@ AC_ARG_WITH( fi ] ) -AC_MSG_CHECKING([whether tar accepts -T, --no-recursion, and --numeric-owner]) +AC_MSG_CHECKING([whether tar accepts -T and --no-recursion]) rm -Rf conftest.dir mkdir conftest.dir touch conftest.dir/foo conftest.dir/bar if printf '%s\n' conftest.dir/ conftest.dir/foo | ${TAR} -cf conftest.tar \ - --no-recursion -T - --numeric-owner; then + --no-recursion -T -; then if ${TAR} -tf conftest.tar | grep -Fq 'foo' && \ ${TAR} -tf conftest.tar | grep -Fvq 'bar' then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) - AC_MSG_ERROR([tar with -T, --no-recursion, and $(:\ - )--numeric-owner is required]) + AC_MSG_ERROR([tar with -T and --no-recursion is required]) fi else AC_MSG_RESULT([no]) - AC_MSG_ERROR([tar with -T, --no-recursion, and --numeric-owner is $(:\ - )required]) + AC_MSG_ERROR([tar with -T and --no-recursion is required]) fi AC_ARG_WITH( -- cgit v0.9.1