X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/2909586ede1934c36e43e176909c36998279b2a2..9217ce30e308db28dc4789ef009ecf553f35097c:/configure diff --git a/configure b/configure index 0e613932..cc4bcb63 100755 --- a/configure +++ b/configure @@ -13,11 +13,15 @@ if [ ! -f "$realconfigure" ]; then else curdir='' fi - make -f prepare-source.mak proto.h if make -f prepare-source.mak conf; then : + elif [ -f "$HOME/build_farm/build_test.fns" ]; then + # Allow the build farm to grab latest files via rsync. + rsync -pvz rsync://rsync.samba.org/rsyncftp/generated-files/'c*' . else - rsync -avz rsync://rsync.samba.org/rsyncftp/generated-files/'c*' . + echo 'Failed to build configure.sh and/or config.h.in -- giving up.' >&2 + rm -f "$realconfigure" + exit 1 fi if test x"$curdir" != x; then cd "$curdir"