3 echo The Samba HEAD branch is deprecated pending the release of Samba 3.0
4 echo Please use the SAMBA_3_0 branch
5 echo to update to SAMBA_3_0 use this command:
6 echo " cvs -z3 update -r SAMBA_3_0 -dP"
9 # Run this script to build samba from CVS.
11 ## insert all possible names (only works with
13 TESTAUTOHEADER="autoheader autoheader-2.53"
14 TESTAUTOCONF="autoconf autoconf-2.53"
21 ## Look for autoheader
23 for i in $TESTAUTOHEADER; do
24 if which $i > /dev/null 2>&1; then
25 if [ `$i --version | head -n 1 | cut -d. -f 2` -ge 53 ]; then
37 for i in $TESTAUTOCONF; do
38 if which $i > /dev/null 2>&1; then
39 if [ `$i --version | head -n 1 | cut -d. -f 2` -ge 53 ]; then
51 if [ "$AUTOCONFFOUND" = "0" -o "$AUTOHEADERFOUND" = "0" ]; then
52 echo "$0: need autoconf 2.53 or later to build samba from CVS" >&2
58 echo "$0: running $AUTOHEADER"
61 echo "$0: running $AUTOCONF"
64 echo "Now run ./configure and then make."