X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=bootstrap;h=f8d2f3ad97df7ede5779b19d890a368e985905ff;hb=95be2c50b429bfe7201590dd744864ab64c5d87e;hp=dadb03045e1734dad6b00c519f1a7e9d2fd1dff0;hpb=3d09d579c1bf128cabe79d18a97c879163ceb85a;p=chaz%2Ftar diff --git a/bootstrap b/bootstrap index dadb030..f8d2f3a 100755 --- a/bootstrap +++ b/bootstrap @@ -24,6 +24,7 @@ # Parse options. +DOWNLOAD_PO=yes for option do case $option in @@ -36,6 +37,8 @@ do CVS_AUTH=`expr "$1" : '--cvs-auth=\(.*\)'`;; --cvs-user=*) CVS_USER=`expr "$1" : '--cvs-user=\(.*\)'`;; + --no-po) + DOWNLOAD_PO=no;; *) echo >&2 "$0: $option: unknown option" exit 1;; @@ -145,6 +148,14 @@ for gnulib_file in $gnulib_files; do dest=$gnulib_file case $gnulib_file in + m4/codeset.m4) continue;; + m4/glibc21.m4) continue;; + m4/intdiv0.m4) continue;; + m4/inttypes_h.m4) continue;; + m4/inttypes.m4) continue;; + m4/inttypes-pri.m4) continue;; + m4/isc-posix.m4) continue;; + m4/lcmessage.m4) continue;; m4/onceonly_2_57.m4) dest=m4/onceonly.m4;; esac @@ -156,19 +167,20 @@ done # Get translations. -echo "$0: getting translations into po..." -(cd po && - rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` && - wget -nv -nd -r -l 1 -A .po -C off \ - http://www2.iro.umontreal.ca/~gnutra/po/maint/tar/ && - ls *.po | sed 's/\.po$//' >LINGUAS -) || exit - +if test "$DOWNLOAD_PO" = "yes"; then + echo "$0: getting translations into po..." + (cd po && + rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` && + wget -nv -nd -r -l 1 -A .po -C off \ + http://www.iro.umontreal.ca/contrib/po/maint/tar/ && + ls *.po | sed 's/\.po$//' >LINGUAS + ) || exit +fi # Reconfigure, getting other files. echo "$0: autoreconf --verbose --install --force ..." -autoreconf --verbose --install --force || exit +autoreconf --verbose --install --force echo "$0: done. Now you can run './configure'."