Handling is now to the point where user accounts requiring potential inbox processing...
[citadel.git] / citadel / bootstrap
index f4195af365abf50cc882499f223b00323baffbf2..354aed11092472e0a0fff49e1f41ef7708841072 100755 (executable)
@@ -1,26 +1,34 @@
 #!/bin/sh
 #
-# run me after checking Citadel out of CVS.
-#
-# $Id$
-#
+# run me after checking Citadel out of the source code repository.
+
 echo ... running aclocal ...
-aclocal
-echo ... running libtoolize ...
-libtoolize -c --force
+aclocal -I m4
+
 echo ... running autoconf ...
 autoconf
+
+# If your autoconf version changes, the autom4te.cache stuff will mess you up.
+# Get rid of it.
+echo ... removing autoheader cache files ...
+rm -rf autom4te*.cache
+
 echo ... running autoheader ...
 autoheader
 
+echo ... running mk_svn_revision.sh ...
+./scripts/mk_svn_revision.sh
+
+echo ... running mk_module_init.sh ...
+./scripts/mk_module_init.sh
+
+grep '#define REV_LEVEL' citadel.h | sed 's/[^0-9]*//g' >package-version.txt
+
 echo
-echo This script has been tested with autoconf 2.53, libtool 1.4d, and
-echo automake 1.5. Other versions may work, but I recommend the latest
-echo compatible versions of these.
-echo
-echo libtool 1.4.2 is not sufficient to build portable configure scripts;
-echo at least version 1.4d from alpha.gnu.org is needed.
+echo This script has been tested with autoconf 2.53 and
+echo automake 1.5. Other versions may work, but we recommend
+echo the latest echo compatible versions of these.
 echo
-echo Also note that autoconf, automake, and libtool should all be configured
+echo Also note that autoconf and automake should be configured
 echo with the same prefix.
 echo