autogen.sh: Call libtoolize with --force.
[bpt/guile.git] / autogen.sh
index f192b49..10bf34a 100755 (executable)
@@ -1,4 +1,18 @@
 #!/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 --force --automake --ltdl
 autoheader
-autoreconf --force "$@"
+autoconf
+automake --add-missing
+
+( echo "guile-readline..."; cd guile-readline; ./autogen.sh )
+
+echo "Now run configure and make."
+echo "You must pass the \`--enable-maintainer-mode' option to configure."