summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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(