if libtoolize --version < /dev/null > /dev/null 2>&1 ; then
libtool_version=`libtoolize --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
case $libtool_version in
- 1.4*|1.5*)
+ 1.4*|1.5*|2.2*)
have_libtool=true
;;
esac
rm -rf autom4te.cache
+# README and INSTALL are required by automake, but may be deleted by clean
+# up rules. to get automake to work, simply touch these here, they will be
+# regenerated from their corresponding *.in files by ./configure anyway.
+touch README INSTALL
+
$ACLOCAL $ACLOCAL_FLAGS || exit $?
libtoolize --force || exit $?
gtkdocize || exit $?
-echo START AUTOHEADER
autoheader || exit $?
-echo END AUTOHEADER
-echo START AUTOMAKE
$AUTOMAKE --add-missing || exit $?
-echo END AUTOMAKE
-echo START_AUTOCONF
-echo `which autoconf`
-set > /home/federico/kk
autoconf || exit $?
-echo END_AUTOCONF
cd $ORIGDIR || exit $?
if test -z "$AUTOGEN_SUBDIR_MODE"; then
-echo START CONFIGURE
$srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
-echo END CONFIGURE
+
echo
echo "Now type 'make' to compile $PROJECT."
-else
-echo CONFIGURE NOT RUN
fi