From b19683689c04f4f184c941b6a9abe517eca13d99 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Tue, 11 Jul 2006 12:36:04 +0000 Subject: [PATCH] * tar-ustar.m4: Pass tar data through strings so that greps that don't grep in binary files (Solaris) can detect the string. Noted by Mark Davies. --- m4/ChangeLog | 6 ++++++ m4/tar-ustar.m4 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/m4/ChangeLog b/m4/ChangeLog index 9ed0d91f7..ae2c584df 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,9 @@ +2006-07-11 David Shaw + + * tar-ustar.m4: Pass tar data through strings so that greps that + don't grep in binary files (Solaris) can detect the string. Noted + by Mark Davies. + 2006-06-25 Werner Koch * Makefile.am: Added noexecstack.m4 and ldap.m4 diff --git a/m4/tar-ustar.m4 b/m4/tar-ustar.m4 index 8b3d01457..7cc1c8926 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 | grep -q ustar + $_mytar -cf - conftest.txt | strings | grep -q ustar _tar_bad=$? rm conftest.txt