incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r1196681 - /incubator/ooo/trunk/main/configure.in
Date Wed, 02 Nov 2011 16:41:27 GMT
Author: pfg
Date: Wed Nov  2 16:41:27 2011
New Revision: 1196681

URL: http://svn.apache.org/viewvc?rev=1196681&view=rev
Log:
Accept BSDtar as an alternative to GNU tar. Based on a a patch by Baptiste Darousin.

Modified:
    incubator/ooo/trunk/main/configure.in

Modified: incubator/ooo/trunk/main/configure.in
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/configure.in?rev=1196681&r1=1196680&r2=1196681&view=diff
==============================================================================
--- incubator/ooo/trunk/main/configure.in (original)
+++ incubator/ooo/trunk/main/configure.in Wed Nov  2 16:41:27 2011
@@ -1654,11 +1654,11 @@ fi
 AC_SUBST(GNUMAKE)
 
 dnl ===================================================================
-dnl Search all the common names for GNU tar
+dnl Search all the common names for GNU or BSD tar
 dnl ===================================================================
-AC_MSG_CHECKING([for GNU tar])
-for a in $GNUTAR gtar gnutar tar; do
-      $a --version 2> /dev/null | grep GNU  2>&1 > /dev/null
+AC_MSG_CHECKING([for GNU or BSD compatible tar])
+for a in $GNUTAR gtar gnutar bsdtar tar; do
+      $a --version 2> /dev/null | egrep "GNU|libarchive"  2>&1 > /dev/null
       if test $? -eq 0;  then
            GNUTAR=$a
            break



Mime
View raw message