[ooo-build-commit] configure.in

Jan Holesovsky kendy at kemper.freedesktop.org
Tue Aug 25 14:58:23 PDT 2009


 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0990b36e25e04a46c6481542dc8b3d7284527de3
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Tue Aug 25 23:56:31 2009 +0200

    Be a bit smarter wrt. --with-git/--without-git.
    
    When neither is specified, check the existence of the -bootstrap tarball, and
    default accordingly.
    
    * configure.in:

diff --git a/configure.in b/configure.in
index 8ead17d..464be3c 100644
--- a/configure.in
+++ b/configure.in
@@ -1327,7 +1327,7 @@ AC_MSG_RESULT([$build_product])
 
 AC_MSG_CHECKING([whether to use git to get the up-stream sources])
 OOO_GIT=
-if test "$with_git" = "no"; then
+if test \( -z "$with_git" -a -f "$SRCDIR/$CVSTAG-bootstrap.tar.bz2" \) -o "$with_git" = "no"; then
     AC_MSG_RESULT([no])
 else
     OOO_GIT="git://anongit.freedesktop.org/git/ooo-build"


More information about the ooo-build-commit mailing list