summaryrefslogtreecommitdiff
path: root/source3/autogen.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-04 10:54:01 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-04 10:54:01 +0000
commit22e23401551e8c35fea8d7601420e746cb4a2527 (patch)
tree3ed7032880aeb2ed42557c8ecd5eb74801a993d8 /source3/autogen.sh
parent3354f2548972d5b667d1cfda24d8b26d7946116e (diff)
downloadsamba-22e23401551e8c35fea8d7601420e746cb4a2527.tar.gz
samba-22e23401551e8c35fea8d7601420e746cb4a2527.tar.bz2
samba-22e23401551e8c35fea8d7601420e746cb4a2527.zip
Add autogen.sh from distcc via mbp.
This to allow us to remove configure from CVS. (This used to be commit 9e8e352e102b75489b4540d701ce2c67c0f3cf31)
Diffstat (limited to 'source3/autogen.sh')
-rwxr-xr-xsource3/autogen.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/autogen.sh b/source3/autogen.sh
new file mode 100755
index 0000000000..28d1608287
--- /dev/null
+++ b/source3/autogen.sh
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+# Run this script to build samba from CVS.
+
+if which autoconf > /dev/null
+then
+ :
+else
+ echo "$0: need autoconf 2.53 or later to build samba from CVS" >&2
+ exit 1
+fi
+
+echo "$0: running autoheader"
+autoheader || exit 1
+
+echo "$0: running autoconf"
+autoconf || exit 1
+echo "Now run ./configure and then make."
+exit 0