Annotation of embedaddon/rsync/configure, revision 1.1.1.1

1.1       misho       1: #!/bin/sh -e
                      2: # This configure script ensures that the configure.sh script exists, and
                      3: # if not, it tries to fetch rsync's generated files or build them.  We
                      4: # then transfer control to the configure.sh script to do the real work.
                      5: 
                      6: dir=`dirname $0`
                      7: realconfigure="$dir/configure.sh"
                      8: 
                      9: if test ! -f "$realconfigure"; then
                     10:     if test -f "$HOME/build_farm/build_test.fns"; then
                     11:        # Allow the build farm to grab latest files via rsync.
                     12:        actions='build fetch'
                     13:     else
                     14:        actions='build'
                     15:     fi
                     16:     if "$dir/prepare-source" $actions; then
                     17:        :
                     18:     else
                     19:        echo 'Failed to build configure.sh and/or config.h.in -- giving up.' >&2
                     20:        rm -f "$realconfigure"
                     21:        exit 1
                     22:     fi
                     23: fi
                     24: 
                     25: exec "$realconfigure" "${@}"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>