#!/bin/sh
+[ -f GUILE-VERSION ] || {
+ echo "autogen.sh: run this command only at the top of a Guile source tree."
+ exit 1
+}
+
+./guile-aclocal.sh
+
+libtoolize --copy --automake --ltdl
autoheader
-autoreconf --force "$@"
+autoconf
+automake --add-missing
+flex -t libguile/c-tokenize.lex > libguile/c-tokenize.c
+
+( echo "guile-readline..."; cd guile-readline; ./autogen.sh )