From 628b926230df3ae84b0ad87a39f5a685053c5c06 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 14 Mar 2009 21:19:53 +0000 Subject: [PATCH] Checkout gnulib using 'git' instead of 'cvs'. --- ChangeLog | 4 ++++ autogen.sh | 10 ++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1c4d917d6..72c2dac5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-03-14 Bruno Haible + + * autogen.sh: Checkout gnulib using 'git' instead of 'cvs'. + 2009-01-14 Bruno Haible * configure.ac: More consistent m4 quoting. diff --git a/autogen.sh b/autogen.sh index b94b36979..0354f7e40 100755 --- a/autogen.sh +++ b/autogen.sh @@ -8,9 +8,9 @@ # It also requires either # - the GNULIB_TOOL environment variable pointing to the gnulib-tool script # in a gnulib checkout, or -# - the cvs program in the PATH and an internet connection. +# - the git program in the PATH and an internet connection. -# Copyright (C) 2003-2008 Free Software Foundation, Inc. +# Copyright (C) 2003-2009 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -56,12 +56,10 @@ chmod a+x gettext-tools/tests/msgmerge-update-4 if ! $skip_gnulib; then if test -z "$GNULIB_TOOL"; then # Check out gnulib in a subdirectory 'gnulib'. - GNULIB_CVS_ROOT=':pserver:anonymous@pserver.git.sv.gnu.org:/gnulib.git' - GNULIB_CVS_REPOSITORY='gnulib' if test -d gnulib; then - (cd gnulib && cvs update -d -P) + (cd gnulib && git pull) else - cvs -d "$GNULIB_CVS_ROOT" checkout -d $GNULIB_CVS_REPOSITORY HEAD + git clone git://git.savannah.gnu.org/gnulib.git fi # Now it should contain a gnulib-tool. if test -f gnulib/gnulib-tool; then -- 2.47.3