summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 01:01:46 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 01:02:33 (EDT)
commitbd2becc5734e30ca94d66ac5c716cd5b452739dc (patch)
tree0ed9b8c43534ed5ae7aca46ed2f86d40d2c0d49a
parent059a0215f8700f2ee0db37cd4a87ed9cb28ed4a7 (diff)
configure.ac: Don't check for tar --numeric-owner
I think it only applies to extraction, at least in BusyBox.
-rw-r--r--NEWS3
-rw-r--r--configure.ac10
2 files changed, 5 insertions, 8 deletions
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(