X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fbootstrap;h=354aed11092472e0a0fff49e1f41ef7708841072;hb=HEAD;hp=998f9be708f190befd74097503cd9eb9f0263bc8;hpb=fb77c3da23244ac3c20648c4a6d4556c2c9c34ba;p=citadel.git diff --git a/citadel/bootstrap b/citadel/bootstrap index 998f9be70..f8488a4d7 100755 --- a/citadel/bootstrap +++ b/citadel/bootstrap @@ -1,50 +1,5 @@ -#!/bin/sh +#!/bin/bash # -# run me after checking Citadel out of CVS. -# -# $Id$ -# - -# Goofy red hat 7.3 stuff -if [ -s /etc/redhat-release ] ; then - [ `cut -f 5 -d ' ' /etc/redhat-release` = 7.3 ] && 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 +# run me after checking Citadel out of the source code repository. -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 +grep '#define REV_LEVEL' server/citadel_defs.h | sed 's/[^0-9]*//g' >package-version.txt