#!/bin/sh

# $Id: bootstrap 45567 2016-08-29 09:09:38Z joostvb $
# $URL: https://svn.uvt.nl/its-id/trunk/sources/accountchecker/bootstrap $

set -ex

# hack as used in systraq
test -f acinclude.m4 || {
    if test -f /usr/share/autoconf-archive/ac_define_dir.m4
    then
        ln -s /usr/share/autoconf-archive/ac_define_dir.m4 acinclude.m4
    else
        cat <<EOT
You need the autoconf-archive Debian package, version >= 20031029-1.
Alternatively, you could please install the GNU Autoconf Macro Archive's
http://www.gnu.org/software/ac-archive/htmldoc/ac_define_dir.html as
acinclude.m4.
EOT
   fi
}



echo 'bootstrap: calling svn2cl (and subversion) in order to generate ChangeLog...'
svn2cl -i



# shipped with Debian 8 "jessie"
AUTOMAKE=automake-1.14 ACLOCAL=aclocal-1.14 autoreconf --install --symlink --verbose

#
# debian releases and automake versions:
#
# 9   stretch 2017-02?                           1.15?
# 8   jessie  2015-04                         1.14
# 7   wheezy  2013-05                      1.11
# 6   squeeze 2011-02      1.4 1.7 1.9  1.10
#

