[Libreoffice-commits] .: configure.in

Michael Meeks mmeeks at kemper.freedesktop.org
Tue Feb 1 02:17:20 PST 2011


 configure.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 305c3fbfb432558bef1775f769cd81d365d0353c
Author: Baptiste Daroussin <bapt at freebsd.org>
Date:   Tue Feb 1 10:17:06 2011 +0000

    accept bsd-tar as well as gnu tar

diff --git a/configure.in b/configure.in
index d23440c..b427511 100755
--- a/configure.in
+++ b/configure.in
@@ -1334,9 +1334,9 @@ if test -z "$BASH"; then
 fi
 AC_SUBST(BASH)
 
-AC_MSG_CHECKING([for GNU tar])
+AC_MSG_CHECKING([for GNU or BSD tar])
 for a in $GNUTAR gtar gnutar tar; do
-      $a --version 2> /dev/null | grep GNU  2>&1 > /dev/null
+      $a --version 2> /dev/null | egrep "GNU|bsdtar"  2>&1 > /dev/null
       if test $? -eq 0;  then
            GNUTAR=$a
            break
@@ -1344,7 +1344,7 @@ for a in $GNUTAR gtar gnutar tar; do
 done
 AC_MSG_RESULT($GNUTAR)
 if test -z "$GNUTAR"; then
-    AC_MSG_ERROR([not found. install GNU tar.])
+    AC_MSG_ERROR([not found. install GNU or BSD tar.])
 fi
 AC_SUBST(GNUTAR)
 


More information about the Libreoffice-commits mailing list