1999-08-17 16:01:18 -07:00
|
|
|
#!/bin/sh
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
DIE=0
|
|
|
|
|
1999-08-17 18:12:47 -07:00
|
|
|
echo "Generating configuration files for Eterm, please wait...."
|
|
|
|
|
1999-08-17 16:01:18 -07:00
|
|
|
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
echo
|
|
|
|
echo "You must have autoconf installed to compile Eterm."
|
|
|
|
echo "Download the appropriate package for your distribution,"
|
|
|
|
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
|
|
DIE=1
|
|
|
|
}
|
|
|
|
|
|
|
|
(libtool --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
echo
|
|
|
|
echo "You must have libtool installed to compile Eterm."
|
|
|
|
echo "Download the appropriate package for your distribution,"
|
|
|
|
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
|
|
DIE=1
|
|
|
|
}
|
|
|
|
|
|
|
|
(automake --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
echo
|
|
|
|
echo "You must have automake installed to compile Eterm."
|
|
|
|
echo "Download the appropriate package for your distribution,"
|
|
|
|
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
|
|
DIE=1
|
|
|
|
}
|
|
|
|
|
|
|
|
if test "$DIE" -eq 1; then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2001-06-13 22:31:09 -07:00
|
|
|
echo " libtoolize -c -f"
|
|
|
|
libtoolize -c -f
|
1999-08-17 18:12:47 -07:00
|
|
|
echo " aclocal -I . $ACLOCAL_FLAGS"
|
|
|
|
aclocal -I . $ACLOCAL_FLAGS
|
2002-01-30 08:59:08 -08:00
|
|
|
echo " autoconf"
|
|
|
|
autoconf
|
1999-08-17 18:12:47 -07:00
|
|
|
echo " autoheader"
|
|
|
|
autoheader
|
2001-06-13 22:31:09 -07:00
|
|
|
echo " automake -a -c"
|
|
|
|
automake -a -c
|
1999-08-17 16:01:18 -07:00
|
|
|
|
2000-03-29 18:37:01 -08:00
|
|
|
./configure "$@"
|
1999-08-17 18:12:47 -07:00
|
|
|
|
|
|
|
if [ -f cvs.motd ]; then
|
|
|
|
echo "ATTENTION CVS Users!"
|
|
|
|
echo ""
|
|
|
|
cat cvs.motd
|
|
|
|
echo ""
|
|
|
|
fi
|