Hi,

On FreeBSD we use bsdtar (libarchive) and from my testings it works
great with libreoffice (no regression compared to gnu tar)

here is an attempt to allow checking for both bsdtar and gnu tar in
configure (against build git repository)

Hope this is ok

regards,
Bapt
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)
 
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to