]> code.citadel.org Git - citadel.git/blobdiff - citadel/bootstrap
* Renamed "dynloader" to "serv_extensions" globally. We don't want people
[citadel.git] / citadel / bootstrap
index c18665abcd399d46a30312411da25e963c2bb0ac..abbe5c16268deebd684e76a95bd1737fe029535f 100755 (executable)
@@ -2,7 +2,52 @@
 #
 # run me after checking Citadel out of CVS.
 #
-aclocal
-libtoolize --force
-autoconf
-autoheader
+# $Id$
+#
+
+# Remove any vestiges of pre-6.05 build environments
+rm -f .libs modules *.so *.lo *.la
+
+# Goofy red hat 7.3 stuff
+if grep 7.3 /etc/redhat-release >/dev/null 2>&1 ; then
+       redhat73=true
+else
+       redhat73=false
+fi
+if [ "$redhat73" = "true" ]; then
+       aclocal=/usr/bin/aclocal-1.5
+       autoconf=/usr/bin/autoconf-2.53
+       autoheader=/usr/bin/autoheader-2.53
+
+       if test -z $aclocal ; then
+               echo "Please install the automake15 RPM package"
+               redhat73=missing
+       fi
+       if test -z $autoconf || test -z $autoheader ; then
+               echo "Please install the autoconf253 RPM package"
+               redhat73=missing
+       fi
+       if test "$redhat73" = "missing" ; then
+               exit 1
+       fi
+else
+       aclocal=aclocal
+       autoconf=autoconf
+       autoheader=autoheader
+fi
+
+echo ... running aclocal ...
+$aclocal
+echo ... running autoconf ...
+$autoconf
+echo ... running autoheader ...
+$autoheader
+
+echo
+echo This script has been tested with autoconf 2.53 and
+echo automake 1.5. Other versions may work, but I recommend the latest
+echo compatible versions of these.
+echo
+echo Also note that autoconf and automake should be configured
+echo with the same prefix.
+echo