~ubuntu-branches/ubuntu/hardy/gnupg/hardy-updates

« back to all changes in this revision

Viewing changes to m4/tar-ustar.m4

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-11-03 09:18:26 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20061103091826-89kwl8tk1xypbmtk
Tags: upstream-1.4.5
ImportĀ upstreamĀ versionĀ 1.4.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl Check for a tar program that speaks ustar format
2
 
dnl Copyright (C) 2005 Free Software Foundation, Inc.
 
2
dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
3
3
dnl
4
4
dnl This file is free software, distributed under the terms of the GNU
5
5
dnl General Public License.  As a special exception to the GNU General
27
27
     if test x$_mytar != x ; then
28
28
        AC_MSG_CHECKING([whether $_mytar speaks USTAR])
29
29
        echo hithere > conftest.txt
30
 
        $_mytar -cf - conftest.txt | grep -q ustar
 
30
        $_mytar -cf - conftest.txt | (dd skip=257 bs=1 count=5 2>/dev/null || cat) | grep ustar > /dev/null
31
31
        _tar_bad=$?
32
32
        rm conftest.txt
33
33