s3-lib: add cbuf, a talloced character buffer
[obnox/samba-ctdb.git] / source4 / autogen.sh
index a2228a6fd929d977b55ca67a41c7a6a266813818..e4782765695b53068a020eeb8aaf7281edbb4aed 100755 (executable)
@@ -1,36 +1,13 @@
-#! /bin/sh
+#!/bin/sh
+
+echo ""
+echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+echo ""
+echo "The build in source4 is not supported in the 3.4.x releases!"
+echo "Please use the source4 of the master branch"
+echo "or the latest samba4 alpha release"
+echo ""
+echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+echo ""
+exit 1
 
-# Run this script to build samba from CVS.
-
-## first try the default names
-AUTOHEADER="autoheader"
-AUTOCONF="autoconf"
-
-if which $AUTOCONF > /dev/null
-then
-    :
-else
-    echo "$0: need autoconf 2.53 or later to build samba from CVS" >&2
-    exit 1
-fi
-
-##
-## what version do we need?
-##
-if [ `$AUTOCONF --version | head -1 | cut -d.  -f 2` -lt 53 ]; then
-
-       ## maybe it's installed under a different name (e.g. RedHat 7.3)
-
-       AUTOCONF="autoconf-2.53"
-       AUTOHEADER="autoheader-2.53"
-
-fi
-
-echo "$0: running $AUTOHEADER"
-$AUTOHEADER || exit 1
-
-echo "$0: running $AUTOCONF"
-$AUTOCONF || exit 1
-
-echo "Now run ./configure and then make."
-exit 0