preparing for release of 3.0alpha23
[Samba.git] / source / autogen.sh
bloba2228a6fd929d977b55ca67a41c7a6a266813818
1 #! /bin/sh
3 # Run this script to build samba from CVS.
5 ## first try the default names
6 AUTOHEADER="autoheader"
7 AUTOCONF="autoconf"
9 if which $AUTOCONF > /dev/null
10 then
12 else
13 echo "$0: need autoconf 2.53 or later to build samba from CVS" >&2
14 exit 1
18 ## what version do we need?
20 if [ `$AUTOCONF --version | head -1 | cut -d. -f 2` -lt 53 ]; then
22 ## maybe it's installed under a different name (e.g. RedHat 7.3)
24 AUTOCONF="autoconf-2.53"
25 AUTOHEADER="autoheader-2.53"
29 echo "$0: running $AUTOHEADER"
30 $AUTOHEADER || exit 1
32 echo "$0: running $AUTOCONF"
33 $AUTOCONF || exit 1
35 echo "Now run ./configure and then make."
36 exit 0