1999-10-05 19:07:40 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
2002-02-25 04:46:41 +00:00
|
|
|
set -e
|
|
|
|
|
|
1999-10-05 23:07:04 +00:00
|
|
|
[ -f GUILE-VERSION ] || {
|
|
|
|
|
echo "autogen.sh: run this command only at the top of a Guile source tree."
|
|
|
|
|
exit 1
|
|
|
|
|
}
|
|
|
|
|
|
2000-06-01 15:11:14 +00:00
|
|
|
./guile-aclocal.sh
|
|
|
|
|
|
2002-02-25 04:46:41 +00:00
|
|
|
######################################################################
|
|
|
|
|
### Libtool setup.
|
|
|
|
|
|
|
|
|
|
# Get a clean version.
|
|
|
|
|
rm -rf libltdl
|
|
|
|
|
libtoolize --force --copy --automake --ltdl
|
|
|
|
|
|
|
|
|
|
# Make sure we use a ./configure.in compatible autoconf in ./libltdl/
|
|
|
|
|
mv libltdl/configure.in libltdl/configure.tmp
|
|
|
|
|
echo 'AC_PREREQ(2.50)' > libltdl/configure.in
|
|
|
|
|
cat libltdl/configure.tmp >> libltdl/configure.in
|
|
|
|
|
rm libltdl/configure.tmp
|
|
|
|
|
######################################################################
|
|
|
|
|
|
1999-10-05 22:34:35 +00:00
|
|
|
autoheader
|
1999-10-05 23:07:04 +00:00
|
|
|
autoconf
|
2000-01-25 20:35:41 +00:00
|
|
|
automake --add-missing
|
1999-10-05 23:07:04 +00:00
|
|
|
|
2001-11-12 22:16:27 +00:00
|
|
|
# Make sure that libltdl uses the same autoconf version as the rest.
|
|
|
|
|
#
|
2002-02-25 04:46:41 +00:00
|
|
|
echo "libltdl..."
|
|
|
|
|
(cd libltdl && autoconf)
|
|
|
|
|
(cd libltdl && automake --gnu --add-missing)
|
2001-11-12 22:16:27 +00:00
|
|
|
|
2002-02-25 04:46:41 +00:00
|
|
|
echo "guile-readline..."
|
|
|
|
|
(cd guile-readline && ./autogen.sh)
|
2001-06-25 15:07:20 +00:00
|
|
|
|
|
|
|
|
echo "Now run configure and make."
|
2001-06-25 22:24:40 +00:00
|
|
|
echo "You must pass the \`--enable-maintainer-mode' option to configure."
|