File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / rsync / configure
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:32:36 2021 UTC (3 years, 3 months ago) by misho
Branches: rsync, MAIN
CVS tags: v3_2_3, HEAD
rsync 3.2.3

    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: if test x"$dir" = x; then
    8:     dir=.
    9: fi
   10: 
   11: if test "$dir" = '.'; then
   12:     branch=`packaging/prep-auto-dir` || exit 1
   13:     if test x"$branch" != x; then
   14: 	cd build || exit 1
   15: 	dir=..
   16:     fi
   17: fi
   18: 
   19: if test ! -f configure.sh; then
   20:     if ! "$dir/prepare-source" build; then
   21: 	echo 'Failed to build configure.sh and/or config.h.in -- giving up.' >&2
   22: 	rm -f configure.sh
   23: 	exit 1
   24:     fi
   25: fi
   26: 
   27: exec ./configure.sh --srcdir="$dir" "${@}"

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