Various xattr fixes:
[rsync/rsync.git] / configure
index 0e61393..cc4bcb6 100755 (executable)
--- 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"