#! /bin/sh

# Use automake 1.6
AMVER=-1.6

# Use autoconf 2.53
ACVER=-2.53

./clean.sh

# add files 'config.guess', 'config.sub', 'ltconfig', 'ltmain.sh'
#libtoolize --automake --force || exit 1

# generate 'aclocal.m4', and use our macros in ./m4
#aclocal -I ./m4
aclocal$AMVER  || exit 1

autoheader$ACVER || exit 1

#  generate Makefile.in's from Makefile.am's
automake$AMVER --add-missing || exit 1

# generate configure from configure.in
autoconf$ACVER || exit 1

echo "Now run ./configure"

#./configure "$@" || exit 1
#make


