Hi, I saw `bootstrap' doesn't accept --gnulib-srcdir as it is already done by other projects using gnulib. It doesn't add a new feature as it can be already done specifying GNULIB_SRCDIR, it just make the script more similar to scripts used by other projects doing a bootstrap from gnulib.
What do you think? Cheers, Giuseppe >From 1316b6d5256650bfe5d8501e8ac34422b1f55af0 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano <gscriv...@gnu.org> Date: Sat, 27 Feb 2010 21:02:07 +0100 Subject: [PATCH] bootstrap accepts --gnulib-srcdir=SRCDIR * bootstrap: When --gnulib-srcdir=SRCDIR is specified, change the value of GNULIB_SRCDIR to $SRCDIR. Document --gnulib-srcdir usage. --- bootstrap | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/bootstrap b/bootstrap index ad12304..fd3ef36 100755 --- a/bootstrap +++ b/bootstrap @@ -27,6 +27,11 @@ # Usage: $progname [options] # -f --force bootstrap even when sources are not from git +# --gnulib-srcdir=DIRNAME Specify the local directory where gnulib +# sources reside. Use this if you already +# have gnulib sources on your machine, and +# do not want to waste your bandwidth downloading +# them again. Defaults to $GNULIB_SRCDIR. # --skip-po skip downloading pofiles # -v --version print version information # -h,-? --help print short or long help message @@ -215,6 +220,8 @@ func_update () shift case $opt in -f|--force) vcs_only_file= ;; + --gnulib-srcdir=*) + GNULIB_SRCDIR=`expr "X$opt" : 'X--gnulib-srcdir=\(.*\)'` ;; --skip-po) SKIP_PO=t ;; -\?|-h) func_usage ;; --help) func_help ;; -- 1.6.6.1