* autogen.sh: Don't call autoreconf at all; it's not reliable.
[bpt/guile.git] / autogen.sh
index f192b49..943b94c 100755 (executable)
@@ -1,4 +1,13 @@
 #!/bin/sh
 
+[ -f GUILE-VERSION ] || {
+  echo "autogen.sh: run this command only at the top of a Guile source tree."
+  exit 1
+}
+
+aclocal -I .
 autoheader
-autoreconf --force "$@"
+autoconf
+automake
+
+( cd guile-readline; ./autogen.sh )