# bootstrap

rm -f  intltool-extract.in intltool-merge.in intltool-update.in
rm -f  po/Makefile.in.in
rm -f  config.guess config.sub depcomp install-sh missing
rm -rf autom4te.cache

glib-gettextize --copy --force || exit 1
intltoolize --automake --force --copy || exit 1

libtoolize --force --copy

aclocal $ACLOCAL_FLAGS || exit 1
autoheader
touch stamp-h

automake --add-missing --gnu --copy
autoconf

# CXX flags to pass to the compiler

CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables'

export CXXFLAGS


echo "Now type 'configure' and then 'make' to build Granule."
