#!/bin/sh -e
mkdir -p automake

#-------------------
echo "Running aclocal in root"
aclocal

#-------------------
echo "Running libtoolize in root"
libtoolize

#-------------------
echo "Running autoconf in root"
autoconf

#-------------------
echo "Running automake in root"
automake --add-missing


#-------------------
cd libcfa
mkdir -p automake

#-------------------
echo "Running aclocal in libcfa"
aclocal

#-------------------
echo "Running libtoolize in libcfa"
libtoolize

#-------------------
echo "Running autoconf in libcfa"
autoconf

#-------------------
echo "Running automake in libcfa"
automake --add-missing
