aboutsummaryrefslogtreecommitdiff
path: root/build-setup.sh
blob: f564b3785ea801cd29b78c7f9fa79a548a28dfad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

error() {
    echo "$1"
    exit 1
}

# set -x

rm -rf autom4te.cache
autoheader || error "could not re-generate config/openaxiom-c-macros.h"
aclocal --output=config/aclocal.m4  -I config --install
automake -a -c
autoconf || error "could not re-generate configure"
rm -rf autom4te.cache

# set +x