diff options
Diffstat (limited to '')
-rw-r--r-- | m4/ChangeLog | 5 | ||||
-rw-r--r-- | m4/tar-ustar.m4 | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index a3d9b9cbe..67c110636 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2006-07-12 David Shaw <dshaw@jabberwocky.com> + + * tar-ustar.m4: Use dd instead of strings as it's more likely to + be around. Suggested by Nelson H. F. Beebe. + 2006-07-11 David Shaw <dshaw@jabberwocky.com> * tar-ustar.m4: Not all greps know the -q (quiet) flag, so diff --git a/m4/tar-ustar.m4 b/m4/tar-ustar.m4 index 5ef2e16e4..4ae9e63aa 100644 --- a/m4/tar-ustar.m4 +++ b/m4/tar-ustar.m4 @@ -27,7 +27,7 @@ AC_DEFUN([GNUPG_CHECK_USTAR], if test x$_mytar != x ; then AC_MSG_CHECKING([whether $_mytar speaks USTAR]) echo hithere > conftest.txt - $_mytar -cf - conftest.txt | strings | grep ustar > /dev/null + $_mytar -cf - conftest.txt | (dd skip=257 bs=1 count=5 2>/dev/null || cat) | grep ustar > /dev/null _tar_bad=$? rm conftest.txt |