* tar-ustar.m4: Pass tar data through strings so that greps that don't
authorDavid Shaw <dshaw@jabberwocky.com>
Tue, 11 Jul 2006 12:36:04 +0000 (12:36 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Tue, 11 Jul 2006 12:36:04 +0000 (12:36 +0000)
grep in binary files (Solaris) can detect the string.  Noted by Mark
Davies.

m4/ChangeLog
m4/tar-ustar.m4

index 9ed0d91..ae2c584 100644 (file)
@@ -1,3 +1,9 @@
+2006-07-11  David Shaw  <dshaw@jabberwocky.com>
+
+       * 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  <wk@g10code.com>
 
        * Makefile.am: Added noexecstack.m4 and ldap.m4
index 8b3d014..7cc1c89 100644 (file)
@@ -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