2001-04-26 16:45:43 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2006-02-19 18:52:51 +00:00
|
|
|
echo "Generating build information using autoconf"
|
2001-04-26 16:45:43 +00:00
|
|
|
echo "This may take a while ..."
|
|
|
|
|
|
|
|
# Regenerate configuration files
|
2006-02-19 18:52:51 +00:00
|
|
|
cp acinclude.m4 aclocal.m4
|
2006-03-21 07:02:34 +00:00
|
|
|
found=false
|
2006-05-15 06:30:38 +00:00
|
|
|
for autoconf in autoconf autoconf259 autoconf-2.59
|
2006-03-21 07:02:34 +00:00
|
|
|
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
|
2006-03-21 06:54:24 +00:00
|
|
|
done
|
2006-03-21 07:02:34 +00:00
|
|
|
if test x$found = xfalse; then
|
|
|
|
echo "Couldn't find autoconf, aborting"
|
|
|
|
exit 1
|
|
|
|
fi
|
2006-02-20 02:09:49 +00:00
|
|
|
(cd test; sh autogen.sh)
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
# Run configure for this platform
|
|
|
|
echo "Now you are ready to run ./configure"
|