##
## run this to generate the Makefile.in's and the configure script
##

if [ ! -d ac-helpers ]; then
  mkdir ac-helpers
fi


## collect macro definitions and create aclocal.m4
## include the macros from the ac-macros subfolder

aclocal -I ac-macros


## create configure script from configure.ac
## depends on aclocal.m4

autoconf -f


## create config.h.in from configure.ac
##

autoheader


## create Makefile.in's from Makefile.am's
## 

automake -f -a -c --foreign


## Remove autoconf cache directory
rm -rf autom4te.cache
