2 # Run this to generate all the initial makefiles, etc.
7 test -z "$srcdir" && srcdir
=.
14 ($AUTOMAKE --version) < /dev
/null
> /dev
/null
2>&1 ||
{
19 (autoconf
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
21 echo "You must have autoconf installed to compile libvncserver."
22 echo "Download the appropriate package for your distribution,"
23 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
27 ($AUTOMAKE --version) < /dev
/null
> /dev
/null
2>&1 ||
{
29 echo "You must have automake installed to compile libvncserver."
30 echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
31 echo "(or a newer version if it is available)"
35 if test "$DIE" -eq 1; then
39 (test -f $srcdir/rfb
/rfb.h
) ||
{
40 echo "You must run this script in the top-level libvncserver directory"
45 echo "I am going to run ./configure with no arguments - if you wish "
46 echo "to pass any to it, please specify them on the $0 command line."
49 $ACLOCAL $ACLOCAL_FLAGS
51 $AUTOMAKE --add-missing --copy
54 echo "Running ./configure --enable-maintainer-mode" "$@"
55 $srcdir/configure
--enable-maintainer-mode "$@"
57 echo "Now type 'make' to compile libvncserver."