aboutsummaryrefslogtreecommitdiff
path: root/build-setup.sh
blob: 8d715fbd95ea7f035588de8cf43fd73368b9be8d (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 --force
automake -a -c
autoconf || error "could not re-generate configure"
rm -rf autom4te.cache

# set +x