summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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