tAll automake-generated files removed from CVS; m4 files removed from aclocal.m4, split up, and added to m4 subdirectory. autogen.sh script added to build configure script from constituents. - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 1d0be77e2b611ff206209506cf328a7e48ddb4cd
 (DIR) parent 97a6ef3b649ec3e12d33de86dded9aa1a40284be
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Tue, 16 Apr 2002 15:17:39 +0000
       
       All automake-generated files removed from CVS; m4 files removed from
       aclocal.m4, split up, and added to m4 subdirectory. autogen.sh script added
       tto build configure script from constituents.
       
       
       Diffstat:
         M INSTALL                             |       5 +++++
         D Makefile.in                         |     413 -------------------------------
         D aclocal.m4                          |    1493 -------------------------------
         A autogen.sh                          |     166 +++++++++++++++++++++++++++++++
         M config.h.in                         |       6 ------
         D configure                           |    5670 -------------------------------
         D doc/Makefile.in                     |     265 -------------------------------
         A m4/codeset.m4                       |      17 +++++++++++++++++
         A m4/gettext.m4                       |     370 ++++++++++++++++++++++++++++++
         A m4/glib-2.0.m4                      |     212 ++++++++++++++++++++++++++++++
         A m4/glib-gettext.m4                  |     226 +++++++++++++++++++++++++++++++
         A m4/glib.m4                          |     196 +++++++++++++++++++++++++++++++
         A m4/gtk-2.0.m4                       |     196 +++++++++++++++++++++++++++++++
         A m4/gtk.m4                           |     194 ++++++++++++++++++++++++++++++
         A m4/iconv.m4                         |      69 ++++++++++++++++++++++++++++++
         D src/Makefile.in                     |     466 -------------------------------
         D src/curses_client/Makefile.in       |     327 -------------------------------
         D src/cursesport/Makefile.in          |     328 -------------------------------
         D src/gtkport/Makefile.in             |     327 -------------------------------
         M src/gtkport/gtkport.h               |       1 +
         D src/gui_client/Makefile.in          |     330 -------------------------------
       
       21 files changed, 1652 insertions(+), 9625 deletions(-)
       ---
 (DIR) diff --git a/INSTALL b/INSTALL
       t@@ -30,6 +30,11 @@ dopewars installation should require no more than the following:-
                make
                make install
        
       +(To build a CVS version, you must have the automake and autoconf packages
       +installed. Run ./autogen to generate the Makefiles and configure script.
       +You will also need the gettext package if you want to enable NLS support,
       +in order to generate the necessary .po files.)
       +
        (If you also wish to build the Windows installer program, see the instructions
        in the win32/ subdirectory of the dopewars source code distribution.)
        
 (DIR) diff --git a/Makefile.in b/Makefile.in
       t@@ -1,413 +0,0 @@
       -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
       -
       -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
       -# This Makefile.in is free software; the Free Software Foundation
       -# gives unlimited permission to copy and/or distribute it,
       -# with or without modifications, as long as this notice is preserved.
       -
       -# This program is distributed in the hope that it will be useful,
       -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
       -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
       -# PARTICULAR PURPOSE.
       -
       -
       -SHELL = @SHELL@
       -
       -srcdir = @srcdir@
       -top_srcdir = @top_srcdir@
       -VPATH = @srcdir@
       -prefix = @prefix@
       -exec_prefix = @exec_prefix@
       -
       -bindir = @bindir@
       -sbindir = @sbindir@
       -libexecdir = @libexecdir@
       -datadir = @datadir@
       -sysconfdir = @sysconfdir@
       -sharedstatedir = @sharedstatedir@
       -localstatedir = @localstatedir@
       -libdir = @libdir@
       -infodir = @infodir@
       -mandir = @mandir@
       -includedir = @includedir@
       -oldincludedir = /usr/include
       -
       -DESTDIR =
       -
       -pkgdatadir = $(datadir)/@PACKAGE@
       -pkglibdir = $(libdir)/@PACKAGE@
       -pkgincludedir = $(includedir)/@PACKAGE@
       -
       -top_builddir = .
       -
       -ACLOCAL = @ACLOCAL@
       -AUTOCONF = @AUTOCONF@
       -AUTOMAKE = @AUTOMAKE@
       -AUTOHEADER = @AUTOHEADER@
       -
       -INSTALL = @INSTALL@
       -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
       -INSTALL_DATA = @INSTALL_DATA@
       -INSTALL_SCRIPT = @INSTALL_SCRIPT@
       -transform = @program_transform_name@
       -
       -NORMAL_INSTALL = :
       -PRE_INSTALL = :
       -POST_INSTALL = :
       -NORMAL_UNINSTALL = :
       -PRE_UNINSTALL = :
       -POST_UNINSTALL = :
       -host_alias = @host_alias@
       -host_triplet = @host@
       -BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
       -CATALOGS = @CATALOGS@
       -CATOBJEXT = @CATOBJEXT@
       -CC = @CC@
       -DATADIRNAME = @DATADIRNAME@
       -GENCAT = @GENCAT@
       -GLIBC21 = @GLIBC21@
       -GLIB_CFLAGS = @GLIB_CFLAGS@
       -GLIB_CONFIG = @GLIB_CONFIG@
       -GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
       -GLIB_LIBS = @GLIB_LIBS@
       -GLIB_MKENUMS = @GLIB_MKENUMS@
       -GMOFILES = @GMOFILES@
       -GMSGFMT = @GMSGFMT@
       -GOBJECT_QUERY = @GOBJECT_QUERY@
       -GTK_CFLAGS = @GTK_CFLAGS@
       -GTK_CONFIG = @GTK_CONFIG@
       -GTK_LIBS = @GTK_LIBS@
       -INSTOBJEXT = @INSTOBJEXT@
       -INTLBISON = @INTLBISON@
       -INTLLIBS = @INTLLIBS@
       -INTLOBJS = @INTLOBJS@
       -INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
       -LIBICONV = @LIBICONV@
       -MAKEINFO = @MAKEINFO@
       -MKINSTALLDIRS = @MKINSTALLDIRS@
       -MSGFMT = @MSGFMT@
       -PACKAGE = @PACKAGE@
       -PKG_CONFIG = @PKG_CONFIG@
       -POFILES = @POFILES@
       -POSUB = @POSUB@
       -RANLIB = @RANLIB@
       -USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
       -USE_NLS = @USE_NLS@
       -VERSION = @VERSION@
       -WNDRES = @WNDRES@
       -localedir = @localedir@
       -
       -SUBDIRS = intl src doc po
       -DESKTOPDIR = ${DESTDIR}${datadir}/gnome/apps/Games
       -DESKTOP = dopewars.desktop
       -SCOREDIR = ${DESTDIR}${datadir}
       -SCORE = ${SCOREDIR}/dopewars.sco
       -EXTRA_DIST = ABOUT-NLS LICENCE dopewars.desktop dopewars.spec \
       -             runindent.sh win32/Makefile win32/README win32/contid.h \
       -             win32/dialogs.rc win32/filelist win32/guifunc.c win32/guifunc.h \
       -             win32/makeinstall.c win32/setup.c win32/setup.ico win32/setup.rc \
       -             win32/uninstall.c win32/uninstall.rc win32/util.c win32/util.h \
       -             win32/zlib/Makefile.nocygwin win32/zlib/README.zlib
       -
       -CLEANFILES = dopewars.sco dopewars-log.txt dopewars-config.txt
       -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
       -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
       -CONFIG_HEADER = config.h
       -CONFIG_CLEAN_FILES = 
       -DIST_COMMON =  README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \
       -INSTALL Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 \
       -config.guess config.h.in config.sub configure configure.in install-sh \
       -missing mkinstalldirs
       -
       -
       -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
       -
       -TAR = gtar
       -GZIP_ENV = --best
       -all: all-redirect
       -.SUFFIXES:
       -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
       -        cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
       -
       -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
       -        cd $(top_builddir) \
       -          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
       -
       -$(ACLOCAL_M4):  configure.in 
       -        cd $(srcdir) && $(ACLOCAL)
       -
       -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
       -        $(SHELL) ./config.status --recheck
       -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
       -        cd $(srcdir) && $(AUTOCONF)
       -
       -config.h: stamp-h
       -        @if test ! -f $@; then \
       -                rm -f stamp-h; \
       -                $(MAKE) stamp-h; \
       -        else :; fi
       -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
       -        cd $(top_builddir) \
       -          && CONFIG_FILES= CONFIG_HEADERS=config.h \
       -             $(SHELL) ./config.status
       -        @echo timestamp > stamp-h 2> /dev/null
       -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
       -        @if test ! -f $@; then \
       -                rm -f $(srcdir)/stamp-h.in; \
       -                $(MAKE) $(srcdir)/stamp-h.in; \
       -        else :; fi
       -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
       -        cd $(top_srcdir) && $(AUTOHEADER)
       -        @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
       -
       -mostlyclean-hdr:
       -
       -clean-hdr:
       -
       -distclean-hdr:
       -        -rm -f config.h
       -
       -maintainer-clean-hdr:
       -
       -# This directory's subdirectories are mostly independent; you can cd
       -# into them and run `make' without going through this Makefile.
       -# To change the values of `make' variables: instead of editing Makefiles,
       -# (1) if the variable is set in `config.status', edit `config.status'
       -#     (which will cause the Makefiles to be regenerated when you run `make');
       -# (2) otherwise, pass the desired values on the `make' command line.
       -
       -@SET_MAKE@
       -
       -all-recursive install-data-recursive install-exec-recursive \
       -installdirs-recursive install-recursive uninstall-recursive  \
       -check-recursive installcheck-recursive info-recursive dvi-recursive:
       -        @set fnord $(MAKEFLAGS); amf=$$2; \
       -        dot_seen=no; \
       -        target=`echo $@ | sed s/-recursive//`; \
       -        list='$(SUBDIRS)'; for subdir in $$list; do \
       -          echo "Making $$target in $$subdir"; \
       -          if test "$$subdir" = "."; then \
       -            dot_seen=yes; \
       -            local_target="$$target-am"; \
       -          else \
       -            local_target="$$target"; \
       -          fi; \
       -          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
       -           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
       -        done; \
       -        if test "$$dot_seen" = "no"; then \
       -          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
       -        fi; test -z "$$fail"
       -
       -mostlyclean-recursive clean-recursive distclean-recursive \
       -maintainer-clean-recursive:
       -        @set fnord $(MAKEFLAGS); amf=$$2; \
       -        dot_seen=no; \
       -        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
       -          rev="$$subdir $$rev"; \
       -          test "$$subdir" != "." || dot_seen=yes; \
       -        done; \
       -        test "$$dot_seen" = "no" && rev=". $$rev"; \
       -        target=`echo $@ | sed s/-recursive//`; \
       -        for subdir in $$rev; do \
       -          echo "Making $$target in $$subdir"; \
       -          if test "$$subdir" = "."; then \
       -            local_target="$$target-am"; \
       -          else \
       -            local_target="$$target"; \
       -          fi; \
       -          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
       -           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
       -        done && test -z "$$fail"
       -tags-recursive:
       -        list='$(SUBDIRS)'; for subdir in $$list; do \
       -          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
       -        done
       -
       -tags: TAGS
       -
       -ID: $(HEADERS) $(SOURCES) $(LISP)
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        here=`pwd` && cd $(srcdir) \
       -          && mkid -f$$here/ID $$unique $(LISP)
       -
       -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
       -        tags=; \
       -        here=`pwd`; \
       -        list='$(SUBDIRS)'; for subdir in $$list; do \
       -   if test "$$subdir" = .; then :; else \
       -            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
       -   fi; \
       -        done; \
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
       -          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
       -
       -mostlyclean-tags:
       -
       -clean-tags:
       -
       -distclean-tags:
       -        -rm -f TAGS ID
       -
       -maintainer-clean-tags:
       -
       -distdir = $(PACKAGE)-$(VERSION)
       -top_distdir = $(distdir)
       -
       -# This target untars the dist file and tries a VPATH configuration.  Then
       -# it guarantees that the distribution is self-contained by making another
       -# tarfile.
       -distcheck: dist
       -        -rm -rf $(distdir)
       -        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
       -        mkdir $(distdir)/=build
       -        mkdir $(distdir)/=inst
       -        dc_install_base=`cd $(distdir)/=inst && pwd`; \
       -        cd $(distdir)/=build \
       -          && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
       -          && $(MAKE) $(AM_MAKEFLAGS) \
       -          && $(MAKE) $(AM_MAKEFLAGS) dvi \
       -          && $(MAKE) $(AM_MAKEFLAGS) check \
       -          && $(MAKE) $(AM_MAKEFLAGS) install \
       -          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
       -          && $(MAKE) $(AM_MAKEFLAGS) dist
       -        -rm -rf $(distdir)
       -        @banner="$(distdir).tar.gz is ready for distribution"; \
       -        dashes=`echo "$$banner" | sed s/./=/g`; \
       -        echo "$$dashes"; \
       -        echo "$$banner"; \
       -        echo "$$dashes"
       -dist: distdir
       -        -chmod -R a+r $(distdir)
       -        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
       -        -rm -rf $(distdir)
       -dist-all: distdir
       -        -chmod -R a+r $(distdir)
       -        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
       -        -rm -rf $(distdir)
       -distdir: $(DISTFILES)
       -        -rm -rf $(distdir)
       -        mkdir $(distdir)
       -        -chmod 777 $(distdir)
       -        here=`cd $(top_builddir) && pwd`; \
       -        top_distdir=`cd $(distdir) && pwd`; \
       -        distdir=`cd $(distdir) && pwd`; \
       -        cd $(top_srcdir) \
       -          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
       -        $(mkinstalldirs) $(distdir)/win32 $(distdir)/win32/zlib
       -        @for file in $(DISTFILES); do \
       -          d=$(srcdir); \
       -          if test -d $$d/$$file; then \
       -            cp -pr $$d/$$file $(distdir)/$$file; \
       -          else \
       -            test -f $(distdir)/$$file \
       -            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
       -            || cp -p $$d/$$file $(distdir)/$$file || :; \
       -          fi; \
       -        done
       -        for subdir in $(SUBDIRS); do \
       -          if test "$$subdir" = .; then :; else \
       -            test -d $(distdir)/$$subdir \
       -            || mkdir $(distdir)/$$subdir \
       -            || exit 1; \
       -            chmod 777 $(distdir)/$$subdir; \
       -            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
       -              || exit 1; \
       -          fi; \
       -        done
       -info-am:
       -info: info-recursive
       -dvi-am:
       -dvi: dvi-recursive
       -check-am: all-am
       -check: check-recursive
       -installcheck-am:
       -installcheck: installcheck-recursive
       -all-recursive-am: config.h
       -        $(MAKE) $(AM_MAKEFLAGS) all-recursive
       -
       -install-exec-am:
       -install-exec: install-exec-recursive
       -
       -install-data-am: install-data-local
       -install-data: install-data-recursive
       -
       -install-am: all-am
       -        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
       -install: install-recursive
       -uninstall-am:
       -uninstall: uninstall-recursive
       -all-am: Makefile config.h
       -all-redirect: all-recursive-am
       -install-strip:
       -        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
       -installdirs: installdirs-recursive
       -installdirs-am:
       -
       -
       -mostlyclean-generic:
       -
       -clean-generic:
       -        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
       -
       -distclean-generic:
       -        -rm -f Makefile $(CONFIG_CLEAN_FILES)
       -        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
       -
       -maintainer-clean-generic:
       -mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic
       -
       -mostlyclean: mostlyclean-recursive
       -
       -clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am
       -
       -clean: clean-recursive
       -
       -distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am
       -
       -distclean: distclean-recursive
       -        -rm -f config.status
       -
       -maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-tags \
       -                maintainer-clean-generic distclean-am
       -        @echo "This command is intended for maintainers to use;"
       -        @echo "it deletes files that may require special tools to rebuild."
       -
       -maintainer-clean: maintainer-clean-recursive
       -        -rm -f config.status
       -
       -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
       -install-data-recursive uninstall-data-recursive install-exec-recursive \
       -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
       -all-recursive check-recursive installcheck-recursive info-recursive \
       -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
       -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
       -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
       -dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
       -install-exec-am install-exec install-data-local install-data-am \
       -install-data install-am install uninstall-am uninstall all-redirect \
       -all-am all installdirs-am installdirs mostlyclean-generic \
       -distclean-generic clean-generic maintainer-clean-generic clean \
       -mostlyclean distclean maintainer-clean
       -
       -
       -install-data-local:
       -        ${mkinstalldirs} ${SCOREDIR}
       -        touch ${SCORE}
       -        @chgrp games ${SCORE} || chgrp wheel ${SCORE} || \
       -          echo "Unable to change group ownership of the high score file"
       -        chmod 0660 ${SCORE}
       -        src/dopewars -C ${SCORE}
       -        ${mkinstalldirs} ${DESKTOPDIR}
       -        ${INSTALL} -m 0644 ${srcdir}/${DESKTOP} ${DESKTOPDIR}
       -
       -# Tell versions [3.59,3.63) of GNU make to not export all variables.
       -# Otherwise a system limit (for SysV at least) may be exceeded.
       -.NOEXPORT:
 (DIR) diff --git a/aclocal.m4 b/aclocal.m4
       t@@ -1,1493 +0,0 @@
       -dnl aclocal.m4 generated automatically by aclocal 1.4-p5
       -
       -dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
       -dnl This file is free software; the Free Software Foundation
       -dnl gives unlimited permission to copy and/or distribute it,
       -dnl with or without modifications, as long as this notice is preserved.
       -
       -dnl This program is distributed in the hope that it will be useful,
       -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
       -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
       -dnl PARTICULAR PURPOSE.
       -
       -# Do all the work for Automake.  This macro actually does too much --
       -# some checks are only needed if your package does certain things.
       -# But this isn't really a big deal.
       -
       -# serial 1
       -
       -dnl Usage:
       -dnl AM_INIT_AUTOMAKE(package,version, [no-define])
       -
       -AC_DEFUN([AM_INIT_AUTOMAKE],
       -[AC_REQUIRE([AC_PROG_INSTALL])
       -PACKAGE=[$1]
       -AC_SUBST(PACKAGE)
       -VERSION=[$2]
       -AC_SUBST(VERSION)
       -dnl test to see if srcdir already configured
       -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
       -  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
       -fi
       -ifelse([$3],,
       -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
       -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
       -AC_REQUIRE([AM_SANITY_CHECK])
       -AC_REQUIRE([AC_ARG_PROGRAM])
       -dnl FIXME This is truly gross.
       -missing_dir=`cd $ac_aux_dir && pwd`
       -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
       -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
       -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
       -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
       -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
       -AC_REQUIRE([AC_PROG_MAKE_SET])])
       -
       -#
       -# Check to make sure that the build environment is sane.
       -#
       -
       -AC_DEFUN([AM_SANITY_CHECK],
       -[AC_MSG_CHECKING([whether build environment is sane])
       -# Just in case
       -sleep 1
       -echo timestamp > conftestfile
       -# Do `set' in a subshell so we don't clobber the current shell's
       -# arguments.  Must try -L first in case configure is actually a
       -# symlink; some systems play weird games with the mod time of symlinks
       -# (eg FreeBSD returns the mod time of the symlink's containing
       -# directory).
       -if (
       -   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
       -   if test "[$]*" = "X"; then
       -      # -L didn't work.
       -      set X `ls -t $srcdir/configure conftestfile`
       -   fi
       -   if test "[$]*" != "X $srcdir/configure conftestfile" \
       -      && test "[$]*" != "X conftestfile $srcdir/configure"; then
       -
       -      # If neither matched, then we have a broken ls.  This can happen
       -      # if, for instance, CONFIG_SHELL is bash and it inherits a
       -      # broken ls alias from the environment.  This has actually
       -      # happened.  Such a system could not be considered "sane".
       -      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
       -alias in your environment])
       -   fi
       -
       -   test "[$]2" = conftestfile
       -   )
       -then
       -   # Ok.
       -   :
       -else
       -   AC_MSG_ERROR([newly created file is older than distributed files!
       -Check your system clock])
       -fi
       -rm -f conftest*
       -AC_MSG_RESULT(yes)])
       -
       -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
       -dnl The program must properly implement --version.
       -AC_DEFUN([AM_MISSING_PROG],
       -[AC_MSG_CHECKING(for working $2)
       -# Run test in a subshell; some versions of sh will print an error if
       -# an executable is not found, even if stderr is redirected.
       -# Redirect stdin to placate older versions of autoconf.  Sigh.
       -if ($2 --version) < /dev/null > /dev/null 2>&1; then
       -   $1=$2
       -   AC_MSG_RESULT(found)
       -else
       -   $1="$3/missing $2"
       -   AC_MSG_RESULT(missing)
       -fi
       -AC_SUBST($1)])
       -
       -# Like AC_CONFIG_HEADER, but automatically create stamp file.
       -
       -AC_DEFUN([AM_CONFIG_HEADER],
       -[AC_PREREQ([2.12])
       -AC_CONFIG_HEADER([$1])
       -dnl When config.status generates a header, we must update the stamp-h file.
       -dnl This file resides in the same directory as the config header
       -dnl that is generated.  We must strip everything past the first ":",
       -dnl and everything past the last "/".
       -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
       -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
       -<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
       -<<am_indx=1
       -for am_file in <<$1>>; do
       -  case " <<$>>CONFIG_HEADERS " in
       -  *" <<$>>am_file "*<<)>>
       -    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
       -    ;;
       -  esac
       -  am_indx=`expr "<<$>>am_indx" + 1`
       -done<<>>dnl>>)
       -changequote([,]))])
       -
       -#serial 1
       -# This test replaces the one in autoconf.
       -# Currently this macro should have the same name as the autoconf macro
       -# because gettext's gettext.m4 (distributed in the automake package)
       -# still uses it.  Otherwise, the use in gettext.m4 makes autoheader
       -# give these diagnostics:
       -#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
       -#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
       -
       -undefine([AC_ISC_POSIX])
       -
       -AC_DEFUN([AC_ISC_POSIX],
       -  [
       -    dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
       -    AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
       -  ]
       -)
       -
       -# Configure paths for GLIB
       -# Owen Taylor     1997-2001
       -
       -dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
       -dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or 
       -dnl gthread is specified in MODULES, pass to pkg-config
       -dnl
       -AC_DEFUN(AM_PATH_GLIB_2_0,
       -[dnl 
       -dnl Get the cflags and libraries from pkg-config
       -dnl
       -AC_ARG_ENABLE(glibtest, [  --disable-glibtest      do not try to compile and run a test GLIB program],
       -                    , enable_glibtest=yes)
       -
       -  pkg_config_args=glib-2.0
       -  for module in . $4
       -  do
       -      case "$module" in
       -         gmodule) 
       -             pkg_config_args="$pkg_config_args gmodule-2.0"
       -         ;;
       -         gobject) 
       -             pkg_config_args="$pkg_config_args gobject-2.0"
       -         ;;
       -         gthread) 
       -             pkg_config_args="$pkg_config_args gthread-2.0"
       -         ;;
       -      esac
       -  done
       -
       -  AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
       -
       -  no_glib=""
       -
       -  if test x$PKG_CONFIG != xno ; then
       -    if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
       -      :
       -    else
       -      echo *** pkg-config too old; version 0.7 or better required.
       -      no_glib=yes
       -      PKG_CONFIG=no
       -    fi
       -  else
       -    no_glib=yes
       -  fi
       -
       -  min_glib_version=ifelse([$1], ,2.0.0,$1)
       -  AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
       -
       -  if test x$PKG_CONFIG != xno ; then
       -    ## don't try to run the test against uninstalled libtool libs
       -    if $PKG_CONFIG --uninstalled $pkg_config_args; then
       -          echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
       -          enable_glibtest=no
       -    fi
       -
       -    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
       -          :
       -    else
       -          no_glib=yes
       -    fi
       -  fi
       -
       -  if test x"$no_glib" = x ; then
       -    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
       -    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
       -    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
       -
       -    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
       -    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
       -    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
       -    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
       -    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
       -    if test "x$enable_glibtest" = "xyes" ; then
       -      ac_save_CFLAGS="$CFLAGS"
       -      ac_save_LIBS="$LIBS"
       -      CFLAGS="$CFLAGS $GLIB_CFLAGS"
       -      LIBS="$GLIB_LIBS $LIBS"
       -dnl
       -dnl Now check if the installed GLIB is sufficiently new. (Also sanity
       -dnl checks the results of pkg-config to some extent)
       -dnl
       -      rm -f conf.glibtest
       -      AC_TRY_RUN([
       -#include <glib.h>
       -#include <stdio.h>
       -#include <stdlib.h>
       -
       -int 
       -main ()
       -{
       -  int major, minor, micro;
       -  char *tmp_version;
       -
       -  system ("touch conf.glibtest");
       -
       -  /* HP/UX 9 (%@#!) writes to sscanf strings */
       -  tmp_version = g_strdup("$min_glib_version");
       -  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       -     printf("%s, bad version string\n", "$min_glib_version");
       -     exit(1);
       -   }
       -
       -  if ((glib_major_version != $glib_config_major_version) ||
       -      (glib_minor_version != $glib_config_minor_version) ||
       -      (glib_micro_version != $glib_config_micro_version))
       -    {
       -      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
       -             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
       -             glib_major_version, glib_minor_version, glib_micro_version);
       -      printf ("*** was found! If pkg-config was correct, then it is best\n");
       -      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
       -      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       -      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       -      printf("*** required on your system.\n");
       -      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
       -      printf("*** to point to the correct configuration files\n");
       -    } 
       -  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
       -           (glib_minor_version != GLIB_MINOR_VERSION) ||
       -           (glib_micro_version != GLIB_MICRO_VERSION))
       -    {
       -      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
       -             GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
       -      printf("*** library (version %d.%d.%d)\n",
       -             glib_major_version, glib_minor_version, glib_micro_version);
       -    }
       -  else
       -    {
       -      if ((glib_major_version > major) ||
       -        ((glib_major_version == major) && (glib_minor_version > minor)) ||
       -        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
       -      {
       -        return 0;
       -       }
       -     else
       -      {
       -        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
       -               glib_major_version, glib_minor_version, glib_micro_version);
       -        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
       -               major, minor, micro);
       -        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
       -        printf("***\n");
       -        printf("*** If you have already installed a sufficiently new version, this error\n");
       -        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
       -        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       -        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
       -        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
       -        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       -        printf("*** so that the correct libraries are found at run-time))\n");
       -      }
       -    }
       -  return 1;
       -}
       -],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
       -       CFLAGS="$ac_save_CFLAGS"
       -       LIBS="$ac_save_LIBS"
       -     fi
       -  fi
       -  if test "x$no_glib" = x ; then
       -     AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
       -     ifelse([$2], , :, [$2])     
       -  else
       -     AC_MSG_RESULT(no)
       -     if test "$PKG_CONFIG" = "no" ; then
       -       echo "*** A new enough version of pkg-config was not found."
       -       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
       -     else
       -       if test -f conf.glibtest ; then
       -        :
       -       else
       -          echo "*** Could not run GLIB test program, checking why..."
       -          CFLAGS="$CFLAGS $GLIB_CFLAGS"
       -          LIBS="$LIBS $GLIB_LIBS"
       -          AC_TRY_LINK([
       -#include <glib.h>
       -#include <stdio.h>
       -],      [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
       -        [ echo "*** The test program compiled, but did not run. This usually means"
       -          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
       -          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
       -          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       -          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       -          echo "*** is required on your system"
       -          echo "***"
       -          echo "*** If you have an old version installed, it is best to remove it, although"
       -          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
       -        [ echo "*** The test program failed to compile or link. See the file config.log for the"
       -          echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
       -          echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
       -          echo "*** may want to edit the pkg-config script: $PKG_CONFIG" ])
       -          CFLAGS="$ac_save_CFLAGS"
       -          LIBS="$ac_save_LIBS"
       -       fi
       -     fi
       -     GLIB_CFLAGS=""
       -     GLIB_LIBS=""
       -     GLIB_GENMARSHAL=""
       -     GOBJECT_QUERY=""
       -     GLIB_MKENUMS=""
       -     ifelse([$3], , :, [$3])
       -  fi
       -  AC_SUBST(GLIB_CFLAGS)
       -  AC_SUBST(GLIB_LIBS)
       -  AC_SUBST(GLIB_GENMARSHAL)
       -  AC_SUBST(GOBJECT_QUERY)
       -  AC_SUBST(GLIB_MKENUMS)
       -  rm -f conf.glibtest
       -])
       -
       -# Configure paths for GLIB
       -# Owen Taylor     97-11-3
       -
       -dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
       -dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or 
       -dnl gthread is specified in MODULES, pass to glib-config
       -dnl
       -AC_DEFUN(AM_PATH_GLIB,
       -[dnl 
       -dnl Get the cflags and libraries from the glib-config script
       -dnl
       -AC_ARG_WITH(glib-prefix,[  --with-glib-prefix=PFX   Prefix where GLIB is installed (optional)],
       -            glib_config_prefix="$withval", glib_config_prefix="")
       -AC_ARG_WITH(glib-exec-prefix,[  --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)],
       -            glib_config_exec_prefix="$withval", glib_config_exec_prefix="")
       -AC_ARG_ENABLE(glibtest, [  --disable-glibtest       Do not try to compile and run a test GLIB program],
       -                    , enable_glibtest=yes)
       -
       -  if test x$glib_config_exec_prefix != x ; then
       -     glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
       -     if test x${GLIB_CONFIG+set} != xset ; then
       -        GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
       -     fi
       -  fi
       -  if test x$glib_config_prefix != x ; then
       -     glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
       -     if test x${GLIB_CONFIG+set} != xset ; then
       -        GLIB_CONFIG=$glib_config_prefix/bin/glib-config
       -     fi
       -  fi
       -
       -  for module in . $4
       -  do
       -      case "$module" in
       -         gmodule) 
       -             glib_config_args="$glib_config_args gmodule"
       -         ;;
       -         gthread) 
       -             glib_config_args="$glib_config_args gthread"
       -         ;;
       -      esac
       -  done
       -
       -  AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
       -  min_glib_version=ifelse([$1], ,0.99.7,$1)
       -  AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
       -  no_glib=""
       -  if test "$GLIB_CONFIG" = "no" ; then
       -    no_glib=yes
       -  else
       -    GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
       -    GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
       -    glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
       -    glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
       -    glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
       -    if test "x$enable_glibtest" = "xyes" ; then
       -      ac_save_CFLAGS="$CFLAGS"
       -      ac_save_LIBS="$LIBS"
       -      CFLAGS="$CFLAGS $GLIB_CFLAGS"
       -      LIBS="$GLIB_LIBS $LIBS"
       -dnl
       -dnl Now check if the installed GLIB is sufficiently new. (Also sanity
       -dnl checks the results of glib-config to some extent
       -dnl
       -      rm -f conf.glibtest
       -      AC_TRY_RUN([
       -#include <glib.h>
       -#include <stdio.h>
       -#include <stdlib.h>
       -
       -int 
       -main ()
       -{
       -  int major, minor, micro;
       -  char *tmp_version;
       -
       -  system ("touch conf.glibtest");
       -
       -  /* HP/UX 9 (%@#!) writes to sscanf strings */
       -  tmp_version = g_strdup("$min_glib_version");
       -  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       -     printf("%s, bad version string\n", "$min_glib_version");
       -     exit(1);
       -   }
       -
       -  if ((glib_major_version != $glib_config_major_version) ||
       -      (glib_minor_version != $glib_config_minor_version) ||
       -      (glib_micro_version != $glib_config_micro_version))
       -    {
       -      printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
       -             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
       -             glib_major_version, glib_minor_version, glib_micro_version);
       -      printf ("*** was found! If glib-config was correct, then it is best\n");
       -      printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
       -      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       -      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       -      printf("*** required on your system.\n");
       -      printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
       -      printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
       -      printf("*** before re-running configure\n");
       -    } 
       -  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
       -           (glib_minor_version != GLIB_MINOR_VERSION) ||
       -           (glib_micro_version != GLIB_MICRO_VERSION))
       -    {
       -      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
       -             GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
       -      printf("*** library (version %d.%d.%d)\n",
       -             glib_major_version, glib_minor_version, glib_micro_version);
       -    }
       -  else
       -    {
       -      if ((glib_major_version > major) ||
       -        ((glib_major_version == major) && (glib_minor_version > minor)) ||
       -        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
       -      {
       -        return 0;
       -       }
       -     else
       -      {
       -        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
       -               glib_major_version, glib_minor_version, glib_micro_version);
       -        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
       -               major, minor, micro);
       -        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
       -        printf("***\n");
       -        printf("*** If you have already installed a sufficiently new version, this error\n");
       -        printf("*** probably means that the wrong copy of the glib-config shell script is\n");
       -        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       -        printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
       -        printf("*** correct copy of glib-config. (In this case, you will have to\n");
       -        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       -        printf("*** so that the correct libraries are found at run-time))\n");
       -      }
       -    }
       -  return 1;
       -}
       -],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
       -       CFLAGS="$ac_save_CFLAGS"
       -       LIBS="$ac_save_LIBS"
       -     fi
       -  fi
       -  if test "x$no_glib" = x ; then
       -     AC_MSG_RESULT(yes)
       -     ifelse([$2], , :, [$2])     
       -  else
       -     AC_MSG_RESULT(no)
       -     if test "$GLIB_CONFIG" = "no" ; then
       -       echo "*** The glib-config script installed by GLIB could not be found"
       -       echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
       -       echo "*** your path, or set the GLIB_CONFIG environment variable to the"
       -       echo "*** full path to glib-config."
       -     else
       -       if test -f conf.glibtest ; then
       -        :
       -       else
       -          echo "*** Could not run GLIB test program, checking why..."
       -          CFLAGS="$CFLAGS $GLIB_CFLAGS"
       -          LIBS="$LIBS $GLIB_LIBS"
       -          AC_TRY_LINK([
       -#include <glib.h>
       -#include <stdio.h>
       -],      [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
       -        [ echo "*** The test program compiled, but did not run. This usually means"
       -          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
       -          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
       -          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       -          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       -          echo "*** is required on your system"
       -          echo "***"
       -          echo "*** If you have an old version installed, it is best to remove it, although"
       -          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
       -          echo "***"
       -          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
       -          echo "*** came with the system with the command"
       -          echo "***"
       -          echo "***    rpm --erase --nodeps gtk gtk-devel" ],
       -        [ echo "*** The test program failed to compile or link. See the file config.log for the"
       -          echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
       -          echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
       -          echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ])
       -          CFLAGS="$ac_save_CFLAGS"
       -          LIBS="$ac_save_LIBS"
       -       fi
       -     fi
       -     GLIB_CFLAGS=""
       -     GLIB_LIBS=""
       -     ifelse([$3], , :, [$3])
       -  fi
       -  AC_SUBST(GLIB_CFLAGS)
       -  AC_SUBST(GLIB_LIBS)
       -  rm -f conf.glibtest
       -])
       -
       -# Configure paths for GTK+
       -# Owen Taylor     1997-2001
       -
       -dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
       -dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, 
       -dnl pass to pkg-config
       -dnl
       -AC_DEFUN(AM_PATH_GTK_2_0,
       -[dnl 
       -dnl Get the cflags and libraries from pkg-config
       -dnl
       -AC_ARG_ENABLE(gtktest, [  --disable-gtktest       do not try to compile and run a test GTK+ program],
       -                    , enable_gtktest=yes)
       -
       -  pkg_config_args=gtk+-2.0
       -  for module in . $4
       -  do
       -      case "$module" in
       -         gthread) 
       -             pkg_config_args="$pkg_config_args gthread-2.0"
       -         ;;
       -      esac
       -  done
       -
       -  no_gtk=""
       -
       -  AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
       -
       -  if test x$PKG_CONFIG != xno ; then
       -    if pkg-config --atleast-pkgconfig-version 0.7 ; then
       -      :
       -    else
       -      echo *** pkg-config too old; version 0.7 or better required.
       -      no_gtk=yes
       -      PKG_CONFIG=no
       -    fi
       -  else
       -    no_gtk=yes
       -  fi
       -
       -  min_gtk_version=ifelse([$1], ,2.0.0,$1)
       -  AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
       -
       -  if test x$PKG_CONFIG != xno ; then
       -    ## don't try to run the test against uninstalled libtool libs
       -    if $PKG_CONFIG --uninstalled $pkg_config_args; then
       -          echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
       -          enable_gtktest=no
       -    fi
       -
       -    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
       -          :
       -    else
       -          no_gtk=yes
       -    fi
       -  fi
       -
       -  if test x"$no_gtk" = x ; then
       -    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
       -    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
       -    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
       -    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
       -    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
       -    if test "x$enable_gtktest" = "xyes" ; then
       -      ac_save_CFLAGS="$CFLAGS"
       -      ac_save_LIBS="$LIBS"
       -      CFLAGS="$CFLAGS $GTK_CFLAGS"
       -      LIBS="$GTK_LIBS $LIBS"
       -dnl
       -dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
       -dnl checks the results of pkg-config to some extent)
       -dnl
       -      rm -f conf.gtktest
       -      AC_TRY_RUN([
       -#include <gtk/gtk.h>
       -#include <stdio.h>
       -#include <stdlib.h>
       -
       -int 
       -main ()
       -{
       -  int major, minor, micro;
       -  char *tmp_version;
       -
       -  system ("touch conf.gtktest");
       -
       -  /* HP/UX 9 (%@#!) writes to sscanf strings */
       -  tmp_version = g_strdup("$min_gtk_version");
       -  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       -     printf("%s, bad version string\n", "$min_gtk_version");
       -     exit(1);
       -   }
       -
       -  if ((gtk_major_version != $gtk_config_major_version) ||
       -      (gtk_minor_version != $gtk_config_minor_version) ||
       -      (gtk_micro_version != $gtk_config_micro_version))
       -    {
       -      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
       -             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
       -             gtk_major_version, gtk_minor_version, gtk_micro_version);
       -      printf ("*** was found! If pkg-config was correct, then it is best\n");
       -      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
       -      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       -      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       -      printf("*** required on your system.\n");
       -      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
       -      printf("*** to point to the correct configuration files\n");
       -    } 
       -  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
       -           (gtk_minor_version != GTK_MINOR_VERSION) ||
       -           (gtk_micro_version != GTK_MICRO_VERSION))
       -    {
       -      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
       -             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
       -      printf("*** library (version %d.%d.%d)\n",
       -             gtk_major_version, gtk_minor_version, gtk_micro_version);
       -    }
       -  else
       -    {
       -      if ((gtk_major_version > major) ||
       -        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
       -        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
       -      {
       -        return 0;
       -       }
       -     else
       -      {
       -        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
       -               gtk_major_version, gtk_minor_version, gtk_micro_version);
       -        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
       -               major, minor, micro);
       -        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
       -        printf("***\n");
       -        printf("*** If you have already installed a sufficiently new version, this error\n");
       -        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
       -        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       -        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
       -        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
       -        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       -        printf("*** so that the correct libraries are found at run-time))\n");
       -      }
       -    }
       -  return 1;
       -}
       -],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
       -       CFLAGS="$ac_save_CFLAGS"
       -       LIBS="$ac_save_LIBS"
       -     fi
       -  fi
       -  if test "x$no_gtk" = x ; then
       -     AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
       -     ifelse([$2], , :, [$2])     
       -  else
       -     AC_MSG_RESULT(no)
       -     if test "$PKG_CONFIG" = "no" ; then
       -       echo "*** A new enough version of pkg-config was not found."
       -       echo "*** See http://pkgconfig.sourceforge.net"
       -     else
       -       if test -f conf.gtktest ; then
       -        :
       -       else
       -          echo "*** Could not run GTK+ test program, checking why..."
       -          CFLAGS="$CFLAGS $GTK_CFLAGS"
       -          LIBS="$LIBS $GTK_LIBS"
       -          AC_TRY_LINK([
       -#include <gtk/gtk.h>
       -#include <stdio.h>
       -],      [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
       -        [ echo "*** The test program compiled, but did not run. This usually means"
       -          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
       -          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
       -          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       -          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       -          echo "*** is required on your system"
       -          echo "***"
       -          echo "*** If you have an old version installed, it is best to remove it, although"
       -          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
       -        [ echo "*** The test program failed to compile or link. See the file config.log for the"
       -          echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
       -          echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
       -          echo "*** may want to edit the pkg-config script: $PKG_CONFIG" ])
       -          CFLAGS="$ac_save_CFLAGS"
       -          LIBS="$ac_save_LIBS"
       -       fi
       -     fi
       -     GTK_CFLAGS=""
       -     GTK_LIBS=""
       -     ifelse([$3], , :, [$3])
       -  fi
       -  AC_SUBST(GTK_CFLAGS)
       -  AC_SUBST(GTK_LIBS)
       -  rm -f conf.gtktest
       -])
       -
       -# Configure paths for GTK+
       -# Owen Taylor     97-11-3
       -
       -dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
       -dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
       -dnl
       -AC_DEFUN(AM_PATH_GTK,
       -[dnl 
       -dnl Get the cflags and libraries from the gtk-config script
       -dnl
       -AC_ARG_WITH(gtk-prefix,[  --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)],
       -            gtk_config_prefix="$withval", gtk_config_prefix="")
       -AC_ARG_WITH(gtk-exec-prefix,[  --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
       -            gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
       -AC_ARG_ENABLE(gtktest, [  --disable-gtktest       Do not try to compile and run a test GTK program],
       -                    , enable_gtktest=yes)
       -
       -  for module in . $4
       -  do
       -      case "$module" in
       -         gthread) 
       -             gtk_config_args="$gtk_config_args gthread"
       -         ;;
       -      esac
       -  done
       -
       -  if test x$gtk_config_exec_prefix != x ; then
       -     gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
       -     if test x${GTK_CONFIG+set} != xset ; then
       -        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
       -     fi
       -  fi
       -  if test x$gtk_config_prefix != x ; then
       -     gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
       -     if test x${GTK_CONFIG+set} != xset ; then
       -        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
       -     fi
       -  fi
       -
       -  AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
       -  min_gtk_version=ifelse([$1], ,0.99.7,$1)
       -  AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
       -  no_gtk=""
       -  if test "$GTK_CONFIG" = "no" ; then
       -    no_gtk=yes
       -  else
       -    GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
       -    GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
       -    gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
       -    gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
       -    gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
       -           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
       -    if test "x$enable_gtktest" = "xyes" ; then
       -      ac_save_CFLAGS="$CFLAGS"
       -      ac_save_LIBS="$LIBS"
       -      CFLAGS="$CFLAGS $GTK_CFLAGS"
       -      LIBS="$GTK_LIBS $LIBS"
       -dnl
       -dnl Now check if the installed GTK is sufficiently new. (Also sanity
       -dnl checks the results of gtk-config to some extent
       -dnl
       -      rm -f conf.gtktest
       -      AC_TRY_RUN([
       -#include <gtk/gtk.h>
       -#include <stdio.h>
       -#include <stdlib.h>
       -
       -int 
       -main ()
       -{
       -  int major, minor, micro;
       -  char *tmp_version;
       -
       -  system ("touch conf.gtktest");
       -
       -  /* HP/UX 9 (%@#!) writes to sscanf strings */
       -  tmp_version = g_strdup("$min_gtk_version");
       -  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       -     printf("%s, bad version string\n", "$min_gtk_version");
       -     exit(1);
       -   }
       -
       -  if ((gtk_major_version != $gtk_config_major_version) ||
       -      (gtk_minor_version != $gtk_config_minor_version) ||
       -      (gtk_micro_version != $gtk_config_micro_version))
       -    {
       -      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
       -             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
       -             gtk_major_version, gtk_minor_version, gtk_micro_version);
       -      printf ("*** was found! If gtk-config was correct, then it is best\n");
       -      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
       -      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       -      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       -      printf("*** required on your system.\n");
       -      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
       -      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
       -      printf("*** before re-running configure\n");
       -    } 
       -#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
       -  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
       -           (gtk_minor_version != GTK_MINOR_VERSION) ||
       -           (gtk_micro_version != GTK_MICRO_VERSION))
       -    {
       -      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
       -             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
       -      printf("*** library (version %d.%d.%d)\n",
       -             gtk_major_version, gtk_minor_version, gtk_micro_version);
       -    }
       -#endif /* defined (GTK_MAJOR_VERSION) ... */
       -  else
       -    {
       -      if ((gtk_major_version > major) ||
       -        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
       -        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
       -      {
       -        return 0;
       -       }
       -     else
       -      {
       -        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
       -               gtk_major_version, gtk_minor_version, gtk_micro_version);
       -        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
       -               major, minor, micro);
       -        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
       -        printf("***\n");
       -        printf("*** If you have already installed a sufficiently new version, this error\n");
       -        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
       -        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       -        printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
       -        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
       -        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       -        printf("*** so that the correct libraries are found at run-time))\n");
       -      }
       -    }
       -  return 1;
       -}
       -],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
       -       CFLAGS="$ac_save_CFLAGS"
       -       LIBS="$ac_save_LIBS"
       -     fi
       -  fi
       -  if test "x$no_gtk" = x ; then
       -     AC_MSG_RESULT(yes)
       -     ifelse([$2], , :, [$2])     
       -  else
       -     AC_MSG_RESULT(no)
       -     if test "$GTK_CONFIG" = "no" ; then
       -       echo "*** The gtk-config script installed by GTK could not be found"
       -       echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
       -       echo "*** your path, or set the GTK_CONFIG environment variable to the"
       -       echo "*** full path to gtk-config."
       -     else
       -       if test -f conf.gtktest ; then
       -        :
       -       else
       -          echo "*** Could not run GTK test program, checking why..."
       -          CFLAGS="$CFLAGS $GTK_CFLAGS"
       -          LIBS="$LIBS $GTK_LIBS"
       -          AC_TRY_LINK([
       -#include <gtk/gtk.h>
       -#include <stdio.h>
       -],      [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
       -        [ echo "*** The test program compiled, but did not run. This usually means"
       -          echo "*** that the run-time linker is not finding GTK or finding the wrong"
       -          echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
       -          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       -          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       -          echo "*** is required on your system"
       -          echo "***"
       -          echo "*** If you have an old version installed, it is best to remove it, although"
       -          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
       -          echo "***"
       -          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
       -          echo "*** came with the system with the command"
       -          echo "***"
       -          echo "***    rpm --erase --nodeps gtk gtk-devel" ],
       -        [ echo "*** The test program failed to compile or link. See the file config.log for the"
       -          echo "*** exact error that occured. This usually means GTK was incorrectly installed"
       -          echo "*** or that you have moved GTK since it was installed. In the latter case, you"
       -          echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
       -          CFLAGS="$ac_save_CFLAGS"
       -          LIBS="$ac_save_LIBS"
       -       fi
       -     fi
       -     GTK_CFLAGS=""
       -     GTK_LIBS=""
       -     ifelse([$3], , :, [$3])
       -  fi
       -  AC_SUBST(GTK_CFLAGS)
       -  AC_SUBST(GTK_LIBS)
       -  rm -f conf.gtktest
       -])
       -
       -# Macro to add for using GNU gettext.
       -# Ulrich Drepper <drepper@cygnus.com>, 1995.
       -#
       -# This file can be copied and used freely without restrictions.  It can
       -# be used in projects which are not available under the GNU Public License
       -# but which still want to provide support for the GNU gettext functionality.
       -# Please note that the actual code is *not* freely available.
       -
       -# serial 9
       -
       -dnl Usage: AM_WITH_NLS([TOOLSYMBOL], [NEEDSYMBOL], [LIBDIR]).
       -dnl If TOOLSYMBOL is specified and is 'use-libtool', then a libtool library
       -dnl    $(top_builddir)/intl/libintl.la will be created (shared and/or static,
       -dnl    depending on --{enable,disable}-{shared,static} and on the presence of
       -dnl    AM-DISABLE-SHARED). Otherwise, a static library
       -dnl    $(top_builddir)/intl/libintl.a will be created.
       -dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
       -dnl    implementations (in libc or libintl) without the ngettext() function
       -dnl    will be ignored.
       -dnl LIBDIR is used to find the intl libraries.  If empty,
       -dnl    the value `$(top_builddir)/intl/' is used.
       -dnl
       -dnl The result of the configuration is one of three cases:
       -dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
       -dnl    and used.
       -dnl    Catalog format: GNU --> install in $(datadir)
       -dnl    Catalog extension: .mo after installation, .gmo in source tree
       -dnl 2) GNU gettext has been found in the system's C library.
       -dnl    Catalog format: GNU --> install in $(datadir)
       -dnl    Catalog extension: .mo after installation, .gmo in source tree
       -dnl 3) No internationalization, always use English msgid.
       -dnl    Catalog format: none
       -dnl    Catalog extension: none
       -dnl The use of .gmo is historical (it was needed to avoid overwriting the
       -dnl GNU format catalogs when building on a platform with an X/Open gettext),
       -dnl but we keep it in order not to force irrelevant filename changes on the
       -dnl maintainers.
       -dnl
       -AC_DEFUN([AM_WITH_NLS],
       -  [AC_MSG_CHECKING([whether NLS is requested])
       -    dnl Default is enabled NLS
       -    AC_ARG_ENABLE(nls,
       -      [  --disable-nls           do not use Native Language Support],
       -      USE_NLS=$enableval, USE_NLS=yes)
       -    AC_MSG_RESULT($USE_NLS)
       -    AC_SUBST(USE_NLS)
       -
       -    BUILD_INCLUDED_LIBINTL=no
       -    USE_INCLUDED_LIBINTL=no
       -    INTLLIBS=
       -
       -    dnl If we use NLS figure out what method
       -    if test "$USE_NLS" = "yes"; then
       -      AC_DEFINE(ENABLE_NLS, 1,
       -        [Define to 1 if translation of program messages to the user's native language
       -   is requested.])
       -      AC_MSG_CHECKING([whether included gettext is requested])
       -      AC_ARG_WITH(included-gettext,
       -        [  --with-included-gettext use the GNU gettext library included here],
       -        nls_cv_force_use_gnu_gettext=$withval,
       -        nls_cv_force_use_gnu_gettext=no)
       -      AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
       -
       -      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
       -      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
       -        dnl User does not insist on using GNU NLS library.  Figure out what
       -        dnl to use.  If GNU gettext is available we use this.  Else we have
       -        dnl to fall back to GNU NLS library.
       -        CATOBJEXT=NONE
       -
       -        dnl Add a version number to the cache macros.
       -        define(gt_cv_func_gnugettext_libc, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libc])
       -        define(gt_cv_func_gnugettext_libintl, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libintl])
       -
       -        AC_CHECK_HEADER(libintl.h,
       -          [AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
       -            [AC_TRY_LINK([#include <libintl.h>
       -extern int _nl_msg_cat_cntr;],
       -               [bindtextdomain ("", "");
       -return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
       -               gt_cv_func_gnugettext_libc=yes,
       -               gt_cv_func_gnugettext_libc=no)])
       -
       -           if test "$gt_cv_func_gnugettext_libc" != "yes"; then
       -             AC_CACHE_CHECK([for GNU gettext in libintl],
       -               gt_cv_func_gnugettext_libintl,
       -               [gt_save_LIBS="$LIBS"
       -                LIBS="$LIBS -lintl $LIBICONV"
       -                AC_TRY_LINK([#include <libintl.h>
       -extern int _nl_msg_cat_cntr;],
       -                  [bindtextdomain ("", "");
       -return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
       -                  gt_cv_func_gnugettext_libintl=yes,
       -                  gt_cv_func_gnugettext_libintl=no)
       -                LIBS="$gt_save_LIBS"])
       -           fi
       -
       -           dnl If an already present or preinstalled GNU gettext() is found,
       -           dnl use it.  But if this macro is used in GNU gettext, and GNU
       -           dnl gettext is already preinstalled in libintl, we update this
       -           dnl libintl.  (Cf. the install rule in intl/Makefile.in.)
       -           if test "$gt_cv_func_gnugettext_libc" = "yes" \
       -              || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
       -                   && test "$PACKAGE" != gettext; }; then
       -             AC_DEFINE(HAVE_GETTEXT, 1,
       -               [Define if the GNU gettext() function is already present or preinstalled.])
       -
       -             if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
       -               dnl If iconv() is in a separate libiconv library, then anyone
       -               dnl linking with libintl{.a,.so} also needs to link with
       -               dnl libiconv.
       -               INTLLIBS="-lintl $LIBICONV"
       -             fi
       -
       -             gt_save_LIBS="$LIBS"
       -             LIBS="$LIBS $INTLLIBS"
       -             AC_CHECK_FUNCS(dcgettext)
       -             LIBS="$gt_save_LIBS"
       -
       -             AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
       -               [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
       -             if test "$MSGFMT" != "no"; then
       -               AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
       -             fi
       -
       -             AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
       -               [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
       -
       -             CATOBJEXT=.gmo
       -           fi
       -        ])
       -
       -        if test "$CATOBJEXT" = "NONE"; then
       -          dnl GNU gettext is not found in the C library.
       -          dnl Fall back on GNU gettext library.
       -          nls_cv_use_gnu_gettext=yes
       -        fi
       -      fi
       -
       -      if test "$nls_cv_use_gnu_gettext" = "yes"; then
       -        dnl Mark actions used to generate GNU NLS library.
       -        INTLOBJS="\$(GETTOBJS)"
       -        AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
       -          [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt)
       -        AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
       -        AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
       -          [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
       -        AC_SUBST(MSGFMT)
       -        BUILD_INCLUDED_LIBINTL=yes
       -        USE_INCLUDED_LIBINTL=yes
       -        CATOBJEXT=.gmo
       -        INTLLIBS="ifelse([$3],[],\$(top_builddir)/intl,[$3])/libintl.ifelse([$1], use-libtool, [l], [])a $LIBICONV"
       -        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
       -      fi
       -
       -      dnl Test whether we really found GNU xgettext.
       -      if test "$XGETTEXT" != ":"; then
       -        dnl If it is no GNU xgettext we define it as : so that the
       -        dnl Makefiles still can work.
       -        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
       -          : ;
       -        else
       -          AC_MSG_RESULT(
       -            [found xgettext program is not GNU xgettext; ignore it])
       -          XGETTEXT=":"
       -        fi
       -      fi
       -
       -      dnl We need to process the po/ directory.
       -      POSUB=po
       -    fi
       -    AC_OUTPUT_COMMANDS(
       -     [for ac_file in $CONFIG_FILES; do
       -        # Support "outfile[:infile[:infile...]]"
       -        case "$ac_file" in
       -          *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
       -        esac
       -        # PO directories have a Makefile.in generated from Makefile.in.in.
       -        case "$ac_file" in */Makefile.in)
       -          # Adjust a relative srcdir.
       -          ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
       -          ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
       -          ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
       -          case "$ac_given_srcdir" in
       -            .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
       -            /*) top_srcdir="$ac_given_srcdir" ;;
       -            *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
       -          esac
       -          if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
       -            rm -f "$ac_dir/POTFILES"
       -            echo creating "$ac_dir/POTFILES"
       -            sed -e "/^#/d" -e "/^[         ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
       -            echo creating "$ac_dir/Makefile"
       -            sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
       -          fi
       -          ;;
       -        esac
       -      done])
       -
       -
       -    dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
       -    dnl to 'yes' because some of the testsuite requires it.
       -    if test "$PACKAGE" = gettext; then
       -      BUILD_INCLUDED_LIBINTL=yes
       -    fi
       -
       -    dnl intl/plural.c is generated from intl/plural.y. It requires bison,
       -    dnl because plural.y uses bison specific features. It requires at least
       -    dnl bison-1.26 because earlier versions generate a plural.c that doesn't
       -    dnl compile.
       -    dnl bison is only needed for the maintainer (who touches plural.y). But in
       -    dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
       -    dnl the rule in general Makefile. Now, some people carelessly touch the
       -    dnl files or have a broken "make" program, hence the plural.c rule will
       -    dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
       -    dnl present or too old.
       -    AC_CHECK_PROGS([INTLBISON], [bison])
       -    if test -z "$INTLBISON"; then
       -      ac_verc_fail=yes
       -    else
       -      dnl Found it, now check the version.
       -      AC_MSG_CHECKING([version of bison])
       -changequote(<<,>>)dnl
       -      ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
       -      case $ac_prog_version in
       -        '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
       -        1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
       -changequote([,])dnl
       -           ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
       -        *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
       -      esac
       -      AC_MSG_RESULT([$ac_prog_version])
       -    fi
       -    if test $ac_verc_fail = yes; then
       -      INTLBISON=:
       -    fi
       -
       -    dnl These rules are solely for the distribution goal.  While doing this
       -    dnl we only have to keep exactly one list of the available catalogs
       -    dnl in configure.in.
       -    for lang in $ALL_LINGUAS; do
       -      GMOFILES="$GMOFILES $lang.gmo"
       -      POFILES="$POFILES $lang.po"
       -    done
       -
       -    dnl Make all variables we use known to autoconf.
       -    AC_SUBST(BUILD_INCLUDED_LIBINTL)
       -    AC_SUBST(USE_INCLUDED_LIBINTL)
       -    AC_SUBST(CATALOGS)
       -    AC_SUBST(CATOBJEXT)
       -    AC_SUBST(GMOFILES)
       -    AC_SUBST(INTLLIBS)
       -    AC_SUBST(INTLOBJS)
       -    AC_SUBST(POFILES)
       -    AC_SUBST(POSUB)
       -
       -    dnl For backward compatibility. Some configure.ins may be using this.
       -    nls_cv_header_intl=
       -    nls_cv_header_libgt=
       -
       -    dnl For backward compatibility. Some Makefiles may be using this.
       -    DATADIRNAME=share
       -    AC_SUBST(DATADIRNAME)
       -
       -    dnl For backward compatibility. Some Makefiles may be using this.
       -    INSTOBJEXT=.mo
       -    AC_SUBST(INSTOBJEXT)
       -
       -    dnl For backward compatibility. Some Makefiles may be using this.
       -    GENCAT=gencat
       -    AC_SUBST(GENCAT)
       -  ])
       -
       -dnl Usage: Just like AM_WITH_NLS, which see.
       -AC_DEFUN([AM_GNU_GETTEXT],
       -  [AC_REQUIRE([AC_PROG_MAKE_SET])dnl
       -   AC_REQUIRE([AC_PROG_CC])dnl
       -   AC_REQUIRE([AC_CANONICAL_HOST])dnl
       -   AC_REQUIRE([AC_PROG_RANLIB])dnl
       -   AC_REQUIRE([AC_ISC_POSIX])dnl
       -   AC_REQUIRE([AC_HEADER_STDC])dnl
       -   AC_REQUIRE([AC_C_CONST])dnl
       -   AC_REQUIRE([AC_C_INLINE])dnl
       -   AC_REQUIRE([AC_TYPE_OFF_T])dnl
       -   AC_REQUIRE([AC_TYPE_SIZE_T])dnl
       -   AC_REQUIRE([AC_FUNC_ALLOCA])dnl
       -   AC_REQUIRE([AC_FUNC_MMAP])dnl
       -   AC_REQUIRE([jm_GLIBC21])dnl
       -
       -   AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
       -stdlib.h string.h unistd.h sys/param.h])
       -   AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getcwd getegid geteuid \
       -getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
       -strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
       -
       -   AM_ICONV
       -   AM_LANGINFO_CODESET
       -   AM_LC_MESSAGES
       -   AM_WITH_NLS([$1],[$2],[$3])
       -
       -   if test "x$CATOBJEXT" != "x"; then
       -     if test "x$ALL_LINGUAS" = "x"; then
       -       LINGUAS=
       -     else
       -       AC_MSG_CHECKING(for catalogs to be installed)
       -       NEW_LINGUAS=
       -       for presentlang in $ALL_LINGUAS; do
       -         useit=no
       -         for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
       -           # Use the presentlang catalog if desiredlang is
       -           #   a. equal to presentlang, or
       -           #   b. a variant of presentlang (because in this case,
       -           #      presentlang can be used as a fallback for messages
       -           #      which are not translated in the desiredlang catalog).
       -           case "$desiredlang" in
       -             "$presentlang"*) useit=yes;;
       -           esac
       -         done
       -         if test $useit = yes; then
       -           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
       -         fi
       -       done
       -       LINGUAS=$NEW_LINGUAS
       -       AC_MSG_RESULT($LINGUAS)
       -     fi
       -
       -     dnl Construct list of names of catalog files to be constructed.
       -     if test -n "$LINGUAS"; then
       -       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
       -     fi
       -   fi
       -
       -   dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
       -   dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
       -   dnl Try to locate is.
       -   MKINSTALLDIRS=
       -   if test -n "$ac_aux_dir"; then
       -     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
       -   fi
       -   if test -z "$MKINSTALLDIRS"; then
       -     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
       -   fi
       -   AC_SUBST(MKINSTALLDIRS)
       -
       -   dnl Enable libtool support if the surrounding package wishes it.
       -   INTL_LIBTOOL_SUFFIX_PREFIX=ifelse([$1], use-libtool, [l], [])
       -   AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
       -  ])
       -
       -# Search path for a program which passes the given test.
       -# Ulrich Drepper <drepper@cygnus.com>, 1996.
       -#
       -# This file can be copied and used freely without restrictions.  It can
       -# be used in projects which are not available under the GNU Public License
       -# but which still want to provide support for the GNU gettext functionality.
       -# Please note that the actual code is *not* freely available.
       -
       -# serial 1
       -
       -dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
       -dnl   TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
       -AC_DEFUN([AM_PATH_PROG_WITH_TEST],
       -[# Extract the first word of "$2", so it can be a program name with args.
       -set dummy $2; ac_word=[$]2
       -AC_MSG_CHECKING([for $ac_word])
       -AC_CACHE_VAL(ac_cv_path_$1,
       -[case "[$]$1" in
       -  /*)
       -  ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
       -  for ac_dir in ifelse([$5], , $PATH, [$5]); do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      if [$3]; then
       -        ac_cv_path_$1="$ac_dir/$ac_word"
       -        break
       -      fi
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -dnl If no 4th arg is given, leave the cache variable unset,
       -dnl so AC_PATH_PROGS will keep looking.
       -ifelse([$4], , , [  test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
       -])dnl
       -  ;;
       -esac])dnl
       -$1="$ac_cv_path_$1"
       -if test -n "[$]$1"; then
       -  AC_MSG_RESULT([$]$1)
       -else
       -  AC_MSG_RESULT(no)
       -fi
       -AC_SUBST($1)dnl
       -])
       -
       -#serial 2
       -
       -# Test for the GNU C Library, version 2.1 or newer.
       -# From Bruno Haible.
       -
       -AC_DEFUN([jm_GLIBC21],
       -  [
       -    AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
       -      ac_cv_gnu_library_2_1,
       -      [AC_EGREP_CPP([Lucky GNU user],
       -        [
       -#include <features.h>
       -#ifdef __GNU_LIBRARY__
       - #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
       -  Lucky GNU user
       - #endif
       -#endif
       -        ],
       -        ac_cv_gnu_library_2_1=yes,
       -        ac_cv_gnu_library_2_1=no)
       -      ]
       -    )
       -    AC_SUBST(GLIBC21)
       -    GLIBC21="$ac_cv_gnu_library_2_1"
       -  ]
       -)
       -
       -#serial AM2
       -
       -dnl From Bruno Haible.
       -
       -AC_DEFUN([AM_ICONV],
       -[
       -  dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
       -  dnl those with the standalone portable GNU libiconv installed).
       -
       -  AC_ARG_WITH([libiconv-prefix],
       -[  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib], [
       -    for dir in `echo "$withval" | tr : ' '`; do
       -      if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
       -      if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
       -    done
       -   ])
       -
       -  AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
       -    am_cv_func_iconv="no, consider installing GNU libiconv"
       -    am_cv_lib_iconv=no
       -    AC_TRY_LINK([#include <stdlib.h>
       -#include <iconv.h>],
       -      [iconv_t cd = iconv_open("","");
       -       iconv(cd,NULL,NULL,NULL,NULL);
       -       iconv_close(cd);],
       -      am_cv_func_iconv=yes)
       -    if test "$am_cv_func_iconv" != yes; then
       -      am_save_LIBS="$LIBS"
       -      LIBS="$LIBS -liconv"
       -      AC_TRY_LINK([#include <stdlib.h>
       -#include <iconv.h>],
       -        [iconv_t cd = iconv_open("","");
       -         iconv(cd,NULL,NULL,NULL,NULL);
       -         iconv_close(cd);],
       -        am_cv_lib_iconv=yes
       -        am_cv_func_iconv=yes)
       -      LIBS="$am_save_LIBS"
       -    fi
       -  ])
       -  if test "$am_cv_func_iconv" = yes; then
       -    AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
       -    AC_MSG_CHECKING([for iconv declaration])
       -    AC_CACHE_VAL(am_cv_proto_iconv, [
       -      AC_TRY_COMPILE([
       -#include <stdlib.h>
       -#include <iconv.h>
       -extern
       -#ifdef __cplusplus
       -"C"
       -#endif
       -#if defined(__STDC__) || defined(__cplusplus)
       -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
       -#else
       -size_t iconv();
       -#endif
       -], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
       -      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
       -    am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
       -    AC_MSG_RESULT([$]{ac_t:-
       -         }[$]am_cv_proto_iconv)
       -    AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
       -      [Define as const if the declaration of iconv() needs const.])
       -  fi
       -  LIBICONV=
       -  if test "$am_cv_lib_iconv" = yes; then
       -    LIBICONV="-liconv"
       -  fi
       -  AC_SUBST(LIBICONV)
       -])
       -
       -#serial AM1
       -
       -dnl From Bruno Haible.
       -
       -AC_DEFUN([AM_LANGINFO_CODESET],
       -[
       -  AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
       -    [AC_TRY_LINK([#include <langinfo.h>],
       -      [char* cs = nl_langinfo(CODESET);],
       -      am_cv_langinfo_codeset=yes,
       -      am_cv_langinfo_codeset=no)
       -    ])
       -  if test $am_cv_langinfo_codeset = yes; then
       -    AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
       -      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
       -  fi
       -])
       -
       -# Check whether LC_MESSAGES is available in <locale.h>.
       -# Ulrich Drepper <drepper@cygnus.com>, 1995.
       -#
       -# This file can be copied and used freely without restrictions.  It can
       -# be used in projects which are not available under the GNU Public License
       -# but which still want to provide support for the GNU gettext functionality.
       -# Please note that the actual code is *not* freely available.
       -
       -# serial 2
       -
       -AC_DEFUN([AM_LC_MESSAGES],
       -  [if test $ac_cv_header_locale_h = yes; then
       -    AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
       -      [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
       -       am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
       -    if test $am_cv_val_LC_MESSAGES = yes; then
       -      AC_DEFINE(HAVE_LC_MESSAGES, 1,
       -        [Define if your <locale.h> file defines LC_MESSAGES.])
       -    fi
       -  fi])
       -
       -# Define a conditional.
       -
       -AC_DEFUN([AM_CONDITIONAL],
       -[AC_SUBST($1_TRUE)
       -AC_SUBST($1_FALSE)
       -if $2; then
       -  $1_TRUE=
       -  $1_FALSE='#'
       -else
       -  $1_TRUE='#'
       -  $1_FALSE=
       -fi])
       -
 (DIR) diff --git a/autogen.sh b/autogen.sh
       t@@ -0,0 +1,166 @@
       +#!/bin/sh
       +# Run this to generate all the initial makefiles, etc.
       +
       +DIE=0
       +package=dopewars
       +srcfile=src/dopewars.c
       +
       +# Uncomment the line below to debug this file
       +#DEBUG=defined
       +
       +debug ()
       +# print out a debug message if DEBUG is a defined variable
       +{
       +  if test ! -z "$DEBUG"
       +  then
       +    echo "DEBUG: $1"
       +  fi
       +}
       +
       +version_check ()
       +# check the version of a package
       +# first argument : package name (executable)
       +# second argument : source download url
       +# rest of arguments : major, minor, micro version
       +{
       +  EXACT_VERSION=$1
       +  PACKAGE=$2
       +  URL=$3
       +  MAJOR=$4
       +  MINOR=$5
       +  MICRO=$6
       +
       +  WRONG=
       +
       +  debug "major $MAJOR minor $MINOR micro $MICRO"
       +  VERSION=$MAJOR
       +  if test ! -z "$MINOR"; then VERSION=$VERSION.$MINOR; else MINOR=0; fi
       +  if test ! -z "$MICRO"; then VERSION=$VERSION.$MICRO; else MICRO=0; fi
       +
       +  debug "version $VERSION"
       +  if [ "$EXACT_VERSION" -eq 0 ]; then
       +    echo -n "+ checking for $PACKAGE >= $VERSION ... "
       +  else
       +    echo -n "+ checking for $PACKAGE == $VERSION ... "
       +  fi
       +
       +  ($PACKAGE --version) < /dev/null > /dev/null 2>&1 || 
       +  {
       +        echo
       +        echo "You must have $PACKAGE installed to compile $package."
       +        echo "Download the appropriate package for your distribution,"
       +        echo "or get the source tarball at $URL"
       +        return 1
       +  }
       +  # the following line is carefully crafted sed magic
       +  pkg_version=`$PACKAGE --version|head -n 1|sed 's/^[a-zA-z\.\ ()]*//;s/ .*$//'`
       +  debug "pkg_version $pkg_version"
       +  pkg_major=`echo $pkg_version | cut -d. -f1`
       +  pkg_minor=`echo $pkg_version | cut -d. -f2 | cut -d- -f1`
       +  pkg_micro=`echo $pkg_version | cut -d. -f3`
       +  test -z "$pkg_minor" && pkg_minor=0
       +  test -z "$pkg_micro" && pkg_micro=0
       +
       +  debug "found major $pkg_major minor $pkg_minor micro $pkg_micro"
       +
       +  #start checking the version
       +  if [ "$EXACT_VERSION" -eq 0 ]; then
       +    debug "version check >="
       +    if [ "$pkg_major" -lt "$MAJOR" ]; then
       +      WRONG=1
       +    elif [ "$pkg_major" -eq "$MAJOR" ]; then
       +      if [ "$pkg_minor" -lt "$MINOR" ]; then
       +        WRONG=1
       +      elif [ "$pkg_minor" -eq "$MINOR" -a "$pkg_minor" -lt "$MINOR" ]; then
       +        WRONG=1
       +      fi
       +    fi
       +  else
       +    debug "version check =="
       +    if [ "$MAJOR" -ne "$pkg_major" -o \
       +         "$MINOR" -ne "$pkg_minor" -o \
       +         "$MICRO" -ne "$pkg_micro" ]; then
       +      WRONG=1
       +    fi
       +  fi
       +
       +  if test ! -z "$WRONG"; then
       +    echo "found $pkg_version, not ok !"
       +    echo
       +    if [ "$EXACT_VERSION" -eq 0 ]; then
       +      echo "You must have $PACKAGE $VERSION or greater to compile $package."
       +      echo "Get the latest version from <$URL>."
       +    else
       +      echo "You must have exactly $PACKAGE $VERSION to compile $package."
       +      echo "Get this version from <$URL>."
       +    fi
       +    return 1
       +  else
       +    echo "found $pkg_version, ok."
       +  fi
       +}
       +
       +version_check 1 "autoconf" "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 13 || DIE=1
       +version_check 0 "automake" "ftp://ftp.gnu.org/pub/gnu/automake/" 1 4 || DIE=1
       +#version_check 0 "xgettext" "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 10 38 || DIE=1
       +#version_check 0 "msgfmt" "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 10 38 || DIE=1
       +
       +if test "$DIE" -eq 1; then
       +        exit 1
       +fi
       +
       +test -f $srcfile || {
       +        echo "You must run this script in the top-level $package directory"
       +        exit 1
       +}
       +
       +if test -z "$*"; then
       +        echo "I am going to run ./configure with no arguments - if you wish "
       +        echo "to pass any to it, please specify them on the $0 command line."
       +fi
       +
       +echo "+ creating acinclude.m4"
       +cat m4/*.m4 > acinclude.m4
       +
       +echo "+ running aclocal ..."
       +aclocal $ACLOCAL_FLAGS || {
       +        echo
       +        echo "aclocal failed - check that all needed development files are present on system"
       +        exit 1
       +}
       +
       +echo "+ running autoheader ... "
       +autoheader || {
       +        echo
       +        echo "autoheader failed"
       +        exit 1
       +}
       +echo "+ running autoconf ... "
       +autoconf || {
       +        echo
       +        echo "autoconf failed"
       +        exit 1
       +}
       +echo "+ running automake ... "
       +automake -a -c || {
       +        echo
       +        echo "automake failed"
       +        exit 1
       +}
       +
       +# now remove the cache, because it can be considered dangerous in this case
       +echo "+ removing config.cache ... "
       +rm -f config.cache
       +
       +echo "+ running configure ... "
       +echo "using: $@"
       +echo
       +
       +./configure "$@" || {
       +        echo
       +        echo "configure failed"
       +        exit 1
       +}
       +
       +echo 
       +echo "Now type 'make' to compile $package."
 (DIR) diff --git a/config.h.in b/config.h.in
       t@@ -205,15 +205,9 @@
        /* Define if you have the <sys/param.h> header file.  */
        #undef HAVE_SYS_PARAM_H
        
       -/* Define if you have the <sys/stat.h> header file.  */
       -#undef HAVE_SYS_STAT_H
       -
        /* Define if you have the <sys/time.h> header file.  */
        #undef HAVE_SYS_TIME_H
        
       -/* Define if you have the <sys/types.h> header file.  */
       -#undef HAVE_SYS_TYPES_H
       -
        /* Define if you have the <unistd.h> header file.  */
        #undef HAVE_UNISTD_H
        
 (DIR) diff --git a/configure b/configure
       t@@ -1,5670 +0,0 @@
       -#! /bin/sh
       -
       -# Guess values for system-dependent variables and create Makefiles.
       -# Generated automatically using autoconf version 2.13 
       -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
       -#
       -# This configure script is free software; the Free Software Foundation
       -# gives unlimited permission to copy, distribute and modify it.
       -
       -# Defaults:
       -ac_help=
       -ac_default_prefix=/usr/local
       -# Any additions from configure.in:
       -ac_help="$ac_help
       -  --enable-gui-client     include graphical client (GTK+/Win32)"
       -ac_help="$ac_help
       -  --enable-curses-client  include curses client"
       -ac_help="$ac_help
       -  --enable-gui-server     use a simple GTK+/Win32 GUI for the server"
       -ac_help="$ac_help
       -  --disable-glib2         use GLib/GTK+ 1.x, even if 2.x is found"
       -ac_help="$ac_help
       -  --enable-nativewin32    build a native Win32 binary under Cygwin"
       -ac_help="$ac_help
       -  --disable-glibtest      do not try to compile and run a test GLIB program"
       -ac_help="$ac_help
       -  --with-glib-prefix=PFX   Prefix where GLIB is installed (optional)"
       -ac_help="$ac_help
       -  --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)"
       -ac_help="$ac_help
       -  --disable-glibtest       Do not try to compile and run a test GLIB program"
       -ac_help="$ac_help
       -  --disable-gtktest       do not try to compile and run a test GTK+ program"
       -ac_help="$ac_help
       -  --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)"
       -ac_help="$ac_help
       -  --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
       -ac_help="$ac_help
       -  --disable-gtktest       Do not try to compile and run a test GTK program"
       -ac_help="$ac_help
       -  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib"
       -ac_help="$ac_help
       -  --disable-nls           do not use Native Language Support"
       -ac_help="$ac_help
       -  --with-included-gettext use the GNU gettext library included here"
       -ac_help="$ac_help
       -  --enable-networking     dopewars will use TCP/IP to connect to servers"
       -ac_help="$ac_help
       -  --enable-strict         if using gcc, enable extra warnings above -Wall"
       -
       -# Initialize some variables set by options.
       -# The variables have the same names as the options, with
       -# dashes changed to underlines.
       -build=NONE
       -cache_file=./config.cache
       -exec_prefix=NONE
       -host=NONE
       -no_create=
       -nonopt=NONE
       -no_recursion=
       -prefix=NONE
       -program_prefix=NONE
       -program_suffix=NONE
       -program_transform_name=s,x,x,
       -silent=
       -site=
       -srcdir=
       -target=NONE
       -verbose=
       -x_includes=NONE
       -x_libraries=NONE
       -bindir='${exec_prefix}/bin'
       -sbindir='${exec_prefix}/sbin'
       -libexecdir='${exec_prefix}/libexec'
       -datadir='${prefix}/share'
       -sysconfdir='${prefix}/etc'
       -sharedstatedir='${prefix}/com'
       -localstatedir='${prefix}/var'
       -libdir='${exec_prefix}/lib'
       -includedir='${prefix}/include'
       -oldincludedir='/usr/include'
       -infodir='${prefix}/info'
       -mandir='${prefix}/man'
       -
       -# Initialize some other variables.
       -subdirs=
       -MFLAGS= MAKEFLAGS=
       -SHELL=${CONFIG_SHELL-/bin/sh}
       -# Maximum number of lines to put in a shell here document.
       -ac_max_here_lines=12
       -
       -ac_prev=
       -for ac_option
       -do
       -
       -  # If the previous option needs an argument, assign it.
       -  if test -n "$ac_prev"; then
       -    eval "$ac_prev=\$ac_option"
       -    ac_prev=
       -    continue
       -  fi
       -
       -  case "$ac_option" in
       -  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
       -  *) ac_optarg= ;;
       -  esac
       -
       -  # Accept the important Cygnus configure options, so we can diagnose typos.
       -
       -  case "$ac_option" in
       -
       -  -bindir | --bindir | --bindi | --bind | --bin | --bi)
       -    ac_prev=bindir ;;
       -  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
       -    bindir="$ac_optarg" ;;
       -
       -  -build | --build | --buil | --bui | --bu)
       -    ac_prev=build ;;
       -  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
       -    build="$ac_optarg" ;;
       -
       -  -cache-file | --cache-file | --cache-fil | --cache-fi \
       -  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
       -    ac_prev=cache_file ;;
       -  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
       -  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
       -    cache_file="$ac_optarg" ;;
       -
       -  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
       -    ac_prev=datadir ;;
       -  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
       -  | --da=*)
       -    datadir="$ac_optarg" ;;
       -
       -  -disable-* | --disable-*)
       -    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
       -    # Reject names that are not valid shell variable names.
       -    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
       -      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
       -    fi
       -    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
       -    eval "enable_${ac_feature}=no" ;;
       -
       -  -enable-* | --enable-*)
       -    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
       -    # Reject names that are not valid shell variable names.
       -    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
       -      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
       -    fi
       -    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
       -    case "$ac_option" in
       -      *=*) ;;
       -      *) ac_optarg=yes ;;
       -    esac
       -    eval "enable_${ac_feature}='$ac_optarg'" ;;
       -
       -  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
       -  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
       -  | --exec | --exe | --ex)
       -    ac_prev=exec_prefix ;;
       -  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
       -  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
       -  | --exec=* | --exe=* | --ex=*)
       -    exec_prefix="$ac_optarg" ;;
       -
       -  -gas | --gas | --ga | --g)
       -    # Obsolete; use --with-gas.
       -    with_gas=yes ;;
       -
       -  -help | --help | --hel | --he)
       -    # Omit some internal or obsolete options to make the list less imposing.
       -    # This message is too long to be a string in the A/UX 3.1 sh.
       -    cat << EOF
       -Usage: configure [options] [host]
       -Options: [defaults in brackets after descriptions]
       -Configuration:
       -  --cache-file=FILE       cache test results in FILE
       -  --help                  print this message
       -  --no-create             do not create output files
       -  --quiet, --silent       do not print \`checking...' messages
       -  --version               print the version of autoconf that created configure
       -Directory and file names:
       -  --prefix=PREFIX         install architecture-independent files in PREFIX
       -                          [$ac_default_prefix]
       -  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
       -                          [same as prefix]
       -  --bindir=DIR            user executables in DIR [EPREFIX/bin]
       -  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
       -  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
       -  --datadir=DIR           read-only architecture-independent data in DIR
       -                          [PREFIX/share]
       -  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
       -  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
       -                          [PREFIX/com]
       -  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
       -  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
       -  --includedir=DIR        C header files in DIR [PREFIX/include]
       -  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
       -  --infodir=DIR           info documentation in DIR [PREFIX/info]
       -  --mandir=DIR            man documentation in DIR [PREFIX/man]
       -  --srcdir=DIR            find the sources in DIR [configure dir or ..]
       -  --program-prefix=PREFIX prepend PREFIX to installed program names
       -  --program-suffix=SUFFIX append SUFFIX to installed program names
       -  --program-transform-name=PROGRAM
       -                          run sed PROGRAM on installed program names
       -EOF
       -    cat << EOF
       -Host type:
       -  --build=BUILD           configure for building on BUILD [BUILD=HOST]
       -  --host=HOST             configure for HOST [guessed]
       -  --target=TARGET         configure for TARGET [TARGET=HOST]
       -Features and packages:
       -  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
       -  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
       -  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
       -  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
       -  --x-includes=DIR        X include files are in DIR
       -  --x-libraries=DIR       X library files are in DIR
       -EOF
       -    if test -n "$ac_help"; then
       -      echo "--enable and --with options recognized:$ac_help"
       -    fi
       -    exit 0 ;;
       -
       -  -host | --host | --hos | --ho)
       -    ac_prev=host ;;
       -  -host=* | --host=* | --hos=* | --ho=*)
       -    host="$ac_optarg" ;;
       -
       -  -includedir | --includedir | --includedi | --included | --include \
       -  | --includ | --inclu | --incl | --inc)
       -    ac_prev=includedir ;;
       -  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
       -  | --includ=* | --inclu=* | --incl=* | --inc=*)
       -    includedir="$ac_optarg" ;;
       -
       -  -infodir | --infodir | --infodi | --infod | --info | --inf)
       -    ac_prev=infodir ;;
       -  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
       -    infodir="$ac_optarg" ;;
       -
       -  -libdir | --libdir | --libdi | --libd)
       -    ac_prev=libdir ;;
       -  -libdir=* | --libdir=* | --libdi=* | --libd=*)
       -    libdir="$ac_optarg" ;;
       -
       -  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
       -  | --libexe | --libex | --libe)
       -    ac_prev=libexecdir ;;
       -  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
       -  | --libexe=* | --libex=* | --libe=*)
       -    libexecdir="$ac_optarg" ;;
       -
       -  -localstatedir | --localstatedir | --localstatedi | --localstated \
       -  | --localstate | --localstat | --localsta | --localst \
       -  | --locals | --local | --loca | --loc | --lo)
       -    ac_prev=localstatedir ;;
       -  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
       -  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
       -  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
       -    localstatedir="$ac_optarg" ;;
       -
       -  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
       -    ac_prev=mandir ;;
       -  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
       -    mandir="$ac_optarg" ;;
       -
       -  -nfp | --nfp | --nf)
       -    # Obsolete; use --without-fp.
       -    with_fp=no ;;
       -
       -  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
       -  | --no-cr | --no-c)
       -    no_create=yes ;;
       -
       -  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
       -  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
       -    no_recursion=yes ;;
       -
       -  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
       -  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
       -  | --oldin | --oldi | --old | --ol | --o)
       -    ac_prev=oldincludedir ;;
       -  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
       -  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
       -  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
       -    oldincludedir="$ac_optarg" ;;
       -
       -  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
       -    ac_prev=prefix ;;
       -  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
       -    prefix="$ac_optarg" ;;
       -
       -  -program-prefix | --program-prefix | --program-prefi | --program-pref \
       -  | --program-pre | --program-pr | --program-p)
       -    ac_prev=program_prefix ;;
       -  -program-prefix=* | --program-prefix=* | --program-prefi=* \
       -  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
       -    program_prefix="$ac_optarg" ;;
       -
       -  -program-suffix | --program-suffix | --program-suffi | --program-suff \
       -  | --program-suf | --program-su | --program-s)
       -    ac_prev=program_suffix ;;
       -  -program-suffix=* | --program-suffix=* | --program-suffi=* \
       -  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
       -    program_suffix="$ac_optarg" ;;
       -
       -  -program-transform-name | --program-transform-name \
       -  | --program-transform-nam | --program-transform-na \
       -  | --program-transform-n | --program-transform- \
       -  | --program-transform | --program-transfor \
       -  | --program-transfo | --program-transf \
       -  | --program-trans | --program-tran \
       -  | --progr-tra | --program-tr | --program-t)
       -    ac_prev=program_transform_name ;;
       -  -program-transform-name=* | --program-transform-name=* \
       -  | --program-transform-nam=* | --program-transform-na=* \
       -  | --program-transform-n=* | --program-transform-=* \
       -  | --program-transform=* | --program-transfor=* \
       -  | --program-transfo=* | --program-transf=* \
       -  | --program-trans=* | --program-tran=* \
       -  | --progr-tra=* | --program-tr=* | --program-t=*)
       -    program_transform_name="$ac_optarg" ;;
       -
       -  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       -  | -silent | --silent | --silen | --sile | --sil)
       -    silent=yes ;;
       -
       -  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
       -    ac_prev=sbindir ;;
       -  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
       -  | --sbi=* | --sb=*)
       -    sbindir="$ac_optarg" ;;
       -
       -  -sharedstatedir | --sharedstatedir | --sharedstatedi \
       -  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
       -  | --sharedst | --shareds | --shared | --share | --shar \
       -  | --sha | --sh)
       -    ac_prev=sharedstatedir ;;
       -  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
       -  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
       -  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
       -  | --sha=* | --sh=*)
       -    sharedstatedir="$ac_optarg" ;;
       -
       -  -site | --site | --sit)
       -    ac_prev=site ;;
       -  -site=* | --site=* | --sit=*)
       -    site="$ac_optarg" ;;
       -
       -  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
       -    ac_prev=srcdir ;;
       -  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
       -    srcdir="$ac_optarg" ;;
       -
       -  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
       -  | --syscon | --sysco | --sysc | --sys | --sy)
       -    ac_prev=sysconfdir ;;
       -  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
       -  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
       -    sysconfdir="$ac_optarg" ;;
       -
       -  -target | --target | --targe | --targ | --tar | --ta | --t)
       -    ac_prev=target ;;
       -  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
       -    target="$ac_optarg" ;;
       -
       -  -v | -verbose | --verbose | --verbos | --verbo | --verb)
       -    verbose=yes ;;
       -
       -  -version | --version | --versio | --versi | --vers)
       -    echo "configure generated by autoconf version 2.13"
       -    exit 0 ;;
       -
       -  -with-* | --with-*)
       -    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
       -    # Reject names that are not valid shell variable names.
       -    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
       -      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
       -    fi
       -    ac_package=`echo $ac_package| sed 's/-/_/g'`
       -    case "$ac_option" in
       -      *=*) ;;
       -      *) ac_optarg=yes ;;
       -    esac
       -    eval "with_${ac_package}='$ac_optarg'" ;;
       -
       -  -without-* | --without-*)
       -    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
       -    # Reject names that are not valid shell variable names.
       -    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
       -      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
       -    fi
       -    ac_package=`echo $ac_package| sed 's/-/_/g'`
       -    eval "with_${ac_package}=no" ;;
       -
       -  --x)
       -    # Obsolete; use --with-x.
       -    with_x=yes ;;
       -
       -  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
       -  | --x-incl | --x-inc | --x-in | --x-i)
       -    ac_prev=x_includes ;;
       -  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
       -  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
       -    x_includes="$ac_optarg" ;;
       -
       -  -x-libraries | --x-libraries | --x-librarie | --x-librari \
       -  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
       -    ac_prev=x_libraries ;;
       -  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
       -  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
       -    x_libraries="$ac_optarg" ;;
       -
       -  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
       -    ;;
       -
       -  *)
       -    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
       -      echo "configure: warning: $ac_option: invalid host type" 1>&2
       -    fi
       -    if test "x$nonopt" != xNONE; then
       -      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
       -    fi
       -    nonopt="$ac_option"
       -    ;;
       -
       -  esac
       -done
       -
       -if test -n "$ac_prev"; then
       -  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
       -fi
       -
       -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
       -
       -# File descriptor usage:
       -# 0 standard input
       -# 1 file creation
       -# 2 errors and warnings
       -# 3 some systems may open it to /dev/tty
       -# 4 used on the Kubota Titan
       -# 6 checking for... messages and results
       -# 5 compiler messages saved in config.log
       -if test "$silent" = yes; then
       -  exec 6>/dev/null
       -else
       -  exec 6>&1
       -fi
       -exec 5>./config.log
       -
       -echo "\
       -This file contains any messages produced by compilers while
       -running configure, to aid debugging if configure makes a mistake.
       -" 1>&5
       -
       -# Strip out --no-create and --no-recursion so they do not pile up.
       -# Also quote any args containing shell metacharacters.
       -ac_configure_args=
       -for ac_arg
       -do
       -  case "$ac_arg" in
       -  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
       -  | --no-cr | --no-c) ;;
       -  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
       -  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
       -  *" "*|*"        "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
       -  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
       -  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
       -  esac
       -done
       -
       -# NLS nuisances.
       -# Only set these to C if already set.  These must not be set unconditionally
       -# because not all systems understand e.g. LANG=C (notably SCO).
       -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
       -# Non-C LC_CTYPE values break the ctype check.
       -if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
       -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
       -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
       -if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
       -
       -# confdefs.h avoids OS command line length limits that DEFS can exceed.
       -rm -rf conftest* confdefs.h
       -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
       -echo > confdefs.h
       -
       -# A filename unique to this package, relative to the directory that
       -# configure is in, which we can look for to find out if srcdir is correct.
       -ac_unique_file=src/dopewars.c
       -
       -# Find the source files, if location was not specified.
       -if test -z "$srcdir"; then
       -  ac_srcdir_defaulted=yes
       -  # Try the directory containing this script, then its parent.
       -  ac_prog=$0
       -  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
       -  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
       -  srcdir=$ac_confdir
       -  if test ! -r $srcdir/$ac_unique_file; then
       -    srcdir=..
       -  fi
       -else
       -  ac_srcdir_defaulted=no
       -fi
       -if test ! -r $srcdir/$ac_unique_file; then
       -  if test "$ac_srcdir_defaulted" = yes; then
       -    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
       -  else
       -    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
       -  fi
       -fi
       -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
       -
       -# Prefer explicitly selected file to automatically selected ones.
       -if test -z "$CONFIG_SITE"; then
       -  if test "x$prefix" != xNONE; then
       -    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
       -  else
       -    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
       -  fi
       -fi
       -for ac_site_file in $CONFIG_SITE; do
       -  if test -r "$ac_site_file"; then
       -    echo "loading site script $ac_site_file"
       -    . "$ac_site_file"
       -  fi
       -done
       -
       -if test -r "$cache_file"; then
       -  echo "loading cache $cache_file"
       -  . $cache_file
       -else
       -  echo "creating cache $cache_file"
       -  > $cache_file
       -fi
       -
       -ac_ext=c
       -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
       -ac_cpp='$CPP $CPPFLAGS'
       -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
       -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
       -cross_compiling=$ac_cv_prog_cc_cross
       -
       -ac_exeext=
       -ac_objext=o
       -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
       -  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
       -  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
       -    ac_n= ac_c='
       -' ac_t='        '
       -  else
       -    ac_n=-n ac_c= ac_t=
       -  fi
       -else
       -  ac_n= ac_c='\c' ac_t=
       -fi
       -
       -
       -
       -ac_aux_dir=
       -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
       -  if test -f $ac_dir/install-sh; then
       -    ac_aux_dir=$ac_dir
       -    ac_install_sh="$ac_aux_dir/install-sh -c"
       -    break
       -  elif test -f $ac_dir/install.sh; then
       -    ac_aux_dir=$ac_dir
       -    ac_install_sh="$ac_aux_dir/install.sh -c"
       -    break
       -  fi
       -done
       -if test -z "$ac_aux_dir"; then
       -  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
       -fi
       -ac_config_guess=$ac_aux_dir/config.guess
       -ac_config_sub=$ac_aux_dir/config.sub
       -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
       -
       -# Find a good install program.  We prefer a C program (faster),
       -# so one script is as good as another.  But avoid the broken or
       -# incompatible versions:
       -# SysV /etc/install, /usr/sbin/install
       -# SunOS /usr/etc/install
       -# IRIX /sbin/install
       -# AIX /bin/install
       -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
       -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
       -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
       -# ./install, which can be erroneously created by make from ./install.sh.
       -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
       -echo "configure:593: checking for a BSD compatible install" >&5
       -if test -z "$INSTALL"; then
       -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
       -  for ac_dir in $PATH; do
       -    # Account for people who put trailing slashes in PATH elements.
       -    case "$ac_dir/" in
       -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
       -    *)
       -      # OSF1 and SCO ODT 3.0 have their own names for install.
       -      # Don't use installbsd from OSF since it installs stuff as root
       -      # by default.
       -      for ac_prog in ginstall scoinst install; do
       -        if test -f $ac_dir/$ac_prog; then
       -          if test $ac_prog = install &&
       -            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
       -            # AIX install.  It has an incompatible calling convention.
       -            :
       -          else
       -            ac_cv_path_install="$ac_dir/$ac_prog -c"
       -            break 2
       -          fi
       -        fi
       -      done
       -      ;;
       -    esac
       -  done
       -  IFS="$ac_save_IFS"
       -
       -fi
       -  if test "${ac_cv_path_install+set}" = set; then
       -    INSTALL="$ac_cv_path_install"
       -  else
       -    # As a last resort, use the slow shell script.  We don't cache a
       -    # path for INSTALL within a source directory, because that will
       -    # break other packages using the cache if that directory is
       -    # removed, or if the path is relative.
       -    INSTALL="$ac_install_sh"
       -  fi
       -fi
       -echo "$ac_t""$INSTALL" 1>&6
       -
       -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
       -# It thinks the first close brace ends the variable substitution.
       -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
       -
       -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
       -
       -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
       -
       -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
       -echo "configure:646: checking whether build environment is sane" >&5
       -# Just in case
       -sleep 1
       -echo timestamp > conftestfile
       -# Do `set' in a subshell so we don't clobber the current shell's
       -# arguments.  Must try -L first in case configure is actually a
       -# symlink; some systems play weird games with the mod time of symlinks
       -# (eg FreeBSD returns the mod time of the symlink's containing
       -# directory).
       -if (
       -   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
       -   if test "$*" = "X"; then
       -      # -L didn't work.
       -      set X `ls -t $srcdir/configure conftestfile`
       -   fi
       -   if test "$*" != "X $srcdir/configure conftestfile" \
       -      && test "$*" != "X conftestfile $srcdir/configure"; then
       -
       -      # If neither matched, then we have a broken ls.  This can happen
       -      # if, for instance, CONFIG_SHELL is bash and it inherits a
       -      # broken ls alias from the environment.  This has actually
       -      # happened.  Such a system could not be considered "sane".
       -      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
       -alias in your environment" 1>&2; exit 1; }
       -   fi
       -
       -   test "$2" = conftestfile
       -   )
       -then
       -   # Ok.
       -   :
       -else
       -   { echo "configure: error: newly created file is older than distributed files!
       -Check your system clock" 1>&2; exit 1; }
       -fi
       -rm -f conftest*
       -echo "$ac_t""yes" 1>&6
       -if test "$program_transform_name" = s,x,x,; then
       -  program_transform_name=
       -else
       -  # Double any \ or $.  echo might interpret backslashes.
       -  cat <<\EOF_SED > conftestsed
       -s,\\,\\\\,g; s,\$,$$,g
       -EOF_SED
       -  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
       -  rm -f conftestsed
       -fi
       -test "$program_prefix" != NONE &&
       -  program_transform_name="s,^,${program_prefix},; $program_transform_name"
       -# Use a double $ so make ignores it.
       -test "$program_suffix" != NONE &&
       -  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
       -
       -# sed with no file args requires a program.
       -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
       -
       -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
       -echo "configure:703: checking whether ${MAKE-make} sets \${MAKE}" >&5
       -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
       -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftestmake <<\EOF
       -all:
       -        @echo 'ac_maketemp="${MAKE}"'
       -EOF
       -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
       -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
       -if test -n "$ac_maketemp"; then
       -  eval ac_cv_prog_make_${ac_make}_set=yes
       -else
       -  eval ac_cv_prog_make_${ac_make}_set=no
       -fi
       -rm -f conftestmake
       -fi
       -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -  SET_MAKE=
       -else
       -  echo "$ac_t""no" 1>&6
       -  SET_MAKE="MAKE=${MAKE-make}"
       -fi
       -
       -
       -PACKAGE=dopewars
       -
       -VERSION=cvs
       -
       -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
       -  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
       -fi
       -cat >> confdefs.h <<EOF
       -#define PACKAGE "$PACKAGE"
       -EOF
       -
       -cat >> confdefs.h <<EOF
       -#define VERSION "$VERSION"
       -EOF
       -
       -
       -
       -missing_dir=`cd $ac_aux_dir && pwd`
       -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
       -echo "configure:749: checking for working aclocal" >&5
       -# Run test in a subshell; some versions of sh will print an error if
       -# an executable is not found, even if stderr is redirected.
       -# Redirect stdin to placate older versions of autoconf.  Sigh.
       -if (aclocal --version) < /dev/null > /dev/null 2>&1; then
       -   ACLOCAL=aclocal
       -   echo "$ac_t""found" 1>&6
       -else
       -   ACLOCAL="$missing_dir/missing aclocal"
       -   echo "$ac_t""missing" 1>&6
       -fi
       -
       -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
       -echo "configure:762: checking for working autoconf" >&5
       -# Run test in a subshell; some versions of sh will print an error if
       -# an executable is not found, even if stderr is redirected.
       -# Redirect stdin to placate older versions of autoconf.  Sigh.
       -if (autoconf --version) < /dev/null > /dev/null 2>&1; then
       -   AUTOCONF=autoconf
       -   echo "$ac_t""found" 1>&6
       -else
       -   AUTOCONF="$missing_dir/missing autoconf"
       -   echo "$ac_t""missing" 1>&6
       -fi
       -
       -echo $ac_n "checking for working automake""... $ac_c" 1>&6
       -echo "configure:775: checking for working automake" >&5
       -# Run test in a subshell; some versions of sh will print an error if
       -# an executable is not found, even if stderr is redirected.
       -# Redirect stdin to placate older versions of autoconf.  Sigh.
       -if (automake --version) < /dev/null > /dev/null 2>&1; then
       -   AUTOMAKE=automake
       -   echo "$ac_t""found" 1>&6
       -else
       -   AUTOMAKE="$missing_dir/missing automake"
       -   echo "$ac_t""missing" 1>&6
       -fi
       -
       -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
       -echo "configure:788: checking for working autoheader" >&5
       -# Run test in a subshell; some versions of sh will print an error if
       -# an executable is not found, even if stderr is redirected.
       -# Redirect stdin to placate older versions of autoconf.  Sigh.
       -if (autoheader --version) < /dev/null > /dev/null 2>&1; then
       -   AUTOHEADER=autoheader
       -   echo "$ac_t""found" 1>&6
       -else
       -   AUTOHEADER="$missing_dir/missing autoheader"
       -   echo "$ac_t""missing" 1>&6
       -fi
       -
       -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
       -echo "configure:801: checking for working makeinfo" >&5
       -# Run test in a subshell; some versions of sh will print an error if
       -# an executable is not found, even if stderr is redirected.
       -# Redirect stdin to placate older versions of autoconf.  Sigh.
       -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
       -   MAKEINFO=makeinfo
       -   echo "$ac_t""found" 1>&6
       -else
       -   MAKEINFO="$missing_dir/missing makeinfo"
       -   echo "$ac_t""missing" 1>&6
       -fi
       -
       -
       -
       -
       -
       -
       -
       -# Extract the first word of "gcc", so it can be a program name with args.
       -set dummy gcc; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:822: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test -n "$CC"; then
       -  ac_cv_prog_CC="$CC" # Let the user override the test.
       -else
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_prog_CC="gcc"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -fi
       -fi
       -CC="$ac_cv_prog_CC"
       -if test -n "$CC"; then
       -  echo "$ac_t""$CC" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -if test -z "$CC"; then
       -  # Extract the first word of "cc", so it can be a program name with args.
       -set dummy cc; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:852: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test -n "$CC"; then
       -  ac_cv_prog_CC="$CC" # Let the user override the test.
       -else
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_prog_rejected=no
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
       -        ac_prog_rejected=yes
       -        continue
       -      fi
       -      ac_cv_prog_CC="cc"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -if test $ac_prog_rejected = yes; then
       -  # We found a bogon in the path, so make sure we never use it.
       -  set dummy $ac_cv_prog_CC
       -  shift
       -  if test $# -gt 0; then
       -    # We chose a different compiler from the bogus one.
       -    # However, it has the same basename, so the bogon will be chosen
       -    # first if we set CC to just the basename; use the full file name.
       -    shift
       -    set dummy "$ac_dir/$ac_word" "$@"
       -    shift
       -    ac_cv_prog_CC="$@"
       -  fi
       -fi
       -fi
       -fi
       -CC="$ac_cv_prog_CC"
       -if test -n "$CC"; then
       -  echo "$ac_t""$CC" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -  if test -z "$CC"; then
       -    case "`uname -s`" in
       -    *win32* | *WIN32*)
       -      # Extract the first word of "cl", so it can be a program name with args.
       -set dummy cl; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:903: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test -n "$CC"; then
       -  ac_cv_prog_CC="$CC" # Let the user override the test.
       -else
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_prog_CC="cl"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -fi
       -fi
       -CC="$ac_cv_prog_CC"
       -if test -n "$CC"; then
       -  echo "$ac_t""$CC" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       - ;;
       -    esac
       -  fi
       -  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
       -fi
       -
       -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
       -echo "configure:935: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
       -
       -ac_ext=c
       -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
       -ac_cpp='$CPP $CPPFLAGS'
       -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
       -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
       -cross_compiling=$ac_cv_prog_cc_cross
       -
       -cat > conftest.$ac_ext << EOF
       -
       -#line 946 "configure"
       -#include "confdefs.h"
       -
       -main(){return(0);}
       -EOF
       -if { (eval echo configure:951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  ac_cv_prog_cc_works=yes
       -  # If we can't run a trivial program, we are probably using a cross compiler.
       -  if (./conftest; exit) 2>/dev/null; then
       -    ac_cv_prog_cc_cross=no
       -  else
       -    ac_cv_prog_cc_cross=yes
       -  fi
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  ac_cv_prog_cc_works=no
       -fi
       -rm -fr conftest*
       -ac_ext=c
       -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
       -ac_cpp='$CPP $CPPFLAGS'
       -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
       -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
       -cross_compiling=$ac_cv_prog_cc_cross
       -
       -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
       -if test $ac_cv_prog_cc_works = no; then
       -  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
       -fi
       -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
       -echo "configure:977: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
       -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
       -cross_compiling=$ac_cv_prog_cc_cross
       -
       -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
       -echo "configure:982: checking whether we are using GNU C" >&5
       -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.c <<EOF
       -#ifdef __GNUC__
       -  yes;
       -#endif
       -EOF
       -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
       -  ac_cv_prog_gcc=yes
       -else
       -  ac_cv_prog_gcc=no
       -fi
       -fi
       -
       -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
       -
       -if test $ac_cv_prog_gcc = yes; then
       -  GCC=yes
       -else
       -  GCC=
       -fi
       -
       -ac_test_CFLAGS="${CFLAGS+set}"
       -ac_save_CFLAGS="$CFLAGS"
       -CFLAGS=
       -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
       -echo "configure:1010: checking whether ${CC-cc} accepts -g" >&5
       -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  echo 'void f(){}' > conftest.c
       -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
       -  ac_cv_prog_cc_g=yes
       -else
       -  ac_cv_prog_cc_g=no
       -fi
       -rm -f conftest*
       -
       -fi
       -
       -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
       -if test "$ac_test_CFLAGS" = set; then
       -  CFLAGS="$ac_save_CFLAGS"
       -elif test $ac_cv_prog_cc_g = yes; then
       -  if test "$GCC" = yes; then
       -    CFLAGS="-g -O2"
       -  else
       -    CFLAGS="-g"
       -  fi
       -else
       -  if test "$GCC" = yes; then
       -    CFLAGS="-O2"
       -  else
       -    CFLAGS=
       -  fi
       -fi
       -
       -
       -        echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
       -echo "configure:1043: checking for strerror in -lcposix" >&5
       -ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
       -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  ac_save_LIBS="$LIBS"
       -LIBS="-lcposix  $LIBS"
       -cat > conftest.$ac_ext <<EOF
       -#line 1051 "configure"
       -#include "confdefs.h"
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char strerror();
       -
       -int main() {
       -strerror()
       -; return 0; }
       -EOF
       -if { (eval echo configure:1062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=no"
       -fi
       -rm -f conftest*
       -LIBS="$ac_save_LIBS"
       -
       -fi
       -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -  LIBS="$LIBS -lcposix"
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -  
       -
       -# Find a good install program.  We prefer a C program (faster),
       -# so one script is as good as another.  But avoid the broken or
       -# incompatible versions:
       -# SysV /etc/install, /usr/sbin/install
       -# SunOS /usr/etc/install
       -# IRIX /sbin/install
       -# AIX /bin/install
       -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
       -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
       -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
       -# ./install, which can be erroneously created by make from ./install.sh.
       -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
       -echo "configure:1096: checking for a BSD compatible install" >&5
       -if test -z "$INSTALL"; then
       -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
       -  for ac_dir in $PATH; do
       -    # Account for people who put trailing slashes in PATH elements.
       -    case "$ac_dir/" in
       -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
       -    *)
       -      # OSF1 and SCO ODT 3.0 have their own names for install.
       -      # Don't use installbsd from OSF since it installs stuff as root
       -      # by default.
       -      for ac_prog in ginstall scoinst install; do
       -        if test -f $ac_dir/$ac_prog; then
       -          if test $ac_prog = install &&
       -            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
       -            # AIX install.  It has an incompatible calling convention.
       -            :
       -          else
       -            ac_cv_path_install="$ac_dir/$ac_prog -c"
       -            break 2
       -          fi
       -        fi
       -      done
       -      ;;
       -    esac
       -  done
       -  IFS="$ac_save_IFS"
       -
       -fi
       -  if test "${ac_cv_path_install+set}" = set; then
       -    INSTALL="$ac_cv_path_install"
       -  else
       -    # As a last resort, use the slow shell script.  We don't cache a
       -    # path for INSTALL within a source directory, because that will
       -    # break other packages using the cache if that directory is
       -    # removed, or if the path is relative.
       -    INSTALL="$ac_install_sh"
       -  fi
       -fi
       -echo "$ac_t""$INSTALL" 1>&6
       -
       -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
       -# It thinks the first close brace ends the variable substitution.
       -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
       -
       -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
       -
       -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
       -
       -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
       -echo "configure:1149: checking whether ${MAKE-make} sets \${MAKE}" >&5
       -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
       -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftestmake <<\EOF
       -all:
       -        @echo 'ac_maketemp="${MAKE}"'
       -EOF
       -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
       -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
       -if test -n "$ac_maketemp"; then
       -  eval ac_cv_prog_make_${ac_make}_set=yes
       -else
       -  eval ac_cv_prog_make_${ac_make}_set=no
       -fi
       -rm -f conftestmake
       -fi
       -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -  SET_MAKE=
       -else
       -  echo "$ac_t""no" 1>&6
       -  SET_MAKE="MAKE=${MAKE-make}"
       -fi
       -
       -
       -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
       -echo "configure:1177: checking how to run the C preprocessor" >&5
       -# On Suns, sometimes $CPP names a directory.
       -if test -n "$CPP" && test -d "$CPP"; then
       -  CPP=
       -fi
       -if test -z "$CPP"; then
       -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -    # This must be in double quotes, not single quotes, because CPP may get
       -  # substituted into the Makefile and "${CC-cc}" will confuse make.
       -  CPP="${CC-cc} -E"
       -  # On the NeXT, cc -E runs the code through the compiler's parser,
       -  # not just through cpp.
       -  cat > conftest.$ac_ext <<EOF
       -#line 1192 "configure"
       -#include "confdefs.h"
       -#include <assert.h>
       -Syntax Error
       -EOF
       -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
       -if test -z "$ac_err"; then
       -  :
       -else
       -  echo "$ac_err" >&5
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  CPP="${CC-cc} -E -traditional-cpp"
       -  cat > conftest.$ac_ext <<EOF
       -#line 1209 "configure"
       -#include "confdefs.h"
       -#include <assert.h>
       -Syntax Error
       -EOF
       -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
       -if test -z "$ac_err"; then
       -  :
       -else
       -  echo "$ac_err" >&5
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  CPP="${CC-cc} -nologo -E"
       -  cat > conftest.$ac_ext <<EOF
       -#line 1226 "configure"
       -#include "confdefs.h"
       -#include <assert.h>
       -Syntax Error
       -EOF
       -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
       -if test -z "$ac_err"; then
       -  :
       -else
       -  echo "$ac_err" >&5
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  CPP=/lib/cpp
       -fi
       -rm -f conftest*
       -fi
       -rm -f conftest*
       -fi
       -rm -f conftest*
       -  ac_cv_prog_CPP="$CPP"
       -fi
       -  CPP="$ac_cv_prog_CPP"
       -else
       -  ac_cv_prog_CPP="$CPP"
       -fi
       -echo "$ac_t""$CPP" 1>&6
       -
       -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
       -echo "configure:1257: checking for ANSI C header files" >&5
       -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 1262 "configure"
       -#include "confdefs.h"
       -#include <stdlib.h>
       -#include <stdarg.h>
       -#include <string.h>
       -#include <float.h>
       -EOF
       -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
       -if test -z "$ac_err"; then
       -  rm -rf conftest*
       -  ac_cv_header_stdc=yes
       -else
       -  echo "$ac_err" >&5
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  ac_cv_header_stdc=no
       -fi
       -rm -f conftest*
       -
       -if test $ac_cv_header_stdc = yes; then
       -  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
       -cat > conftest.$ac_ext <<EOF
       -#line 1287 "configure"
       -#include "confdefs.h"
       -#include <string.h>
       -EOF
       -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       -  egrep "memchr" >/dev/null 2>&1; then
       -  :
       -else
       -  rm -rf conftest*
       -  ac_cv_header_stdc=no
       -fi
       -rm -f conftest*
       -
       -fi
       -
       -if test $ac_cv_header_stdc = yes; then
       -  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
       -cat > conftest.$ac_ext <<EOF
       -#line 1305 "configure"
       -#include "confdefs.h"
       -#include <stdlib.h>
       -EOF
       -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       -  egrep "free" >/dev/null 2>&1; then
       -  :
       -else
       -  rm -rf conftest*
       -  ac_cv_header_stdc=no
       -fi
       -rm -f conftest*
       -
       -fi
       -
       -if test $ac_cv_header_stdc = yes; then
       -  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
       -if test "$cross_compiling" = yes; then
       -  :
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 1326 "configure"
       -#include "confdefs.h"
       -#include <ctype.h>
       -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
       -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
       -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
       -int main () { int i; for (i = 0; i < 256; i++)
       -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
       -exit (0); }
       -
       -EOF
       -if { (eval echo configure:1337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  :
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  ac_cv_header_stdc=no
       -fi
       -rm -fr conftest*
       -fi
       -
       -fi
       -fi
       -
       -echo "$ac_t""$ac_cv_header_stdc" 1>&6
       -if test $ac_cv_header_stdc = yes; then
       -  cat >> confdefs.h <<\EOF
       -#define STDC_HEADERS 1
       -EOF
       -
       -fi
       -
       -echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
       -echo "configure:1361: checking for sys/wait.h that is POSIX.1 compatible" >&5
       -if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 1366 "configure"
       -#include "confdefs.h"
       -#include <sys/types.h>
       -#include <sys/wait.h>
       -#ifndef WEXITSTATUS
       -#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
       -#endif
       -#ifndef WIFEXITED
       -#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
       -#endif
       -int main() {
       -int s;
       -wait (&s);
       -s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
       -; return 0; }
       -EOF
       -if { (eval echo configure:1382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       -  rm -rf conftest*
       -  ac_cv_header_sys_wait_h=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  ac_cv_header_sys_wait_h=no
       -fi
       -rm -f conftest*
       -fi
       -
       -echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
       -if test $ac_cv_header_sys_wait_h = yes; then
       -  cat >> confdefs.h <<\EOF
       -#define HAVE_SYS_WAIT_H 1
       -EOF
       -
       -fi
       -
       -for ac_hdr in fcntl.h sys/time.h unistd.h stdlib.h
       -do
       -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
       -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
       -echo "configure:1406: checking for $ac_hdr" >&5
       -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 1411 "configure"
       -#include "confdefs.h"
       -#include <$ac_hdr>
       -EOF
       -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
       -if test -z "$ac_err"; then
       -  rm -rf conftest*
       -  eval "ac_cv_header_$ac_safe=yes"
       -else
       -  echo "$ac_err" >&5
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_header_$ac_safe=no"
       -fi
       -rm -f conftest*
       -fi
       -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_hdr 1
       -EOF
       - 
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -done
       -
       -
       -echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
       -echo "configure:1444: checking whether time.h and sys/time.h may both be included" >&5
       -if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 1449 "configure"
       -#include "confdefs.h"
       -#include <sys/types.h>
       -#include <sys/time.h>
       -#include <time.h>
       -int main() {
       -struct tm *tp;
       -; return 0; }
       -EOF
       -if { (eval echo configure:1458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       -  rm -rf conftest*
       -  ac_cv_header_time=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  ac_cv_header_time=no
       -fi
       -rm -f conftest*
       -fi
       -
       -echo "$ac_t""$ac_cv_header_time" 1>&6
       -if test $ac_cv_header_time = yes; then
       -  cat >> confdefs.h <<\EOF
       -#define TIME_WITH_SYS_TIME 1
       -EOF
       -
       -fi
       -
       -echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
       -echo "configure:1479: checking whether struct tm is in sys/time.h or time.h" >&5
       -if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 1484 "configure"
       -#include "confdefs.h"
       -#include <sys/types.h>
       -#include <time.h>
       -int main() {
       -struct tm *tp; tp->tm_sec;
       -; return 0; }
       -EOF
       -if { (eval echo configure:1492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       -  rm -rf conftest*
       -  ac_cv_struct_tm=time.h
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  ac_cv_struct_tm=sys/time.h
       -fi
       -rm -f conftest*
       -fi
       -
       -echo "$ac_t""$ac_cv_struct_tm" 1>&6
       -if test $ac_cv_struct_tm = sys/time.h; then
       -  cat >> confdefs.h <<\EOF
       -#define TM_IN_SYS_TIME 1
       -EOF
       -
       -fi
       -
       -
       -
       -# Make sure we can run config.sub.
       -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
       -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
       -fi
       -
       -echo $ac_n "checking host system type""... $ac_c" 1>&6
       -echo "configure:1520: checking host system type" >&5
       -
       -host_alias=$host
       -case "$host_alias" in
       -NONE)
       -  case $nonopt in
       -  NONE)
       -    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
       -    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
       -    fi ;;
       -  *) host_alias=$nonopt ;;
       -  esac ;;
       -esac
       -
       -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
       -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
       -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
       -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
       -echo "$ac_t""$host" 1>&6
       -
       -
       -case "$host_os" in darwin*)
       -   CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
       -esac
       -
       -HAVE_FIXED_GTK="no"
       -
       -# Check whether --enable-gui-client or --disable-gui-client was given.
       -if test "${enable_gui_client+set}" = set; then
       -  enableval="$enable_gui_client"
       -   GUI_CLIENT="$enableval" 
       -else
       -   GUI_CLIENT="probe" 
       -fi
       -
       -
       -# Check whether --enable-curses-client or --disable-curses-client was given.
       -if test "${enable_curses_client+set}" = set; then
       -  enableval="$enable_curses_client"
       -   CURSES_CLIENT="$enableval" 
       -else
       -   CURSES_CLIENT="probe" 
       -fi
       -
       -
       -# Check whether --enable-gui-server or --disable-gui-server was given.
       -if test "${enable_gui_server+set}" = set; then
       -  enableval="$enable_gui_server"
       -   GUI_SERVER="$enableval" 
       -else
       -   GUI_SERVER="probe" 
       -fi
       -
       -
       -# Check whether --enable-glib2 or --disable-glib2 was given.
       -if test "${enable_glib2+set}" = set; then
       -  enableval="$enable_glib2"
       -   USE_GLIB2="$enableval" 
       -else
       -   USE_GLIB2="yes" 
       -fi
       -
       -
       -echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
       -echo "configure:1584: checking for Cygwin environment" >&5
       -if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 1589 "configure"
       -#include "confdefs.h"
       -
       -int main() {
       -
       -#ifndef __CYGWIN__
       -#define __CYGWIN__ __CYGWIN32__
       -#endif
       -return __CYGWIN__;
       -; return 0; }
       -EOF
       -if { (eval echo configure:1600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       -  rm -rf conftest*
       -  ac_cv_cygwin=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  ac_cv_cygwin=no
       -fi
       -rm -f conftest*
       -rm -f conftest*
       -fi
       -
       -echo "$ac_t""$ac_cv_cygwin" 1>&6
       -CYGWIN=
       -test "$ac_cv_cygwin" = yes && CYGWIN=yes
       -# Check whether --enable-nativewin32 or --disable-nativewin32 was given.
       -if test "${enable_nativewin32+set}" = set; then
       -  enableval="$enable_nativewin32"
       -   CYGWIN="$enableval" 
       -fi
       -
       -
       -if test "$CYGWIN" = "yes" ; then
       -   echo "$ac_t"""Configuring for native Win32 binary under Cygwin"" 1>&6
       -   cat >> confdefs.h <<\EOF
       -#define CYGWIN 1
       -EOF
       -
       -
       -         
       -               CFLAGS="$CFLAGS -mwindows -fnative-struct"
       -   CPPFLAGS="$CPPFLAGS -mno-cygwin"
       -   LIBS="$LIBS -lwsock32 -lcomctl32 -lmpr"
       -   LDFLAGS="$LDFLAGS -mno-cygwin -lglib-1.3"
       -
       -      WNDRES="dopewars.res"
       -   
       -
       -         HAVE_FIXED_GTK="yes"
       -
       -      if test "$GUI_SERVER" = "probe"; then
       -     GUI_SERVER="yes"
       -   fi
       -else
       -   echo "$ac_t"""Configuring for Unix binary"" 1>&6
       -
       -      glib2_found="no"
       -   if test "$USE_GLIB2" = "yes" ; then
       -     # Check whether --enable-glibtest or --disable-glibtest was given.
       -if test "${enable_glibtest+set}" = set; then
       -  enableval="$enable_glibtest"
       -  :
       -else
       -  enable_glibtest=yes
       -fi
       -
       -
       -  pkg_config_args=glib-2.0
       -  for module in . 
       -  do
       -      case "$module" in
       -         gmodule) 
       -             pkg_config_args="$pkg_config_args gmodule-2.0"
       -         ;;
       -         gobject) 
       -             pkg_config_args="$pkg_config_args gobject-2.0"
       -         ;;
       -         gthread) 
       -             pkg_config_args="$pkg_config_args gthread-2.0"
       -         ;;
       -      esac
       -  done
       -
       -  # Extract the first word of "pkg-config", so it can be a program name with args.
       -set dummy pkg-config; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:1677: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$PKG_CONFIG" in
       -  /*)
       -  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
       -  ;;
       -  ?:/*)                         
       -  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do 
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
       -  ;;
       -esac
       -fi
       -PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
       -if test -n "$PKG_CONFIG"; then
       -  echo "$ac_t""$PKG_CONFIG" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -
       -  no_glib=""
       -
       -  if test x$PKG_CONFIG != xno ; then
       -    if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
       -      :
       -    else
       -      echo *** pkg-config too old; version 0.7 or better required.
       -      no_glib=yes
       -      PKG_CONFIG=no
       -    fi
       -  else
       -    no_glib=yes
       -  fi
       -
       -  min_glib_version=2.0.0
       -  echo $ac_n "checking for GLIB - version >= $min_glib_version""... $ac_c" 1>&6
       -echo "configure:1727: checking for GLIB - version >= $min_glib_version" >&5
       -
       -  if test x$PKG_CONFIG != xno ; then
       -    ## don't try to run the test against uninstalled libtool libs
       -    if $PKG_CONFIG --uninstalled $pkg_config_args; then
       -          echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
       -          enable_glibtest=no
       -    fi
       -
       -    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
       -          :
       -    else
       -          no_glib=yes
       -    fi
       -  fi
       -
       -  if test x"$no_glib" = x ; then
       -    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
       -    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
       -    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
       -
       -    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
       -    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
       -    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
       -    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
       -    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
       -    if test "x$enable_glibtest" = "xyes" ; then
       -      ac_save_CFLAGS="$CFLAGS"
       -      ac_save_LIBS="$LIBS"
       -      CFLAGS="$CFLAGS $GLIB_CFLAGS"
       -      LIBS="$GLIB_LIBS $LIBS"
       -      rm -f conf.glibtest
       -      if test "$cross_compiling" = yes; then
       -  echo $ac_n "cross compiling; assumed OK... $ac_c"
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 1766 "configure"
       -#include "confdefs.h"
       -
       -#include <glib.h>
       -#include <stdio.h>
       -#include <stdlib.h>
       -
       -int 
       -main ()
       -{
       -  int major, minor, micro;
       -  char *tmp_version;
       -
       -  system ("touch conf.glibtest");
       -
       -  /* HP/UX 9 (%@#!) writes to sscanf strings */
       -  tmp_version = g_strdup("$min_glib_version");
       -  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       -     printf("%s, bad version string\n", "$min_glib_version");
       -     exit(1);
       -   }
       -
       -  if ((glib_major_version != $glib_config_major_version) ||
       -      (glib_minor_version != $glib_config_minor_version) ||
       -      (glib_micro_version != $glib_config_micro_version))
       -    {
       -      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
       -             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
       -             glib_major_version, glib_minor_version, glib_micro_version);
       -      printf ("*** was found! If pkg-config was correct, then it is best\n");
       -      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
       -      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       -      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       -      printf("*** required on your system.\n");
       -      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
       -      printf("*** to point to the correct configuration files\n");
       -    } 
       -  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
       -           (glib_minor_version != GLIB_MINOR_VERSION) ||
       -           (glib_micro_version != GLIB_MICRO_VERSION))
       -    {
       -      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
       -             GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
       -      printf("*** library (version %d.%d.%d)\n",
       -             glib_major_version, glib_minor_version, glib_micro_version);
       -    }
       -  else
       -    {
       -      if ((glib_major_version > major) ||
       -        ((glib_major_version == major) && (glib_minor_version > minor)) ||
       -        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
       -      {
       -        return 0;
       -       }
       -     else
       -      {
       -        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
       -               glib_major_version, glib_minor_version, glib_micro_version);
       -        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
       -               major, minor, micro);
       -        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
       -        printf("***\n");
       -        printf("*** If you have already installed a sufficiently new version, this error\n");
       -        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
       -        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       -        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
       -        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
       -        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       -        printf("*** so that the correct libraries are found at run-time))\n");
       -      }
       -    }
       -  return 1;
       -}
       -
       -EOF
       -if { (eval echo configure:1841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  :
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  no_glib=yes
       -fi
       -rm -fr conftest*
       -fi
       -
       -       CFLAGS="$ac_save_CFLAGS"
       -       LIBS="$ac_save_LIBS"
       -     fi
       -  fi
       -  if test "x$no_glib" = x ; then
       -     echo "$ac_t""yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" 1>&6
       -     glib2_found="yes"     
       -  else
       -     echo "$ac_t""no" 1>&6
       -     if test "$PKG_CONFIG" = "no" ; then
       -       echo "*** A new enough version of pkg-config was not found."
       -       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
       -     else
       -       if test -f conf.glibtest ; then
       -        :
       -       else
       -          echo "*** Could not run GLIB test program, checking why..."
       -          CFLAGS="$CFLAGS $GLIB_CFLAGS"
       -          LIBS="$LIBS $GLIB_LIBS"
       -          cat > conftest.$ac_ext <<EOF
       -#line 1873 "configure"
       -#include "confdefs.h"
       -
       -#include <glib.h>
       -#include <stdio.h>
       -
       -int main() {
       - return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 
       -; return 0; }
       -EOF
       -if { (eval echo configure:1883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -   echo "*** The test program compiled, but did not run. This usually means"
       -          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
       -          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
       -          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       -          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       -          echo "*** is required on your system"
       -          echo "***"
       -          echo "*** If you have an old version installed, it is best to remove it, although"
       -          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -   echo "*** The test program failed to compile or link. See the file config.log for the"
       -          echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
       -          echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
       -          echo "*** may want to edit the pkg-config script: $PKG_CONFIG" 
       -fi
       -rm -f conftest*
       -          CFLAGS="$ac_save_CFLAGS"
       -          LIBS="$ac_save_LIBS"
       -       fi
       -     fi
       -     GLIB_CFLAGS=""
       -     GLIB_LIBS=""
       -     GLIB_GENMARSHAL=""
       -     GOBJECT_QUERY=""
       -     GLIB_MKENUMS=""
       -     :
       -  fi
       -  
       -  
       -  
       -  
       -  
       -  rm -f conf.glibtest
       -
       -   fi
       -   if test "$glib2_found" = "no" ; then
       -     # Check whether --with-glib-prefix or --without-glib-prefix was given.
       -if test "${with_glib_prefix+set}" = set; then
       -  withval="$with_glib_prefix"
       -  glib_config_prefix="$withval"
       -else
       -  glib_config_prefix=""
       -fi
       -
       -# Check whether --with-glib-exec-prefix or --without-glib-exec-prefix was given.
       -if test "${with_glib_exec_prefix+set}" = set; then
       -  withval="$with_glib_exec_prefix"
       -  glib_config_exec_prefix="$withval"
       -else
       -  glib_config_exec_prefix=""
       -fi
       -
       -# Check whether --enable-glibtest or --disable-glibtest was given.
       -if test "${enable_glibtest+set}" = set; then
       -  enableval="$enable_glibtest"
       -  :
       -else
       -  enable_glibtest=yes
       -fi
       -
       -
       -  if test x$glib_config_exec_prefix != x ; then
       -     glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
       -     if test x${GLIB_CONFIG+set} != xset ; then
       -        GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
       -     fi
       -  fi
       -  if test x$glib_config_prefix != x ; then
       -     glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
       -     if test x${GLIB_CONFIG+set} != xset ; then
       -        GLIB_CONFIG=$glib_config_prefix/bin/glib-config
       -     fi
       -  fi
       -
       -  for module in . 
       -  do
       -      case "$module" in
       -         gmodule) 
       -             glib_config_args="$glib_config_args gmodule"
       -         ;;
       -         gthread) 
       -             glib_config_args="$glib_config_args gthread"
       -         ;;
       -      esac
       -  done
       -
       -  # Extract the first word of "glib-config", so it can be a program name with args.
       -set dummy glib-config; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:1977: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_GLIB_CONFIG'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$GLIB_CONFIG" in
       -  /*)
       -  ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path.
       -  ;;
       -  ?:/*)                         
       -  ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a dos path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do 
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_path_GLIB_CONFIG="$ac_dir/$ac_word"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no"
       -  ;;
       -esac
       -fi
       -GLIB_CONFIG="$ac_cv_path_GLIB_CONFIG"
       -if test -n "$GLIB_CONFIG"; then
       -  echo "$ac_t""$GLIB_CONFIG" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -  min_glib_version=1.2.0
       -  echo $ac_n "checking for GLIB - version >= $min_glib_version""... $ac_c" 1>&6
       -echo "configure:2012: checking for GLIB - version >= $min_glib_version" >&5
       -  no_glib=""
       -  if test "$GLIB_CONFIG" = "no" ; then
       -    no_glib=yes
       -  else
       -    GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
       -    GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
       -    glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
       -    glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
       -    glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
       -    if test "x$enable_glibtest" = "xyes" ; then
       -      ac_save_CFLAGS="$CFLAGS"
       -      ac_save_LIBS="$LIBS"
       -      CFLAGS="$CFLAGS $GLIB_CFLAGS"
       -      LIBS="$GLIB_LIBS $LIBS"
       -      rm -f conf.glibtest
       -      if test "$cross_compiling" = yes; then
       -  echo $ac_n "cross compiling; assumed OK... $ac_c"
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 2035 "configure"
       -#include "confdefs.h"
       -
       -#include <glib.h>
       -#include <stdio.h>
       -#include <stdlib.h>
       -
       -int 
       -main ()
       -{
       -  int major, minor, micro;
       -  char *tmp_version;
       -
       -  system ("touch conf.glibtest");
       -
       -  /* HP/UX 9 (%@#!) writes to sscanf strings */
       -  tmp_version = g_strdup("$min_glib_version");
       -  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       -     printf("%s, bad version string\n", "$min_glib_version");
       -     exit(1);
       -   }
       -
       -  if ((glib_major_version != $glib_config_major_version) ||
       -      (glib_minor_version != $glib_config_minor_version) ||
       -      (glib_micro_version != $glib_config_micro_version))
       -    {
       -      printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
       -             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
       -             glib_major_version, glib_minor_version, glib_micro_version);
       -      printf ("*** was found! If glib-config was correct, then it is best\n");
       -      printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
       -      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       -      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       -      printf("*** required on your system.\n");
       -      printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
       -      printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
       -      printf("*** before re-running configure\n");
       -    } 
       -  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
       -           (glib_minor_version != GLIB_MINOR_VERSION) ||
       -           (glib_micro_version != GLIB_MICRO_VERSION))
       -    {
       -      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
       -             GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
       -      printf("*** library (version %d.%d.%d)\n",
       -             glib_major_version, glib_minor_version, glib_micro_version);
       -    }
       -  else
       -    {
       -      if ((glib_major_version > major) ||
       -        ((glib_major_version == major) && (glib_minor_version > minor)) ||
       -        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
       -      {
       -        return 0;
       -       }
       -     else
       -      {
       -        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
       -               glib_major_version, glib_minor_version, glib_micro_version);
       -        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
       -               major, minor, micro);
       -        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
       -        printf("***\n");
       -        printf("*** If you have already installed a sufficiently new version, this error\n");
       -        printf("*** probably means that the wrong copy of the glib-config shell script is\n");
       -        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       -        printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
       -        printf("*** correct copy of glib-config. (In this case, you will have to\n");
       -        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       -        printf("*** so that the correct libraries are found at run-time))\n");
       -      }
       -    }
       -  return 1;
       -}
       -
       -EOF
       -if { (eval echo configure:2111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  :
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  no_glib=yes
       -fi
       -rm -fr conftest*
       -fi
       -
       -       CFLAGS="$ac_save_CFLAGS"
       -       LIBS="$ac_save_LIBS"
       -     fi
       -  fi
       -  if test "x$no_glib" = x ; then
       -     echo "$ac_t""yes" 1>&6
       -     :     
       -  else
       -     echo "$ac_t""no" 1>&6
       -     if test "$GLIB_CONFIG" = "no" ; then
       -       echo "*** The glib-config script installed by GLIB could not be found"
       -       echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
       -       echo "*** your path, or set the GLIB_CONFIG environment variable to the"
       -       echo "*** full path to glib-config."
       -     else
       -       if test -f conf.glibtest ; then
       -        :
       -       else
       -          echo "*** Could not run GLIB test program, checking why..."
       -          CFLAGS="$CFLAGS $GLIB_CFLAGS"
       -          LIBS="$LIBS $GLIB_LIBS"
       -          cat > conftest.$ac_ext <<EOF
       -#line 2145 "configure"
       -#include "confdefs.h"
       -
       -#include <glib.h>
       -#include <stdio.h>
       -
       -int main() {
       - return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 
       -; return 0; }
       -EOF
       -if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -   echo "*** The test program compiled, but did not run. This usually means"
       -          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
       -          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
       -          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       -          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       -          echo "*** is required on your system"
       -          echo "***"
       -          echo "*** If you have an old version installed, it is best to remove it, although"
       -          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
       -          echo "***"
       -          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
       -          echo "*** came with the system with the command"
       -          echo "***"
       -          echo "***    rpm --erase --nodeps gtk gtk-devel" 
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -   echo "*** The test program failed to compile or link. See the file config.log for the"
       -          echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
       -          echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
       -          echo "*** may want to edit the glib-config script: $GLIB_CONFIG" 
       -fi
       -rm -f conftest*
       -          CFLAGS="$ac_save_CFLAGS"
       -          LIBS="$ac_save_LIBS"
       -       fi
       -     fi
       -     GLIB_CFLAGS=""
       -     GLIB_LIBS=""
       -     { echo "configure: error: Cannot find glib - aborting" 1>&2; exit 1; }
       -  fi
       -  
       -  
       -  rm -f conf.glibtest
       -
       -   else
       -     cat >> confdefs.h <<\EOF
       -#define HAVE_GLIB2 1
       -EOF
       -
       -   fi
       -
       -      if test "$CURSES_CLIENT" != "no" ; then
       -      echo $ac_n "checking for newterm in -lncurses""... $ac_c" 1>&6
       -echo "configure:2202: checking for newterm in -lncurses" >&5
       -ac_lib_var=`echo ncurses'_'newterm | sed 'y%./+-%__p_%'`
       -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  ac_save_LIBS="$LIBS"
       -LIBS="-lncurses  $LIBS"
       -cat > conftest.$ac_ext <<EOF
       -#line 2210 "configure"
       -#include "confdefs.h"
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char newterm();
       -
       -int main() {
       -newterm()
       -; return 0; }
       -EOF
       -if { (eval echo configure:2221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=no"
       -fi
       -rm -f conftest*
       -LIBS="$ac_save_LIBS"
       -
       -fi
       -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
       -    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_lib 1
       -EOF
       -
       -  LIBS="-lncurses $LIBS"
       -
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -      if test "$ac_cv_lib_ncurses_newterm" = "no" ; then
       -         echo $ac_n "checking for newterm in -lcurses""... $ac_c" 1>&6
       -echo "configure:2250: checking for newterm in -lcurses" >&5
       -ac_lib_var=`echo curses'_'newterm | sed 'y%./+-%__p_%'`
       -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  ac_save_LIBS="$LIBS"
       -LIBS="-lcurses  $LIBS"
       -cat > conftest.$ac_ext <<EOF
       -#line 2258 "configure"
       -#include "confdefs.h"
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char newterm();
       -
       -int main() {
       -newterm()
       -; return 0; }
       -EOF
       -if { (eval echo configure:2269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=no"
       -fi
       -rm -f conftest*
       -LIBS="$ac_save_LIBS"
       -
       -fi
       -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
       -    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_lib 1
       -EOF
       -
       -  LIBS="-lcurses $LIBS"
       -
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -         if test "$ac_cv_lib_curses_newterm" = "no" ; then
       -            echo $ac_n "checking for newterm in -lcur_colr""... $ac_c" 1>&6
       -echo "configure:2298: checking for newterm in -lcur_colr" >&5
       -ac_lib_var=`echo cur_colr'_'newterm | sed 'y%./+-%__p_%'`
       -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  ac_save_LIBS="$LIBS"
       -LIBS="-lcur_colr  $LIBS"
       -cat > conftest.$ac_ext <<EOF
       -#line 2306 "configure"
       -#include "confdefs.h"
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char newterm();
       -
       -int main() {
       -newterm()
       -; return 0; }
       -EOF
       -if { (eval echo configure:2317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=no"
       -fi
       -rm -f conftest*
       -LIBS="$ac_save_LIBS"
       -
       -fi
       -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_lib=HAVE_LIB`echo cur_colr | sed -e 's/[^a-zA-Z0-9_]/_/g' \
       -    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_lib 1
       -EOF
       -
       -  LIBS="-lcur_colr $LIBS"
       -
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -            if test "$ac_cv_lib_cur_colr_newterm" = "no" ; then
       -               if test "$CURSES_CLIENT" = "yes" ; then
       -                 { echo "configure: error: Cannot find any curses-type library" 1>&2; exit 1; }
       -               else
       -                 echo "configure: warning: Cannot find any curses-type library" 1>&2
       -                 CURSES_CLIENT="no"
       -               fi
       -            fi
       -         fi
       -      fi
       -   fi
       -
       -   if test "$GUI_CLIENT" != "no" -o "$GUI_SERVER" != "no"; then
       -                  gtk2_found="no"
       -      if test "$USE_GLIB2" = "yes" ; then
       -        # Check whether --enable-gtktest or --disable-gtktest was given.
       -if test "${enable_gtktest+set}" = set; then
       -  enableval="$enable_gtktest"
       -  :
       -else
       -  enable_gtktest=yes
       -fi
       -
       -
       -  pkg_config_args=gtk+-2.0
       -  for module in . 
       -  do
       -      case "$module" in
       -         gthread) 
       -             pkg_config_args="$pkg_config_args gthread-2.0"
       -         ;;
       -      esac
       -  done
       -
       -  no_gtk=""
       -
       -  # Extract the first word of "pkg-config", so it can be a program name with args.
       -set dummy pkg-config; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2383: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$PKG_CONFIG" in
       -  /*)
       -  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
       -  ;;
       -  ?:/*)                         
       -  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do 
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
       -  ;;
       -esac
       -fi
       -PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
       -if test -n "$PKG_CONFIG"; then
       -  echo "$ac_t""$PKG_CONFIG" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -
       -  if test x$PKG_CONFIG != xno ; then
       -    if pkg-config --atleast-pkgconfig-version 0.7 ; then
       -      :
       -    else
       -      echo *** pkg-config too old; version 0.7 or better required.
       -      no_gtk=yes
       -      PKG_CONFIG=no
       -    fi
       -  else
       -    no_gtk=yes
       -  fi
       -
       -  min_gtk_version=2.0.0
       -  echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
       -echo "configure:2431: checking for GTK+ - version >= $min_gtk_version" >&5
       -
       -  if test x$PKG_CONFIG != xno ; then
       -    ## don't try to run the test against uninstalled libtool libs
       -    if $PKG_CONFIG --uninstalled $pkg_config_args; then
       -          echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
       -          enable_gtktest=no
       -    fi
       -
       -    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
       -          :
       -    else
       -          no_gtk=yes
       -    fi
       -  fi
       -
       -  if test x"$no_gtk" = x ; then
       -    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
       -    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
       -    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
       -    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
       -    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
       -    if test "x$enable_gtktest" = "xyes" ; then
       -      ac_save_CFLAGS="$CFLAGS"
       -      ac_save_LIBS="$LIBS"
       -      CFLAGS="$CFLAGS $GTK_CFLAGS"
       -      LIBS="$GTK_LIBS $LIBS"
       -      rm -f conf.gtktest
       -      if test "$cross_compiling" = yes; then
       -  echo $ac_n "cross compiling; assumed OK... $ac_c"
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 2466 "configure"
       -#include "confdefs.h"
       -
       -#include <gtk/gtk.h>
       -#include <stdio.h>
       -#include <stdlib.h>
       -
       -int 
       -main ()
       -{
       -  int major, minor, micro;
       -  char *tmp_version;
       -
       -  system ("touch conf.gtktest");
       -
       -  /* HP/UX 9 (%@#!) writes to sscanf strings */
       -  tmp_version = g_strdup("$min_gtk_version");
       -  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       -     printf("%s, bad version string\n", "$min_gtk_version");
       -     exit(1);
       -   }
       -
       -  if ((gtk_major_version != $gtk_config_major_version) ||
       -      (gtk_minor_version != $gtk_config_minor_version) ||
       -      (gtk_micro_version != $gtk_config_micro_version))
       -    {
       -      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
       -             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
       -             gtk_major_version, gtk_minor_version, gtk_micro_version);
       -      printf ("*** was found! If pkg-config was correct, then it is best\n");
       -      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
       -      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       -      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       -      printf("*** required on your system.\n");
       -      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
       -      printf("*** to point to the correct configuration files\n");
       -    } 
       -  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
       -           (gtk_minor_version != GTK_MINOR_VERSION) ||
       -           (gtk_micro_version != GTK_MICRO_VERSION))
       -    {
       -      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
       -             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
       -      printf("*** library (version %d.%d.%d)\n",
       -             gtk_major_version, gtk_minor_version, gtk_micro_version);
       -    }
       -  else
       -    {
       -      if ((gtk_major_version > major) ||
       -        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
       -        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
       -      {
       -        return 0;
       -       }
       -     else
       -      {
       -        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
       -               gtk_major_version, gtk_minor_version, gtk_micro_version);
       -        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
       -               major, minor, micro);
       -        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
       -        printf("***\n");
       -        printf("*** If you have already installed a sufficiently new version, this error\n");
       -        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
       -        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       -        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
       -        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
       -        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       -        printf("*** so that the correct libraries are found at run-time))\n");
       -      }
       -    }
       -  return 1;
       -}
       -
       -EOF
       -if { (eval echo configure:2541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  :
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  no_gtk=yes
       -fi
       -rm -fr conftest*
       -fi
       -
       -       CFLAGS="$ac_save_CFLAGS"
       -       LIBS="$ac_save_LIBS"
       -     fi
       -  fi
       -  if test "x$no_gtk" = x ; then
       -     echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
       -     gtk2_found="yes"     
       -  else
       -     echo "$ac_t""no" 1>&6
       -     if test "$PKG_CONFIG" = "no" ; then
       -       echo "*** A new enough version of pkg-config was not found."
       -       echo "*** See http://pkgconfig.sourceforge.net"
       -     else
       -       if test -f conf.gtktest ; then
       -        :
       -       else
       -          echo "*** Could not run GTK+ test program, checking why..."
       -          CFLAGS="$CFLAGS $GTK_CFLAGS"
       -          LIBS="$LIBS $GTK_LIBS"
       -          cat > conftest.$ac_ext <<EOF
       -#line 2573 "configure"
       -#include "confdefs.h"
       -
       -#include <gtk/gtk.h>
       -#include <stdio.h>
       -
       -int main() {
       - return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); 
       -; return 0; }
       -EOF
       -if { (eval echo configure:2583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -   echo "*** The test program compiled, but did not run. This usually means"
       -          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
       -          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
       -          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       -          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       -          echo "*** is required on your system"
       -          echo "***"
       -          echo "*** If you have an old version installed, it is best to remove it, although"
       -          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -   echo "*** The test program failed to compile or link. See the file config.log for the"
       -          echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
       -          echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
       -          echo "*** may want to edit the pkg-config script: $PKG_CONFIG" 
       -fi
       -rm -f conftest*
       -          CFLAGS="$ac_save_CFLAGS"
       -          LIBS="$ac_save_LIBS"
       -       fi
       -     fi
       -     GTK_CFLAGS=""
       -     GTK_LIBS=""
       -     :
       -  fi
       -  
       -  
       -  rm -f conf.gtktest
       -
       -      fi
       -      if test "$gtk2_found" = "yes" ; then
       -        HAVE_FIXED_GTK="yes"
       -      else
       -        gtk_found="no"
       -        if test "$glib2_found" = "no" ; then
       -          # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
       -if test "${with_gtk_prefix+set}" = set; then
       -  withval="$with_gtk_prefix"
       -  gtk_config_prefix="$withval"
       -else
       -  gtk_config_prefix=""
       -fi
       -
       -# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
       -if test "${with_gtk_exec_prefix+set}" = set; then
       -  withval="$with_gtk_exec_prefix"
       -  gtk_config_exec_prefix="$withval"
       -else
       -  gtk_config_exec_prefix=""
       -fi
       -
       -# Check whether --enable-gtktest or --disable-gtktest was given.
       -if test "${enable_gtktest+set}" = set; then
       -  enableval="$enable_gtktest"
       -  :
       -else
       -  enable_gtktest=yes
       -fi
       -
       -
       -  for module in . 
       -  do
       -      case "$module" in
       -         gthread) 
       -             gtk_config_args="$gtk_config_args gthread"
       -         ;;
       -      esac
       -  done
       -
       -  if test x$gtk_config_exec_prefix != x ; then
       -     gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
       -     if test x${GTK_CONFIG+set} != xset ; then
       -        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
       -     fi
       -  fi
       -  if test x$gtk_config_prefix != x ; then
       -     gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
       -     if test x${GTK_CONFIG+set} != xset ; then
       -        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
       -     fi
       -  fi
       -
       -  # Extract the first word of "gtk-config", so it can be a program name with args.
       -set dummy gtk-config; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2672: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$GTK_CONFIG" in
       -  /*)
       -  ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
       -  ;;
       -  ?:/*)                         
       -  ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do 
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
       -  ;;
       -esac
       -fi
       -GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
       -if test -n "$GTK_CONFIG"; then
       -  echo "$ac_t""$GTK_CONFIG" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -  min_gtk_version=1.2.0
       -  echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
       -echo "configure:2707: checking for GTK - version >= $min_gtk_version" >&5
       -  no_gtk=""
       -  if test "$GTK_CONFIG" = "no" ; then
       -    no_gtk=yes
       -  else
       -    GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
       -    GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
       -    gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
       -    gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
       -    gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
       -           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
       -    if test "x$enable_gtktest" = "xyes" ; then
       -      ac_save_CFLAGS="$CFLAGS"
       -      ac_save_LIBS="$LIBS"
       -      CFLAGS="$CFLAGS $GTK_CFLAGS"
       -      LIBS="$GTK_LIBS $LIBS"
       -      rm -f conf.gtktest
       -      if test "$cross_compiling" = yes; then
       -  echo $ac_n "cross compiling; assumed OK... $ac_c"
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 2730 "configure"
       -#include "confdefs.h"
       -
       -#include <gtk/gtk.h>
       -#include <stdio.h>
       -#include <stdlib.h>
       -
       -int 
       -main ()
       -{
       -  int major, minor, micro;
       -  char *tmp_version;
       -
       -  system ("touch conf.gtktest");
       -
       -  /* HP/UX 9 (%@#!) writes to sscanf strings */
       -  tmp_version = g_strdup("$min_gtk_version");
       -  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       -     printf("%s, bad version string\n", "$min_gtk_version");
       -     exit(1);
       -   }
       -
       -  if ((gtk_major_version != $gtk_config_major_version) ||
       -      (gtk_minor_version != $gtk_config_minor_version) ||
       -      (gtk_micro_version != $gtk_config_micro_version))
       -    {
       -      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
       -             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
       -             gtk_major_version, gtk_minor_version, gtk_micro_version);
       -      printf ("*** was found! If gtk-config was correct, then it is best\n");
       -      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
       -      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       -      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       -      printf("*** required on your system.\n");
       -      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
       -      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
       -      printf("*** before re-running configure\n");
       -    } 
       -#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
       -  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
       -           (gtk_minor_version != GTK_MINOR_VERSION) ||
       -           (gtk_micro_version != GTK_MICRO_VERSION))
       -    {
       -      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
       -             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
       -      printf("*** library (version %d.%d.%d)\n",
       -             gtk_major_version, gtk_minor_version, gtk_micro_version);
       -    }
       -#endif /* defined (GTK_MAJOR_VERSION) ... */
       -  else
       -    {
       -      if ((gtk_major_version > major) ||
       -        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
       -        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
       -      {
       -        return 0;
       -       }
       -     else
       -      {
       -        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
       -               gtk_major_version, gtk_minor_version, gtk_micro_version);
       -        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
       -               major, minor, micro);
       -        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
       -        printf("***\n");
       -        printf("*** If you have already installed a sufficiently new version, this error\n");
       -        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
       -        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       -        printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
       -        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
       -        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       -        printf("*** so that the correct libraries are found at run-time))\n");
       -      }
       -    }
       -  return 1;
       -}
       -
       -EOF
       -if { (eval echo configure:2808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  :
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  no_gtk=yes
       -fi
       -rm -fr conftest*
       -fi
       -
       -       CFLAGS="$ac_save_CFLAGS"
       -       LIBS="$ac_save_LIBS"
       -     fi
       -  fi
       -  if test "x$no_gtk" = x ; then
       -     echo "$ac_t""yes" 1>&6
       -     gtk_found="yes"     
       -  else
       -     echo "$ac_t""no" 1>&6
       -     if test "$GTK_CONFIG" = "no" ; then
       -       echo "*** The gtk-config script installed by GTK could not be found"
       -       echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
       -       echo "*** your path, or set the GTK_CONFIG environment variable to the"
       -       echo "*** full path to gtk-config."
       -     else
       -       if test -f conf.gtktest ; then
       -        :
       -       else
       -          echo "*** Could not run GTK test program, checking why..."
       -          CFLAGS="$CFLAGS $GTK_CFLAGS"
       -          LIBS="$LIBS $GTK_LIBS"
       -          cat > conftest.$ac_ext <<EOF
       -#line 2842 "configure"
       -#include "confdefs.h"
       -
       -#include <gtk/gtk.h>
       -#include <stdio.h>
       -
       -int main() {
       - return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); 
       -; return 0; }
       -EOF
       -if { (eval echo configure:2852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -   echo "*** The test program compiled, but did not run. This usually means"
       -          echo "*** that the run-time linker is not finding GTK or finding the wrong"
       -          echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
       -          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       -          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       -          echo "*** is required on your system"
       -          echo "***"
       -          echo "*** If you have an old version installed, it is best to remove it, although"
       -          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
       -          echo "***"
       -          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
       -          echo "*** came with the system with the command"
       -          echo "***"
       -          echo "***    rpm --erase --nodeps gtk gtk-devel" 
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -   echo "*** The test program failed to compile or link. See the file config.log for the"
       -          echo "*** exact error that occured. This usually means GTK was incorrectly installed"
       -          echo "*** or that you have moved GTK since it was installed. In the latter case, you"
       -          echo "*** may want to edit the gtk-config script: $GTK_CONFIG" 
       -fi
       -rm -f conftest*
       -          CFLAGS="$ac_save_CFLAGS"
       -          LIBS="$ac_save_LIBS"
       -       fi
       -     fi
       -     GTK_CFLAGS=""
       -     GTK_LIBS=""
       -     :
       -  fi
       -  
       -  
       -  rm -f conf.gtktest
       -
       -        fi
       -        if test "$gtk_found" = "no" ; then
       -           if test "$GUI_CLIENT" = "yes" -o "$GUI_SERVER" = "yes" ; then
       -             { echo "configure: error: Cannot find GTK+" 1>&2; exit 1; }
       -           else
       -             echo "configure: warning: Cannot find GTK+" 1>&2
       -             GUI_CLIENT="no"
       -             GUI_SERVER="no"
       -           fi
       -        else
       -           echo $ac_n "checking for non-buggy GTK+ ( >= 1.2.10 )""... $ac_c" 1>&6
       -echo "configure:2901: checking for non-buggy GTK+ ( >= 1.2.10 )" >&5
       -                      if test "$gtk_config_major_version" -gt 1 ; then
       -              HAVE_FIXED_GTK="yes"
       -           elif test "$gtk_config_major_version" -eq 1 ; then
       -              if test "$gtk_config_minor_version" -gt 2 ; then
       -                                  HAVE_FIXED_GTK="yes"
       -              elif test "$gtk_config_minor_version" -eq 2 -a \
       -                        "$gtk_config_micro_version" -ge 10 ; then
       -                 HAVE_FIXED_GTK="yes"
       -              fi
       -           fi
       -           echo "$ac_t"""$HAVE_FIXED_GTK"" 1>&6
       -        fi
       -     fi
       -   fi
       -
       -      if test "$GUI_SERVER" = "probe"; then
       -     GUI_SERVER="no"
       -   fi
       -
       -      echo $ac_n "checking for socklen_t data type""... $ac_c" 1>&6
       -echo "configure:2922: checking for socklen_t data type" >&5
       -   cat > conftest.$ac_ext <<EOF
       -#line 2924 "configure"
       -#include "confdefs.h"
       -#include <sys/types.h>
       -                   #include <sys/socket.h>
       -int main() {
       -socklen_t val
       -; return 0; }
       -EOF
       -if { (eval echo configure:2932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       -  rm -rf conftest*
       -  echo "$ac_t""yes" 1>&6
       -                   cat >> confdefs.h <<\EOF
       -#define HAVE_SOCKLEN_T 1
       -EOF
       -
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  echo "$ac_t""no" 1>&6
       -fi
       -rm -f conftest*
       -fi
       -
       -if test "$GUI_CLIENT" = "probe"; then
       -  GUI_CLIENT="yes"
       -fi
       -if test "$CURSES_CLIENT" = "probe"; then
       -  CURSES_CLIENT="yes"
       -fi
       -
       -ALL_LINGUAS="de pl pt_BR fr"
       -# Extract the first word of "ranlib", so it can be a program name with args.
       -set dummy ranlib; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2959: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test -n "$RANLIB"; then
       -  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
       -else
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_prog_RANLIB="ranlib"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
       -fi
       -fi
       -RANLIB="$ac_cv_prog_RANLIB"
       -if test -n "$RANLIB"; then
       -  echo "$ac_t""$RANLIB" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -echo $ac_n "checking for working const""... $ac_c" 1>&6
       -echo "configure:2987: checking for working const" >&5
       -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 2992 "configure"
       -#include "confdefs.h"
       -
       -int main() {
       -
       -/* Ultrix mips cc rejects this.  */
       -typedef int charset[2]; const charset x;
       -/* SunOS 4.1.1 cc rejects this.  */
       -char const *const *ccp;
       -char **p;
       -/* NEC SVR4.0.2 mips cc rejects this.  */
       -struct point {int x, y;};
       -static struct point const zero = {0,0};
       -/* AIX XL C 1.02.0.0 rejects this.
       -   It does not let you subtract one const X* pointer from another in an arm
       -   of an if-expression whose if-part is not a constant expression */
       -const char *g = "string";
       -ccp = &g + (g ? g-g : 0);
       -/* HPUX 7.0 cc rejects these. */
       -++ccp;
       -p = (char**) ccp;
       -ccp = (char const *const *) p;
       -{ /* SCO 3.2v4 cc rejects this.  */
       -  char *t;
       -  char const *s = 0 ? (char *) 0 : (char const *) 0;
       -
       -  *t++ = 0;
       -}
       -{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
       -  int x[] = {25, 17};
       -  const int *foo = &x[0];
       -  ++foo;
       -}
       -{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
       -  typedef const int *iptr;
       -  iptr p = 0;
       -  ++p;
       -}
       -{ /* AIX XL C 1.02.0.0 rejects this saying
       -     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
       -  struct s { int j; const int *ap[3]; };
       -  struct s *b; b->j = 5;
       -}
       -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
       -  const int foo = 10;
       -}
       -
       -; return 0; }
       -EOF
       -if { (eval echo configure:3041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       -  rm -rf conftest*
       -  ac_cv_c_const=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  ac_cv_c_const=no
       -fi
       -rm -f conftest*
       -fi
       -
       -echo "$ac_t""$ac_cv_c_const" 1>&6
       -if test $ac_cv_c_const = no; then
       -  cat >> confdefs.h <<\EOF
       -#define const 
       -EOF
       -
       -fi
       -
       -echo $ac_n "checking for inline""... $ac_c" 1>&6
       -echo "configure:3062: checking for inline" >&5
       -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  ac_cv_c_inline=no
       -for ac_kw in inline __inline__ __inline; do
       -  cat > conftest.$ac_ext <<EOF
       -#line 3069 "configure"
       -#include "confdefs.h"
       -
       -int main() {
       -} $ac_kw foo() {
       -; return 0; }
       -EOF
       -if { (eval echo configure:3076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       -  rm -rf conftest*
       -  ac_cv_c_inline=$ac_kw; break
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -fi
       -rm -f conftest*
       -done
       -
       -fi
       -
       -echo "$ac_t""$ac_cv_c_inline" 1>&6
       -case "$ac_cv_c_inline" in
       -  inline | yes) ;;
       -  no) cat >> confdefs.h <<\EOF
       -#define inline 
       -EOF
       - ;;
       -  *)  cat >> confdefs.h <<EOF
       -#define inline $ac_cv_c_inline
       -EOF
       - ;;
       -esac
       -
       -echo $ac_n "checking for off_t""... $ac_c" 1>&6
       -echo "configure:3102: checking for off_t" >&5
       -if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3107 "configure"
       -#include "confdefs.h"
       -#include <sys/types.h>
       -#if STDC_HEADERS
       -#include <stdlib.h>
       -#include <stddef.h>
       -#endif
       -EOF
       -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       -  egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
       -  rm -rf conftest*
       -  ac_cv_type_off_t=yes
       -else
       -  rm -rf conftest*
       -  ac_cv_type_off_t=no
       -fi
       -rm -f conftest*
       -
       -fi
       -echo "$ac_t""$ac_cv_type_off_t" 1>&6
       -if test $ac_cv_type_off_t = no; then
       -  cat >> confdefs.h <<\EOF
       -#define off_t long
       -EOF
       -
       -fi
       -
       -echo $ac_n "checking for size_t""... $ac_c" 1>&6
       -echo "configure:3135: checking for size_t" >&5
       -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3140 "configure"
       -#include "confdefs.h"
       -#include <sys/types.h>
       -#if STDC_HEADERS
       -#include <stdlib.h>
       -#include <stddef.h>
       -#endif
       -EOF
       -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       -  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
       -  rm -rf conftest*
       -  ac_cv_type_size_t=yes
       -else
       -  rm -rf conftest*
       -  ac_cv_type_size_t=no
       -fi
       -rm -f conftest*
       -
       -fi
       -echo "$ac_t""$ac_cv_type_size_t" 1>&6
       -if test $ac_cv_type_size_t = no; then
       -  cat >> confdefs.h <<\EOF
       -#define size_t unsigned
       -EOF
       -
       -fi
       -
       -# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
       -# for constant arguments.  Useless!
       -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
       -echo "configure:3170: checking for working alloca.h" >&5
       -if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3175 "configure"
       -#include "confdefs.h"
       -#include <alloca.h>
       -int main() {
       -char *p = alloca(2 * sizeof(int));
       -; return 0; }
       -EOF
       -if { (eval echo configure:3182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  ac_cv_header_alloca_h=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  ac_cv_header_alloca_h=no
       -fi
       -rm -f conftest*
       -fi
       -
       -echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
       -if test $ac_cv_header_alloca_h = yes; then
       -  cat >> confdefs.h <<\EOF
       -#define HAVE_ALLOCA_H 1
       -EOF
       -
       -fi
       -
       -echo $ac_n "checking for alloca""... $ac_c" 1>&6
       -echo "configure:3203: checking for alloca" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3208 "configure"
       -#include "confdefs.h"
       -
       -#ifdef __GNUC__
       -# define alloca __builtin_alloca
       -#else
       -# ifdef _MSC_VER
       -#  include <malloc.h>
       -#  define alloca _alloca
       -# else
       -#  if HAVE_ALLOCA_H
       -#   include <alloca.h>
       -#  else
       -#   ifdef _AIX
       - #pragma alloca
       -#   else
       -#    ifndef alloca /* predefined by HP cc +Olibcalls */
       -char *alloca ();
       -#    endif
       -#   endif
       -#  endif
       -# endif
       -#endif
       -
       -int main() {
       -char *p = (char *) alloca(1);
       -; return 0; }
       -EOF
       -if { (eval echo configure:3236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  ac_cv_func_alloca_works=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  ac_cv_func_alloca_works=no
       -fi
       -rm -f conftest*
       -fi
       -
       -echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
       -if test $ac_cv_func_alloca_works = yes; then
       -  cat >> confdefs.h <<\EOF
       -#define HAVE_ALLOCA 1
       -EOF
       -
       -fi
       -
       -if test $ac_cv_func_alloca_works = no; then
       -  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
       -  # that cause trouble.  Some versions do not even contain alloca or
       -  # contain a buggy version.  If you still want to use their alloca,
       -  # use ar to extract alloca.o from them instead of compiling alloca.c.
       -  ALLOCA=alloca.${ac_objext}
       -  cat >> confdefs.h <<\EOF
       -#define C_ALLOCA 1
       -EOF
       -
       -
       -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
       -echo "configure:3268: checking whether alloca needs Cray hooks" >&5
       -if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3273 "configure"
       -#include "confdefs.h"
       -#if defined(CRAY) && ! defined(CRAY2)
       -webecray
       -#else
       -wenotbecray
       -#endif
       -
       -EOF
       -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       -  egrep "webecray" >/dev/null 2>&1; then
       -  rm -rf conftest*
       -  ac_cv_os_cray=yes
       -else
       -  rm -rf conftest*
       -  ac_cv_os_cray=no
       -fi
       -rm -f conftest*
       -
       -fi
       -
       -echo "$ac_t""$ac_cv_os_cray" 1>&6
       -if test $ac_cv_os_cray = yes; then
       -for ac_func in _getb67 GETB67 getb67; do
       -  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:3298: checking for $ac_func" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3303 "configure"
       -#include "confdefs.h"
       -/* System header to define __stub macros and hopefully few prototypes,
       -    which can conflict with char $ac_func(); below.  */
       -#include <assert.h>
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char $ac_func();
       -
       -int main() {
       -
       -/* The GNU C library defines this for functions which it implements
       -    to always fail with ENOSYS.  Some functions are actually named
       -    something starting with __ and the normal name is an alias.  */
       -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
       -choke me
       -#else
       -$ac_func();
       -#endif
       -
       -; return 0; }
       -EOF
       -if { (eval echo configure:3326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=no"
       -fi
       -rm -f conftest*
       -fi
       -
       -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -  cat >> confdefs.h <<EOF
       -#define CRAY_STACKSEG_END $ac_func
       -EOF
       -
       -  break
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -done
       -fi
       -
       -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
       -echo "configure:3353: checking stack direction for C alloca" >&5
       -if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test "$cross_compiling" = yes; then
       -  ac_cv_c_stack_direction=0
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3361 "configure"
       -#include "confdefs.h"
       -find_stack_direction ()
       -{
       -  static char *addr = 0;
       -  auto char dummy;
       -  if (addr == 0)
       -    {
       -      addr = &dummy;
       -      return find_stack_direction ();
       -    }
       -  else
       -    return (&dummy > addr) ? 1 : -1;
       -}
       -main ()
       -{
       -  exit (find_stack_direction() < 0);
       -}
       -EOF
       -if { (eval echo configure:3380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  ac_cv_c_stack_direction=1
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  ac_cv_c_stack_direction=-1
       -fi
       -rm -fr conftest*
       -fi
       -
       -fi
       -
       -echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
       -cat >> confdefs.h <<EOF
       -#define STACK_DIRECTION $ac_cv_c_stack_direction
       -EOF
       -
       -fi
       -
       -for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
       -do
       -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
       -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
       -echo "configure:3405: checking for $ac_hdr" >&5
       -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3410 "configure"
       -#include "confdefs.h"
       -#include <$ac_hdr>
       -EOF
       -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:3415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
       -if test -z "$ac_err"; then
       -  rm -rf conftest*
       -  eval "ac_cv_header_$ac_safe=yes"
       -else
       -  echo "$ac_err" >&5
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_header_$ac_safe=no"
       -fi
       -rm -f conftest*
       -fi
       -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_hdr 1
       -EOF
       - 
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -done
       -
       -for ac_func in getpagesize
       -do
       -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:3444: checking for $ac_func" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3449 "configure"
       -#include "confdefs.h"
       -/* System header to define __stub macros and hopefully few prototypes,
       -    which can conflict with char $ac_func(); below.  */
       -#include <assert.h>
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char $ac_func();
       -
       -int main() {
       -
       -/* The GNU C library defines this for functions which it implements
       -    to always fail with ENOSYS.  Some functions are actually named
       -    something starting with __ and the normal name is an alias.  */
       -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
       -choke me
       -#else
       -$ac_func();
       -#endif
       -
       -; return 0; }
       -EOF
       -if { (eval echo configure:3472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=no"
       -fi
       -rm -f conftest*
       -fi
       -
       -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_func 1
       -EOF
       - 
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -done
       -
       -echo $ac_n "checking for working mmap""... $ac_c" 1>&6
       -echo "configure:3497: checking for working mmap" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test "$cross_compiling" = yes; then
       -  ac_cv_func_mmap_fixed_mapped=no
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3505 "configure"
       -#include "confdefs.h"
       -
       -/* Thanks to Mike Haertel and Jim Avera for this test.
       -   Here is a matrix of mmap possibilities:
       -        mmap private not fixed
       -        mmap private fixed at somewhere currently unmapped
       -        mmap private fixed at somewhere already mapped
       -        mmap shared not fixed
       -        mmap shared fixed at somewhere currently unmapped
       -        mmap shared fixed at somewhere already mapped
       -   For private mappings, we should verify that changes cannot be read()
       -   back from the file, nor mmap's back from the file at a different
       -   address.  (There have been systems where private was not correctly
       -   implemented like the infamous i386 svr4.0, and systems where the
       -   VM page cache was not coherent with the filesystem buffer cache
       -   like early versions of FreeBSD and possibly contemporary NetBSD.)
       -   For shared mappings, we should conversely verify that changes get
       -   propogated back to all the places they're supposed to be.
       -
       -   Grep wants private fixed already mapped.
       -   The main things grep needs to know about mmap are:
       -   * does it exist and is it safe to write into the mmap'd area
       -   * how to use it (BSD variants)  */
       -#include <sys/types.h>
       -#include <fcntl.h>
       -#include <sys/mman.h>
       -
       -#if HAVE_SYS_TYPES_H
       -# include <sys/types.h>
       -#endif
       -
       -#if HAVE_STDLIB_H
       -# include <stdlib.h>
       -#endif
       -
       -#if HAVE_SYS_STAT_H
       -# include <sys/stat.h>
       -#endif
       -
       -#if HAVE_UNISTD_H
       -# include <unistd.h>
       -#endif
       -
       -/* This mess was copied from the GNU getpagesize.h.  */
       -#ifndef HAVE_GETPAGESIZE
       -
       -/* Assume that all systems that can run configure have sys/param.h.  */
       -# ifndef HAVE_SYS_PARAM_H
       -#  define HAVE_SYS_PARAM_H 1
       -# endif
       -
       -# ifdef _SC_PAGESIZE
       -#  define getpagesize() sysconf(_SC_PAGESIZE)
       -# else /* no _SC_PAGESIZE */
       -#  ifdef HAVE_SYS_PARAM_H
       -#   include <sys/param.h>
       -#   ifdef EXEC_PAGESIZE
       -#    define getpagesize() EXEC_PAGESIZE
       -#   else /* no EXEC_PAGESIZE */
       -#    ifdef NBPG
       -#     define getpagesize() NBPG * CLSIZE
       -#     ifndef CLSIZE
       -#      define CLSIZE 1
       -#     endif /* no CLSIZE */
       -#    else /* no NBPG */
       -#     ifdef NBPC
       -#      define getpagesize() NBPC
       -#     else /* no NBPC */
       -#      ifdef PAGESIZE
       -#       define getpagesize() PAGESIZE
       -#      endif /* PAGESIZE */
       -#     endif /* no NBPC */
       -#    endif /* no NBPG */
       -#   endif /* no EXEC_PAGESIZE */
       -#  else /* no HAVE_SYS_PARAM_H */
       -#   define getpagesize() 8192        /* punt totally */
       -#  endif /* no HAVE_SYS_PARAM_H */
       -# endif /* no _SC_PAGESIZE */
       -
       -#endif /* no HAVE_GETPAGESIZE */
       -
       -#ifdef __cplusplus
       -extern "C" { void *malloc(unsigned); }
       -#else
       -char *malloc();
       -#endif
       -
       -int
       -main()
       -{
       -        char *data, *data2, *data3;
       -        int i, pagesize;
       -        int fd;
       -
       -        pagesize = getpagesize();
       -
       -        /*
       -         * First, make a file with some known garbage in it.
       -         */
       -        data = malloc(pagesize);
       -        if (!data)
       -                exit(1);
       -        for (i = 0; i < pagesize; ++i)
       -                *(data + i) = rand();
       -        umask(0);
       -        fd = creat("conftestmmap", 0600);
       -        if (fd < 0)
       -                exit(1);
       -        if (write(fd, data, pagesize) != pagesize)
       -                exit(1);
       -        close(fd);
       -
       -        /*
       -         * Next, try to mmap the file at a fixed address which
       -         * already has something else allocated at it.  If we can,
       -         * also make sure that we see the same garbage.
       -         */
       -        fd = open("conftestmmap", O_RDWR);
       -        if (fd < 0)
       -                exit(1);
       -        data2 = malloc(2 * pagesize);
       -        if (!data2)
       -                exit(1);
       -        data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
       -        if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
       -            MAP_PRIVATE | MAP_FIXED, fd, 0L))
       -                exit(1);
       -        for (i = 0; i < pagesize; ++i)
       -                if (*(data + i) != *(data2 + i))
       -                        exit(1);
       -
       -        /*
       -         * Finally, make sure that changes to the mapped area
       -         * do not percolate back to the file as seen by read().
       -         * (This is a bug on some variants of i386 svr4.0.)
       -         */
       -        for (i = 0; i < pagesize; ++i)
       -                *(data2 + i) = *(data2 + i) + 1;
       -        data3 = malloc(pagesize);
       -        if (!data3)
       -                exit(1);
       -        if (read(fd, data3, pagesize) != pagesize)
       -                exit(1);
       -        for (i = 0; i < pagesize; ++i)
       -                if (*(data + i) != *(data3 + i))
       -                        exit(1);
       -        close(fd);
       -        unlink("conftestmmap");
       -        exit(0);
       -}
       -
       -EOF
       -if { (eval echo configure:3658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  ac_cv_func_mmap_fixed_mapped=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  ac_cv_func_mmap_fixed_mapped=no
       -fi
       -rm -fr conftest*
       -fi
       -
       -fi
       -
       -echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
       -if test $ac_cv_func_mmap_fixed_mapped = yes; then
       -  cat >> confdefs.h <<\EOF
       -#define HAVE_MMAP 1
       -EOF
       -
       -fi
       -
       -
       -    echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6
       -echo "configure:3682: checking whether we are using the GNU C Library 2.1 or newer" >&5
       -if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3687 "configure"
       -#include "confdefs.h"
       -
       -#include <features.h>
       -#ifdef __GNU_LIBRARY__
       - #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
       -  Lucky GNU user
       - #endif
       -#endif
       -        
       -EOF
       -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       -  egrep "Lucky GNU user" >/dev/null 2>&1; then
       -  rm -rf conftest*
       -  ac_cv_gnu_library_2_1=yes
       -else
       -  rm -rf conftest*
       -  ac_cv_gnu_library_2_1=no
       -fi
       -rm -f conftest*
       -
       -      
       -    
       -fi
       -
       -echo "$ac_t""$ac_cv_gnu_library_2_1" 1>&6
       -    
       -    GLIBC21="$ac_cv_gnu_library_2_1"
       -  
       -
       -                                    
       -   for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
       -stdlib.h string.h unistd.h sys/param.h
       -do
       -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
       -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
       -echo "configure:3723: checking for $ac_hdr" >&5
       -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3728 "configure"
       -#include "confdefs.h"
       -#include <$ac_hdr>
       -EOF
       -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:3733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
       -if test -z "$ac_err"; then
       -  rm -rf conftest*
       -  eval "ac_cv_header_$ac_safe=yes"
       -else
       -  echo "$ac_err" >&5
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_header_$ac_safe=no"
       -fi
       -rm -f conftest*
       -fi
       -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_hdr 1
       -EOF
       - 
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -done
       -
       -   for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
       -getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
       -strdup strtoul tsearch __argz_count __argz_stringify __argz_next
       -do
       -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:3764: checking for $ac_func" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3769 "configure"
       -#include "confdefs.h"
       -/* System header to define __stub macros and hopefully few prototypes,
       -    which can conflict with char $ac_func(); below.  */
       -#include <assert.h>
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char $ac_func();
       -
       -int main() {
       -
       -/* The GNU C library defines this for functions which it implements
       -    to always fail with ENOSYS.  Some functions are actually named
       -    something starting with __ and the normal name is an alias.  */
       -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
       -choke me
       -#else
       -$ac_func();
       -#endif
       -
       -; return 0; }
       -EOF
       -if { (eval echo configure:3792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=no"
       -fi
       -rm -f conftest*
       -fi
       -
       -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_func 1
       -EOF
       - 
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -done
       -
       -
       -   
       -    
       -  # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
       -if test "${with_libiconv_prefix+set}" = set; then
       -  withval="$with_libiconv_prefix"
       -  
       -    for dir in `echo "$withval" | tr : ' '`; do
       -      if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
       -      if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
       -    done
       -   
       -fi
       -
       -
       -  echo $ac_n "checking for iconv""... $ac_c" 1>&6
       -echo "configure:3832: checking for iconv" >&5
       -if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  
       -    am_cv_func_iconv="no, consider installing GNU libiconv"
       -    am_cv_lib_iconv=no
       -    cat > conftest.$ac_ext <<EOF
       -#line 3840 "configure"
       -#include "confdefs.h"
       -#include <stdlib.h>
       -#include <iconv.h>
       -int main() {
       -iconv_t cd = iconv_open("","");
       -       iconv(cd,NULL,NULL,NULL,NULL);
       -       iconv_close(cd);
       -; return 0; }
       -EOF
       -if { (eval echo configure:3850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  am_cv_func_iconv=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -fi
       -rm -f conftest*
       -    if test "$am_cv_func_iconv" != yes; then
       -      am_save_LIBS="$LIBS"
       -      LIBS="$LIBS -liconv"
       -      cat > conftest.$ac_ext <<EOF
       -#line 3862 "configure"
       -#include "confdefs.h"
       -#include <stdlib.h>
       -#include <iconv.h>
       -int main() {
       -iconv_t cd = iconv_open("","");
       -         iconv(cd,NULL,NULL,NULL,NULL);
       -         iconv_close(cd);
       -; return 0; }
       -EOF
       -if { (eval echo configure:3872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  am_cv_lib_iconv=yes
       -        am_cv_func_iconv=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -fi
       -rm -f conftest*
       -      LIBS="$am_save_LIBS"
       -    fi
       -  
       -fi
       -
       -echo "$ac_t""$am_cv_func_iconv" 1>&6
       -  if test "$am_cv_func_iconv" = yes; then
       -    cat >> confdefs.h <<\EOF
       -#define HAVE_ICONV 1
       -EOF
       -
       -    echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
       -echo "configure:3893: checking for iconv declaration" >&5
       -    if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  
       -      cat > conftest.$ac_ext <<EOF
       -#line 3899 "configure"
       -#include "confdefs.h"
       -
       -#include <stdlib.h>
       -#include <iconv.h>
       -extern
       -#ifdef __cplusplus
       -"C"
       -#endif
       -#if defined(__STDC__) || defined(__cplusplus)
       -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
       -#else
       -size_t iconv();
       -#endif
       -
       -int main() {
       -
       -; return 0; }
       -EOF
       -if { (eval echo configure:3918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       -  rm -rf conftest*
       -  am_cv_proto_iconv_arg1=""
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  am_cv_proto_iconv_arg1="const"
       -fi
       -rm -f conftest*
       -      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
       -fi
       -
       -    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
       -    echo "$ac_t""${ac_t:-
       -         }$am_cv_proto_iconv" 1>&6
       -    cat >> confdefs.h <<EOF
       -#define ICONV_CONST $am_cv_proto_iconv_arg1
       -EOF
       -
       -  fi
       -  LIBICONV=
       -  if test "$am_cv_lib_iconv" = yes; then
       -    LIBICONV="-liconv"
       -  fi
       -  
       -
       -   
       -  echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
       -echo "configure:3947: checking for nl_langinfo and CODESET" >&5
       -if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3952 "configure"
       -#include "confdefs.h"
       -#include <langinfo.h>
       -int main() {
       -char* cs = nl_langinfo(CODESET);
       -; return 0; }
       -EOF
       -if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  am_cv_langinfo_codeset=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  am_cv_langinfo_codeset=no
       -fi
       -rm -f conftest*
       -    
       -fi
       -
       -echo "$ac_t""$am_cv_langinfo_codeset" 1>&6
       -  if test $am_cv_langinfo_codeset = yes; then
       -    cat >> confdefs.h <<\EOF
       -#define HAVE_LANGINFO_CODESET 1
       -EOF
       -
       -  fi
       -
       -   if test $ac_cv_header_locale_h = yes; then
       -    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
       -echo "configure:3982: checking for LC_MESSAGES" >&5
       -if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 3987 "configure"
       -#include "confdefs.h"
       -#include <locale.h>
       -int main() {
       -return LC_MESSAGES
       -; return 0; }
       -EOF
       -if { (eval echo configure:3994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  am_cv_val_LC_MESSAGES=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  am_cv_val_LC_MESSAGES=no
       -fi
       -rm -f conftest*
       -fi
       -
       -echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
       -    if test $am_cv_val_LC_MESSAGES = yes; then
       -      cat >> confdefs.h <<\EOF
       -#define HAVE_LC_MESSAGES 1
       -EOF
       -
       -    fi
       -  fi
       -   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
       -echo "configure:4015: checking whether NLS is requested" >&5
       -        # Check whether --enable-nls or --disable-nls was given.
       -if test "${enable_nls+set}" = set; then
       -  enableval="$enable_nls"
       -  USE_NLS=$enableval
       -else
       -  USE_NLS=yes
       -fi
       -
       -    echo "$ac_t""$USE_NLS" 1>&6
       -    
       -
       -    BUILD_INCLUDED_LIBINTL=no
       -    USE_INCLUDED_LIBINTL=no
       -    INTLLIBS=
       -
       -        if test "$USE_NLS" = "yes"; then
       -      cat >> confdefs.h <<\EOF
       -#define ENABLE_NLS 1
       -EOF
       -
       -      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
       -echo "configure:4037: checking whether included gettext is requested" >&5
       -      # Check whether --with-included-gettext or --without-included-gettext was given.
       -if test "${with_included_gettext+set}" = set; then
       -  withval="$with_included_gettext"
       -  nls_cv_force_use_gnu_gettext=$withval
       -else
       -  nls_cv_force_use_gnu_gettext=no
       -fi
       -
       -      echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
       -
       -      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
       -      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
       -                                CATOBJEXT=NONE
       -
       -                
       -        
       -
       -        ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
       -echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
       -echo "configure:4057: checking for libintl.h" >&5
       -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 4062 "configure"
       -#include "confdefs.h"
       -#include <libintl.h>
       -EOF
       -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:4067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
       -if test -z "$ac_err"; then
       -  rm -rf conftest*
       -  eval "ac_cv_header_$ac_safe=yes"
       -else
       -  echo "$ac_err" >&5
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_header_$ac_safe=no"
       -fi
       -rm -f conftest*
       -fi
       -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -  echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6
       -echo "configure:4084: checking for GNU gettext in libc" >&5
       -if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libc'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 4089 "configure"
       -#include "confdefs.h"
       -#include <libintl.h>
       -extern int _nl_msg_cat_cntr;
       -int main() {
       -bindtextdomain ("", "");
       -return (int) gettext ("") + _nl_msg_cat_cntr
       -; return 0; }
       -EOF
       -if { (eval echo configure:4098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  gt_cv_func_gnugettext1_libc=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  gt_cv_func_gnugettext1_libc=no
       -fi
       -rm -f conftest*
       -fi
       -
       -echo "$ac_t""$gt_cv_func_gnugettext1_libc" 1>&6
       -
       -           if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
       -             echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6
       -echo "configure:4114: checking for GNU gettext in libintl" >&5
       -if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libintl'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  gt_save_LIBS="$LIBS"
       -                LIBS="$LIBS -lintl $LIBICONV"
       -                cat > conftest.$ac_ext <<EOF
       -#line 4121 "configure"
       -#include "confdefs.h"
       -#include <libintl.h>
       -extern int _nl_msg_cat_cntr;
       -int main() {
       -bindtextdomain ("", "");
       -return (int) gettext ("") + _nl_msg_cat_cntr
       -; return 0; }
       -EOF
       -if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  gt_cv_func_gnugettext1_libintl=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  gt_cv_func_gnugettext1_libintl=no
       -fi
       -rm -f conftest*
       -                LIBS="$gt_save_LIBS"
       -fi
       -
       -echo "$ac_t""$gt_cv_func_gnugettext1_libintl" 1>&6
       -           fi
       -
       -                                                       if test "$gt_cv_func_gnugettext1_libc" = "yes" \
       -              || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
       -                   && test "$PACKAGE" != gettext; }; then
       -             cat >> confdefs.h <<\EOF
       -#define HAVE_GETTEXT 1
       -EOF
       -
       -
       -             if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
       -                                                            INTLLIBS="-lintl $LIBICONV"
       -             fi
       -
       -             gt_save_LIBS="$LIBS"
       -             LIBS="$LIBS $INTLLIBS"
       -             for ac_func in dcgettext
       -do
       -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:4163: checking for $ac_func" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 4168 "configure"
       -#include "confdefs.h"
       -/* System header to define __stub macros and hopefully few prototypes,
       -    which can conflict with char $ac_func(); below.  */
       -#include <assert.h>
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char $ac_func();
       -
       -int main() {
       -
       -/* The GNU C library defines this for functions which it implements
       -    to always fail with ENOSYS.  Some functions are actually named
       -    something starting with __ and the normal name is an alias.  */
       -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
       -choke me
       -#else
       -$ac_func();
       -#endif
       -
       -; return 0; }
       -EOF
       -if { (eval echo configure:4191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=no"
       -fi
       -rm -f conftest*
       -fi
       -
       -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_func 1
       -EOF
       - 
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -done
       -
       -             LIBS="$gt_save_LIBS"
       -
       -             # Extract the first word of "msgfmt", so it can be a program name with args.
       -set dummy msgfmt; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:4220: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$MSGFMT" in
       -  /*)
       -  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
       -  for ac_dir in $PATH; do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
       -        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
       -        break
       -      fi
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
       -  ;;
       -esac
       -fi
       -MSGFMT="$ac_cv_path_MSGFMT"
       -if test -n "$MSGFMT"; then
       -  echo "$ac_t""$MSGFMT" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -             if test "$MSGFMT" != "no"; then
       -               # Extract the first word of "gmsgfmt", so it can be a program name with args.
       -set dummy gmsgfmt; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:4254: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$GMSGFMT" in
       -  /*)
       -  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
       -  ;;
       -  ?:/*)                         
       -  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do 
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
       -  ;;
       -esac
       -fi
       -GMSGFMT="$ac_cv_path_GMSGFMT"
       -if test -n "$GMSGFMT"; then
       -  echo "$ac_t""$GMSGFMT" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -             fi
       -
       -             # Extract the first word of "xgettext", so it can be a program name with args.
       -set dummy xgettext; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:4292: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$XGETTEXT" in
       -  /*)
       -  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
       -  for ac_dir in $PATH; do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
       -        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
       -        break
       -      fi
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
       -  ;;
       -esac
       -fi
       -XGETTEXT="$ac_cv_path_XGETTEXT"
       -if test -n "$XGETTEXT"; then
       -  echo "$ac_t""$XGETTEXT" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -
       -             CATOBJEXT=.gmo
       -           fi
       -        
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -
       -        if test "$CATOBJEXT" = "NONE"; then
       -                              nls_cv_use_gnu_gettext=yes
       -        fi
       -      fi
       -
       -      if test "$nls_cv_use_gnu_gettext" = "yes"; then
       -                INTLOBJS="\$(GETTOBJS)"
       -        # Extract the first word of "msgfmt", so it can be a program name with args.
       -set dummy msgfmt; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:4342: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$MSGFMT" in
       -  /*)
       -  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
       -  for ac_dir in $PATH; do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
       -        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
       -        break
       -      fi
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
       -  ;;
       -esac
       -fi
       -MSGFMT="$ac_cv_path_MSGFMT"
       -if test -n "$MSGFMT"; then
       -  echo "$ac_t""$MSGFMT" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -        # Extract the first word of "gmsgfmt", so it can be a program name with args.
       -set dummy gmsgfmt; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:4376: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$GMSGFMT" in
       -  /*)
       -  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
       -  ;;
       -  ?:/*)                         
       -  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do 
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
       -  ;;
       -esac
       -fi
       -GMSGFMT="$ac_cv_path_GMSGFMT"
       -if test -n "$GMSGFMT"; then
       -  echo "$ac_t""$GMSGFMT" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -        # Extract the first word of "xgettext", so it can be a program name with args.
       -set dummy xgettext; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:4412: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  case "$XGETTEXT" in
       -  /*)
       -  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
       -  ;;
       -  *)
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
       -  for ac_dir in $PATH; do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
       -        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
       -        break
       -      fi
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
       -  ;;
       -esac
       -fi
       -XGETTEXT="$ac_cv_path_XGETTEXT"
       -if test -n "$XGETTEXT"; then
       -  echo "$ac_t""$XGETTEXT" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -        
       -        BUILD_INCLUDED_LIBINTL=yes
       -        USE_INCLUDED_LIBINTL=yes
       -        CATOBJEXT=.gmo
       -        INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV"
       -        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
       -      fi
       -
       -            if test "$XGETTEXT" != ":"; then
       -                        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
       -          : ;
       -        else
       -          echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6
       -          XGETTEXT=":"
       -        fi
       -      fi
       -
       -            POSUB=po
       -    fi
       -    
       -
       -
       -            if test "$PACKAGE" = gettext; then
       -      BUILD_INCLUDED_LIBINTL=yes
       -    fi
       -
       -                                            for ac_prog in bison
       -do
       -# Extract the first word of "$ac_prog", so it can be a program name with args.
       -set dummy $ac_prog; ac_word=$2
       -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:4474: checking for $ac_word" >&5
       -if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test -n "$INTLBISON"; then
       -  ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
       -else
       -  IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       -  ac_dummy="$PATH"
       -  for ac_dir in $ac_dummy; do
       -    test -z "$ac_dir" && ac_dir=.
       -    if test -f $ac_dir/$ac_word; then
       -      ac_cv_prog_INTLBISON="$ac_prog"
       -      break
       -    fi
       -  done
       -  IFS="$ac_save_ifs"
       -fi
       -fi
       -INTLBISON="$ac_cv_prog_INTLBISON"
       -if test -n "$INTLBISON"; then
       -  echo "$ac_t""$INTLBISON" 1>&6
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -test -n "$INTLBISON" && break
       -done
       -
       -    if test -z "$INTLBISON"; then
       -      ac_verc_fail=yes
       -    else
       -            echo $ac_n "checking version of bison""... $ac_c" 1>&6
       -echo "configure:4507: checking version of bison" >&5
       -      ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
       -      case $ac_prog_version in
       -        '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
       -        1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
       -           ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
       -        *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
       -      esac
       -      echo "$ac_t""$ac_prog_version" 1>&6
       -    fi
       -    if test $ac_verc_fail = yes; then
       -      INTLBISON=:
       -    fi
       -
       -                for lang in $ALL_LINGUAS; do
       -      GMOFILES="$GMOFILES $lang.gmo"
       -      POFILES="$POFILES $lang.po"
       -    done
       -
       -        
       -    
       -    
       -    
       -    
       -    
       -    
       -    
       -    
       -
       -        nls_cv_header_intl=
       -    nls_cv_header_libgt=
       -
       -        DATADIRNAME=share
       -    
       -
       -        INSTOBJEXT=.mo
       -    
       -
       -        GENCAT=gencat
       -    
       -  
       -
       -   if test "x$CATOBJEXT" != "x"; then
       -     if test "x$ALL_LINGUAS" = "x"; then
       -       LINGUAS=
       -     else
       -       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
       -echo "configure:4554: checking for catalogs to be installed" >&5
       -       NEW_LINGUAS=
       -       for presentlang in $ALL_LINGUAS; do
       -         useit=no
       -         for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
       -           # Use the presentlang catalog if desiredlang is
       -           #   a. equal to presentlang, or
       -           #   b. a variant of presentlang (because in this case,
       -           #      presentlang can be used as a fallback for messages
       -           #      which are not translated in the desiredlang catalog).
       -           case "$desiredlang" in
       -             "$presentlang"*) useit=yes;;
       -           esac
       -         done
       -         if test $useit = yes; then
       -           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
       -         fi
       -       done
       -       LINGUAS=$NEW_LINGUAS
       -       echo "$ac_t""$LINGUAS" 1>&6
       -     fi
       -
       -          if test -n "$LINGUAS"; then
       -       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
       -     fi
       -   fi
       -
       -            MKINSTALLDIRS=
       -   if test -n "$ac_aux_dir"; then
       -     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
       -   fi
       -   if test -z "$MKINSTALLDIRS"; then
       -     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
       -   fi
       -   
       -
       -      INTL_LIBTOOL_SUFFIX_PREFIX=
       -   
       -  
       -if test "$gt_cv_func_gettext_libintl" = "yes"; then
       -    LIBS="-lintl $LIBS"
       -fi
       -
       -localedir=${datadir}/locale
       -
       -
       -if test "$GUI_CLIENT" = "yes" ; then
       -   cat >> confdefs.h <<\EOF
       -#define GUI_CLIENT 1
       -EOF
       -
       -fi
       -
       -if test "$CURSES_CLIENT" = "yes" ; then
       -   cat >> confdefs.h <<\EOF
       -#define CURSES_CLIENT 1
       -EOF
       -
       -fi
       -
       -if test "$GUI_SERVER" = "yes" ; then
       -   cat >> confdefs.h <<\EOF
       -#define GUI_SERVER 1
       -EOF
       -
       -fi
       -
       -if test "$HAVE_FIXED_GTK" = "yes" ; then
       -   cat >> confdefs.h <<\EOF
       -#define HAVE_FIXED_GTK 1
       -EOF
       -
       -fi
       -
       -echo $ac_n "checking size of long long""... $ac_c" 1>&6
       -echo "configure:4629: checking size of long long" >&5
       -if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test "$cross_compiling" = yes; then
       -    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 4637 "configure"
       -#include "confdefs.h"
       -#include <stdio.h>
       -int main()
       -{
       -  FILE *f=fopen("conftestval", "w");
       -  if (!f) return(1);
       -  fprintf(f, "%d\n", sizeof(long long));
       -  return(0);
       -}
       -EOF
       -if { (eval echo configure:4648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  ac_cv_sizeof_long_long=`cat conftestval`
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  ac_cv_sizeof_long_long=0
       -fi
       -rm -fr conftest*
       -fi
       -
       -fi
       -echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
       -cat >> confdefs.h <<EOF
       -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
       -EOF
       -
       -
       -
       -echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
       -echo "configure:4669: checking for 8-bit clean memcmp" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test "$cross_compiling" = yes; then
       -  ac_cv_func_memcmp_clean=no
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 4677 "configure"
       -#include "confdefs.h"
       -
       -main()
       -{
       -  char c0 = 0x40, c1 = 0x80, c2 = 0x81;
       -  exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
       -}
       -
       -EOF
       -if { (eval echo configure:4687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  ac_cv_func_memcmp_clean=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  ac_cv_func_memcmp_clean=no
       -fi
       -rm -fr conftest*
       -fi
       -
       -fi
       -
       -echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
       -test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
       -
       -echo $ac_n "checking whether setvbuf arguments are reversed""... $ac_c" 1>&6
       -echo "configure:4705: checking whether setvbuf arguments are reversed" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_setvbuf_reversed'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  if test "$cross_compiling" = yes; then
       -    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 4713 "configure"
       -#include "confdefs.h"
       -#include <stdio.h>
       -/* If setvbuf has the reversed format, exit 0. */
       -main () {
       -  /* This call has the arguments reversed.
       -     A reversed system may check and see that the address of main
       -     is not _IOLBF, _IONBF, or _IOFBF, and return nonzero.  */
       -  if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
       -    exit(1);
       -  putc('\r', stdout);
       -  exit(0);                        /* Non-reversed systems segv here.  */
       -}
       -EOF
       -if { (eval echo configure:4727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       -then
       -  ac_cv_func_setvbuf_reversed=yes
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -fr conftest*
       -  ac_cv_func_setvbuf_reversed=no
       -fi
       -rm -fr conftest*
       -fi
       -
       -rm -f core core.* *.core
       -fi
       -
       -echo "$ac_t""$ac_cv_func_setvbuf_reversed" 1>&6
       -if test $ac_cv_func_setvbuf_reversed = yes; then
       -  cat >> confdefs.h <<\EOF
       -#define SETVBUF_REVERSED 1
       -EOF
       -
       -fi
       -
       -echo $ac_n "checking for strftime""... $ac_c" 1>&6
       -echo "configure:4751: checking for strftime" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 4756 "configure"
       -#include "confdefs.h"
       -/* System header to define __stub macros and hopefully few prototypes,
       -    which can conflict with char strftime(); below.  */
       -#include <assert.h>
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char strftime();
       -
       -int main() {
       -
       -/* The GNU C library defines this for functions which it implements
       -    to always fail with ENOSYS.  Some functions are actually named
       -    something starting with __ and the normal name is an alias.  */
       -#if defined (__stub_strftime) || defined (__stub___strftime)
       -choke me
       -#else
       -strftime();
       -#endif
       -
       -; return 0; }
       -EOF
       -if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_func_strftime=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_func_strftime=no"
       -fi
       -rm -f conftest*
       -fi
       -
       -if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -  cat >> confdefs.h <<\EOF
       -#define HAVE_STRFTIME 1
       -EOF
       -
       -else
       -  echo "$ac_t""no" 1>&6
       -# strftime is in -lintl on SCO UNIX.
       -echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
       -echo "configure:4801: checking for strftime in -lintl" >&5
       -ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
       -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  ac_save_LIBS="$LIBS"
       -LIBS="-lintl  $LIBS"
       -cat > conftest.$ac_ext <<EOF
       -#line 4809 "configure"
       -#include "confdefs.h"
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char strftime();
       -
       -int main() {
       -strftime()
       -; return 0; }
       -EOF
       -if { (eval echo configure:4820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_lib_$ac_lib_var=no"
       -fi
       -rm -f conftest*
       -LIBS="$ac_save_LIBS"
       -
       -fi
       -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -  cat >> confdefs.h <<\EOF
       -#define HAVE_STRFTIME 1
       -EOF
       -
       -LIBS="-lintl $LIBS"
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -
       -fi
       -
       -for ac_func in strdup strstr getopt getopt_long fork
       -do
       -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:4849: checking for $ac_func" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 4854 "configure"
       -#include "confdefs.h"
       -/* System header to define __stub macros and hopefully few prototypes,
       -    which can conflict with char $ac_func(); below.  */
       -#include <assert.h>
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char $ac_func();
       -
       -int main() {
       -
       -/* The GNU C library defines this for functions which it implements
       -    to always fail with ENOSYS.  Some functions are actually named
       -    something starting with __ and the normal name is an alias.  */
       -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
       -choke me
       -#else
       -$ac_func();
       -#endif
       -
       -; return 0; }
       -EOF
       -if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=no"
       -fi
       -rm -f conftest*
       -fi
       -
       -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_func 1
       -EOF
       - 
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -done
       -
       -
       -network="no"
       -if test "$CYGWIN" = "yes" ; then
       -   network="yes"
       -else
       -            
       -echo $ac_n "checking for library containing socket""... $ac_c" 1>&6
       -echo "configure:4908: checking for library containing socket" >&5
       -if eval "test \"`echo '$''{'ac_cv_search_socket'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  ac_func_search_save_LIBS="$LIBS"
       -ac_cv_search_socket="no"
       -cat > conftest.$ac_ext <<EOF
       -#line 4915 "configure"
       -#include "confdefs.h"
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char socket();
       -
       -int main() {
       -socket()
       -; return 0; }
       -EOF
       -if { (eval echo configure:4926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  ac_cv_search_socket="none required"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -fi
       -rm -f conftest*
       -test "$ac_cv_search_socket" = "no" && for i in socket; do
       -LIBS="-l$i  $ac_func_search_save_LIBS"
       -cat > conftest.$ac_ext <<EOF
       -#line 4937 "configure"
       -#include "confdefs.h"
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char socket();
       -
       -int main() {
       -socket()
       -; return 0; }
       -EOF
       -if { (eval echo configure:4948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  ac_cv_search_socket="-l$i"
       -break
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -fi
       -rm -f conftest*
       -done
       -LIBS="$ac_func_search_save_LIBS"
       -fi
       -
       -echo "$ac_t""$ac_cv_search_socket" 1>&6
       -if test "$ac_cv_search_socket" != "no"; then
       -  test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
       -  
       -else :
       -  
       -fi
       -   
       -echo $ac_n "checking for library containing gethostbyname""... $ac_c" 1>&6
       -echo "configure:4970: checking for library containing gethostbyname" >&5
       -if eval "test \"`echo '$''{'ac_cv_search_gethostbyname'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  ac_func_search_save_LIBS="$LIBS"
       -ac_cv_search_gethostbyname="no"
       -cat > conftest.$ac_ext <<EOF
       -#line 4977 "configure"
       -#include "confdefs.h"
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char gethostbyname();
       -
       -int main() {
       -gethostbyname()
       -; return 0; }
       -EOF
       -if { (eval echo configure:4988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  ac_cv_search_gethostbyname="none required"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -fi
       -rm -f conftest*
       -test "$ac_cv_search_gethostbyname" = "no" && for i in nsl socket; do
       -LIBS="-l$i  $ac_func_search_save_LIBS"
       -cat > conftest.$ac_ext <<EOF
       -#line 4999 "configure"
       -#include "confdefs.h"
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char gethostbyname();
       -
       -int main() {
       -gethostbyname()
       -; return 0; }
       -EOF
       -if { (eval echo configure:5010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  ac_cv_search_gethostbyname="-l$i"
       -break
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -fi
       -rm -f conftest*
       -done
       -LIBS="$ac_func_search_save_LIBS"
       -fi
       -
       -echo "$ac_t""$ac_cv_search_gethostbyname" 1>&6
       -if test "$ac_cv_search_gethostbyname" != "no"; then
       -  test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
       -  
       -else :
       -  
       -fi
       -   for ac_func in socket gethostbyname select
       -do
       -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:5033: checking for $ac_func" >&5
       -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
       -  echo $ac_n "(cached) $ac_c" 1>&6
       -else
       -  cat > conftest.$ac_ext <<EOF
       -#line 5038 "configure"
       -#include "confdefs.h"
       -/* System header to define __stub macros and hopefully few prototypes,
       -    which can conflict with char $ac_func(); below.  */
       -#include <assert.h>
       -/* Override any gcc2 internal prototype to avoid an error.  */
       -/* We use char because int might match the return type of a gcc2
       -    builtin and then its argument prototype would still apply.  */
       -char $ac_func();
       -
       -int main() {
       -
       -/* The GNU C library defines this for functions which it implements
       -    to always fail with ENOSYS.  Some functions are actually named
       -    something starting with __ and the normal name is an alias.  */
       -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
       -choke me
       -#else
       -$ac_func();
       -#endif
       -
       -; return 0; }
       -EOF
       -if { (eval echo configure:5061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=yes"
       -else
       -  echo "configure: failed program was:" >&5
       -  cat conftest.$ac_ext >&5
       -  rm -rf conftest*
       -  eval "ac_cv_func_$ac_func=no"
       -fi
       -rm -f conftest*
       -fi
       -
       -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
       -  echo "$ac_t""yes" 1>&6
       -    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
       -  cat >> confdefs.h <<EOF
       -#define $ac_tr_func 1
       -EOF
       - 
       -else
       -  echo "$ac_t""no" 1>&6
       -fi
       -done
       -
       -   if test "$ac_cv_func_select" = "yes" ; then
       -      if test "$ac_cv_func_socket" = "yes" ; then
       -         if test "$ac_cv_func_gethostbyname" = "yes" ; then
       -            network="yes"
       -         fi
       -      fi
       -   fi
       -fi
       -
       -# Check whether --enable-networking or --disable-networking was given.
       -if test "${enable_networking+set}" = set; then
       -  enableval="$enable_networking"
       -   network="$enableval" 
       -fi
       -
       -
       -if test "$network" = "yes" ; then
       -   cat >> confdefs.h <<\EOF
       -#define NETWORKING 1
       -EOF
       -
       -fi
       -
       -# Check whether --enable-strict or --disable-strict was given.
       -if test "${enable_strict+set}" = set; then
       -  enableval="$enable_strict"
       -   extrawarnings="$enableval" 
       -fi
       -
       -
       -if test -n "$GCC"; then
       -   if test "$extrawarnings" = "yes" ; then
       -      CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wcast-qual -Wcast-align -Wsign-compare -Waggregate-return -Wredundant-decls -Wnested-externs -Wunused"
       -   else
       -      CFLAGS="$CFLAGS -Wall"
       -   fi
       -fi
       -
       -CFLAGS="$CFLAGS -DDATADIR=\\\"${datadir}\\\""
       -
       -
       -
       -if test "$GUI_CLIENT" = "yes"; then
       -  GUI_CLIENT_TRUE=
       -  GUI_CLIENT_FALSE='#'
       -else
       -  GUI_CLIENT_TRUE='#'
       -  GUI_CLIENT_FALSE=
       -fi
       -
       -
       -if test "$CURSES_CLIENT" = "yes"; then
       -  CURSES_CLIENT_TRUE=
       -  CURSES_CLIENT_FALSE='#'
       -else
       -  CURSES_CLIENT_TRUE='#'
       -  CURSES_CLIENT_FALSE=
       -fi
       -
       -
       -
       -if test "$GUI_CLIENT" = "yes" -o "$GUI_SERVER" = "yes"; then
       -  GTKPORT_TRUE=
       -  GTKPORT_FALSE='#'
       -else
       -  GTKPORT_TRUE='#'
       -  GTKPORT_FALSE=
       -fi
       -
       -
       -
       -if test "$CURSES_CLIENT" = "yes"; then
       -  CURSESPORT_TRUE=
       -  CURSESPORT_FALSE='#'
       -else
       -  CURSESPORT_TRUE='#'
       -  CURSESPORT_FALSE=
       -fi
       -
       -trap '' 1 2 15
       -cat > confcache <<\EOF
       -# This file is a shell script that caches the results of configure
       -# tests run on this system so they can be shared between configure
       -# scripts and configure runs.  It is not useful on other systems.
       -# If it contains results you don't want to keep, you may remove or edit it.
       -#
       -# By default, configure uses ./config.cache as the cache file,
       -# creating it if it does not exist already.  You can give configure
       -# the --cache-file=FILE option to use a different cache file; that is
       -# what configure does when it calls configure scripts in
       -# subdirectories, so they share the cache.
       -# Giving --cache-file=/dev/null disables caching, for debugging configure.
       -# config.status only pays attention to the cache file if you give it the
       -# --recheck option to rerun configure.
       -#
       -EOF
       -# The following way of writing the cache mishandles newlines in values,
       -# but we know of no workaround that is simple, portable, and efficient.
       -# So, don't put newlines in cache variables' values.
       -# Ultrix sh set writes to stderr and can't be redirected directly,
       -# and sets the high bit in the cache file unless we assign to the vars.
       -(set) 2>&1 |
       -  case `(ac_space=' '; set | grep ac_space) 2>&1` in
       -  *ac_space=\ *)
       -    # `set' does not quote correctly, so add quotes (double-quote substitution
       -    # turns \\\\ into \\, and sed turns \\ into \).
       -    sed -n \
       -      -e "s/'/'\\\\''/g" \
       -      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
       -    ;;
       -  *)
       -    # `set' quotes correctly as required by POSIX, so do not add quotes.
       -    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
       -    ;;
       -  esac >> confcache
       -if cmp -s $cache_file confcache; then
       -  :
       -else
       -  if test -w $cache_file; then
       -    echo "updating cache $cache_file"
       -    cat confcache > $cache_file
       -  else
       -    echo "not updating unwritable cache $cache_file"
       -  fi
       -fi
       -rm -f confcache
       -
       -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
       -
       -test "x$prefix" = xNONE && prefix=$ac_default_prefix
       -# Let make expand exec_prefix.
       -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
       -
       -# Any assignment to VPATH causes Sun make to only execute
       -# the first set of double-colon rules, so remove it if not needed.
       -# If there is a colon in the path, we need to keep it.
       -if test "x$srcdir" = x.; then
       -  ac_vpsub='/^[         ]*VPATH[         ]*=[^:]*$/d'
       -fi
       -
       -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
       -
       -DEFS=-DHAVE_CONFIG_H
       -
       -# Without the "./", some shells look in PATH for config.status.
       -: ${CONFIG_STATUS=./config.status}
       -
       -echo creating $CONFIG_STATUS
       -rm -f $CONFIG_STATUS
       -cat > $CONFIG_STATUS <<EOF
       -#! /bin/sh
       -# Generated automatically by configure.
       -# Run this file to recreate the current configuration.
       -# This directory was configured as follows,
       -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       -#
       -# $0 $ac_configure_args
       -#
       -# Compiler output produced by configure, useful for debugging
       -# configure, is in ./config.log if it exists.
       -
       -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
       -for ac_option
       -do
       -  case "\$ac_option" in
       -  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
       -    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
       -    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
       -  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
       -    echo "$CONFIG_STATUS generated by autoconf version 2.13"
       -    exit 0 ;;
       -  -help | --help | --hel | --he | --h)
       -    echo "\$ac_cs_usage"; exit 0 ;;
       -  *) echo "\$ac_cs_usage"; exit 1 ;;
       -  esac
       -done
       -
       -ac_given_srcdir=$srcdir
       -ac_given_INSTALL="$INSTALL"
       -
       -trap 'rm -fr `echo "
       -Makefile
       -src/Makefile
       -src/gui_client/Makefile
       -src/curses_client/Makefile
       -src/gtkport/Makefile
       -src/cursesport/Makefile
       -doc/Makefile
       -intl/Makefile
       -po/Makefile.in config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
       -EOF
       -cat >> $CONFIG_STATUS <<EOF
       -
       -# Protect against being on the right side of a sed subst in config.status.
       -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
       - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
       -$ac_vpsub
       -$extrasub
       -s%@SHELL@%$SHELL%g
       -s%@CFLAGS@%$CFLAGS%g
       -s%@CPPFLAGS@%$CPPFLAGS%g
       -s%@CXXFLAGS@%$CXXFLAGS%g
       -s%@FFLAGS@%$FFLAGS%g
       -s%@DEFS@%$DEFS%g
       -s%@LDFLAGS@%$LDFLAGS%g
       -s%@LIBS@%$LIBS%g
       -s%@exec_prefix@%$exec_prefix%g
       -s%@prefix@%$prefix%g
       -s%@program_transform_name@%$program_transform_name%g
       -s%@bindir@%$bindir%g
       -s%@sbindir@%$sbindir%g
       -s%@libexecdir@%$libexecdir%g
       -s%@datadir@%$datadir%g
       -s%@sysconfdir@%$sysconfdir%g
       -s%@sharedstatedir@%$sharedstatedir%g
       -s%@localstatedir@%$localstatedir%g
       -s%@libdir@%$libdir%g
       -s%@includedir@%$includedir%g
       -s%@oldincludedir@%$oldincludedir%g
       -s%@infodir@%$infodir%g
       -s%@mandir@%$mandir%g
       -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
       -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
       -s%@INSTALL_DATA@%$INSTALL_DATA%g
       -s%@PACKAGE@%$PACKAGE%g
       -s%@VERSION@%$VERSION%g
       -s%@ACLOCAL@%$ACLOCAL%g
       -s%@AUTOCONF@%$AUTOCONF%g
       -s%@AUTOMAKE@%$AUTOMAKE%g
       -s%@AUTOHEADER@%$AUTOHEADER%g
       -s%@MAKEINFO@%$MAKEINFO%g
       -s%@SET_MAKE@%$SET_MAKE%g
       -s%@CC@%$CC%g
       -s%@CPP@%$CPP%g
       -s%@host@%$host%g
       -s%@host_alias@%$host_alias%g
       -s%@host_cpu@%$host_cpu%g
       -s%@host_vendor@%$host_vendor%g
       -s%@host_os@%$host_os%g
       -s%@WNDRES@%$WNDRES%g
       -s%@PKG_CONFIG@%$PKG_CONFIG%g
       -s%@GLIB_CFLAGS@%$GLIB_CFLAGS%g
       -s%@GLIB_LIBS@%$GLIB_LIBS%g
       -s%@GLIB_GENMARSHAL@%$GLIB_GENMARSHAL%g
       -s%@GOBJECT_QUERY@%$GOBJECT_QUERY%g
       -s%@GLIB_MKENUMS@%$GLIB_MKENUMS%g
       -s%@GLIB_CONFIG@%$GLIB_CONFIG%g
       -s%@GTK_CFLAGS@%$GTK_CFLAGS%g
       -s%@GTK_LIBS@%$GTK_LIBS%g
       -s%@GTK_CONFIG@%$GTK_CONFIG%g
       -s%@RANLIB@%$RANLIB%g
       -s%@ALLOCA@%$ALLOCA%g
       -s%@GLIBC21@%$GLIBC21%g
       -s%@LIBICONV@%$LIBICONV%g
       -s%@USE_NLS@%$USE_NLS%g
       -s%@MSGFMT@%$MSGFMT%g
       -s%@GMSGFMT@%$GMSGFMT%g
       -s%@XGETTEXT@%$XGETTEXT%g
       -s%@INTLBISON@%$INTLBISON%g
       -s%@BUILD_INCLUDED_LIBINTL@%$BUILD_INCLUDED_LIBINTL%g
       -s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
       -s%@CATALOGS@%$CATALOGS%g
       -s%@CATOBJEXT@%$CATOBJEXT%g
       -s%@GMOFILES@%$GMOFILES%g
       -s%@INTLLIBS@%$INTLLIBS%g
       -s%@INTLOBJS@%$INTLOBJS%g
       -s%@POFILES@%$POFILES%g
       -s%@POSUB@%$POSUB%g
       -s%@DATADIRNAME@%$DATADIRNAME%g
       -s%@INSTOBJEXT@%$INSTOBJEXT%g
       -s%@GENCAT@%$GENCAT%g
       -s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
       -s%@INTL_LIBTOOL_SUFFIX_PREFIX@%$INTL_LIBTOOL_SUFFIX_PREFIX%g
       -s%@localedir@%$localedir%g
       -s%@LIBOBJS@%$LIBOBJS%g
       -s%@GUI_CLIENT_TRUE@%$GUI_CLIENT_TRUE%g
       -s%@GUI_CLIENT_FALSE@%$GUI_CLIENT_FALSE%g
       -s%@CURSES_CLIENT_TRUE@%$CURSES_CLIENT_TRUE%g
       -s%@CURSES_CLIENT_FALSE@%$CURSES_CLIENT_FALSE%g
       -s%@GTKPORT_TRUE@%$GTKPORT_TRUE%g
       -s%@GTKPORT_FALSE@%$GTKPORT_FALSE%g
       -s%@CURSESPORT_TRUE@%$CURSESPORT_TRUE%g
       -s%@CURSESPORT_FALSE@%$CURSESPORT_FALSE%g
       -
       -CEOF
       -EOF
       -
       -cat >> $CONFIG_STATUS <<\EOF
       -
       -# Split the substitutions into bite-sized pieces for seds with
       -# small command number limits, like on Digital OSF/1 and HP-UX.
       -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
       -ac_file=1 # Number of current file.
       -ac_beg=1 # First line for current file.
       -ac_end=$ac_max_sed_cmds # Line after last line for current file.
       -ac_more_lines=:
       -ac_sed_cmds=""
       -while $ac_more_lines; do
       -  if test $ac_beg -gt 1; then
       -    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
       -  else
       -    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
       -  fi
       -  if test ! -s conftest.s$ac_file; then
       -    ac_more_lines=false
       -    rm -f conftest.s$ac_file
       -  else
       -    if test -z "$ac_sed_cmds"; then
       -      ac_sed_cmds="sed -f conftest.s$ac_file"
       -    else
       -      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
       -    fi
       -    ac_file=`expr $ac_file + 1`
       -    ac_beg=$ac_end
       -    ac_end=`expr $ac_end + $ac_max_sed_cmds`
       -  fi
       -done
       -if test -z "$ac_sed_cmds"; then
       -  ac_sed_cmds=cat
       -fi
       -EOF
       -
       -cat >> $CONFIG_STATUS <<EOF
       -
       -CONFIG_FILES=\${CONFIG_FILES-"Makefile
       -src/Makefile
       -src/gui_client/Makefile
       -src/curses_client/Makefile
       -src/gtkport/Makefile
       -src/cursesport/Makefile
       -doc/Makefile
       -intl/Makefile
       -po/Makefile.in"}
       -EOF
       -cat >> $CONFIG_STATUS <<\EOF
       -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
       -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
       -  case "$ac_file" in
       -  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       -       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
       -  *) ac_file_in="${ac_file}.in" ;;
       -  esac
       -
       -  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
       -
       -  # Remove last slash and all that follows it.  Not all systems have dirname.
       -  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
       -  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
       -    # The file is in a subdirectory.
       -    test ! -d "$ac_dir" && mkdir "$ac_dir"
       -    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
       -    # A "../" for each directory in $ac_dir_suffix.
       -    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
       -  else
       -    ac_dir_suffix= ac_dots=
       -  fi
       -
       -  case "$ac_given_srcdir" in
       -  .)  srcdir=.
       -      if test -z "$ac_dots"; then top_srcdir=.
       -      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
       -  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
       -  *) # Relative path.
       -    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
       -    top_srcdir="$ac_dots$ac_given_srcdir" ;;
       -  esac
       -
       -  case "$ac_given_INSTALL" in
       -  [/$]*) INSTALL="$ac_given_INSTALL" ;;
       -  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
       -  esac
       -
       -  echo creating "$ac_file"
       -  rm -f "$ac_file"
       -  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
       -  case "$ac_file" in
       -  *Makefile*) ac_comsub="1i\\
       -# $configure_input" ;;
       -  *) ac_comsub= ;;
       -  esac
       -
       -  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
       -  sed -e "$ac_comsub
       -s%@configure_input@%$configure_input%g
       -s%@srcdir@%$srcdir%g
       -s%@top_srcdir@%$top_srcdir%g
       -s%@INSTALL@%$INSTALL%g
       -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
       -fi; done
       -rm -f conftest.s*
       -
       -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
       -# NAME is the cpp macro being defined and VALUE is the value it is being given.
       -#
       -# ac_d sets the value in "#define NAME VALUE" lines.
       -ac_dA='s%^\([         ]*\)#\([         ]*define[         ][         ]*\)'
       -ac_dB='\([         ][         ]*\)[^         ]*%\1#\2'
       -ac_dC='\3'
       -ac_dD='%g'
       -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
       -ac_uA='s%^\([         ]*\)#\([         ]*\)undef\([         ][         ]*\)'
       -ac_uB='\([         ]\)%\1#\2define\3'
       -ac_uC=' '
       -ac_uD='\4%g'
       -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
       -ac_eA='s%^\([         ]*\)#\([         ]*\)undef\([         ][         ]*\)'
       -ac_eB='$%\1#\2define\3'
       -ac_eC=' '
       -ac_eD='%g'
       -
       -if test "${CONFIG_HEADERS+set}" != set; then
       -EOF
       -cat >> $CONFIG_STATUS <<EOF
       -  CONFIG_HEADERS="config.h"
       -EOF
       -cat >> $CONFIG_STATUS <<\EOF
       -fi
       -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
       -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
       -  case "$ac_file" in
       -  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       -       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
       -  *) ac_file_in="${ac_file}.in" ;;
       -  esac
       -
       -  echo creating $ac_file
       -
       -  rm -f conftest.frag conftest.in conftest.out
       -  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
       -  cat $ac_file_inputs > conftest.in
       -
       -EOF
       -
       -# Transform confdefs.h into a sed script conftest.vals that substitutes
       -# the proper values into config.h.in to produce config.h.  And first:
       -# Protect against being on the right side of a sed subst in config.status.
       -# Protect against being in an unquoted here document in config.status.
       -rm -f conftest.vals
       -cat > conftest.hdr <<\EOF
       -s/[\\&%]/\\&/g
       -s%[\\$`]%\\&%g
       -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
       -s%ac_d%ac_u%gp
       -s%ac_u%ac_e%gp
       -EOF
       -sed -n -f conftest.hdr confdefs.h > conftest.vals
       -rm -f conftest.hdr
       -
       -# This sed command replaces #undef with comments.  This is necessary, for
       -# example, in the case of _POSIX_SOURCE, which is predefined and required
       -# on some systems where configure will not decide to define it.
       -cat >> conftest.vals <<\EOF
       -s%^[         ]*#[         ]*undef[         ][         ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
       -EOF
       -
       -# Break up conftest.vals because some shells have a limit on
       -# the size of here documents, and old seds have small limits too.
       -
       -rm -f conftest.tail
       -while :
       -do
       -  ac_lines=`grep -c . conftest.vals`
       -  # grep -c gives empty output for an empty file on some AIX systems.
       -  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
       -  # Write a limited-size here document to conftest.frag.
       -  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
       -  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
       -  echo 'CEOF
       -  sed -f conftest.frag conftest.in > conftest.out
       -  rm -f conftest.in
       -  mv conftest.out conftest.in
       -' >> $CONFIG_STATUS
       -  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
       -  rm -f conftest.vals
       -  mv conftest.tail conftest.vals
       -done
       -rm -f conftest.vals
       -
       -cat >> $CONFIG_STATUS <<\EOF
       -  rm -f conftest.frag conftest.h
       -  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
       -  cat conftest.in >> conftest.h
       -  rm -f conftest.in
       -  if cmp -s $ac_file conftest.h 2>/dev/null; then
       -    echo "$ac_file is unchanged"
       -    rm -f conftest.h
       -  else
       -    # Remove last slash and all that follows it.  Not all systems have dirname.
       -      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
       -      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
       -      # The file is in a subdirectory.
       -      test ! -d "$ac_dir" && mkdir "$ac_dir"
       -    fi
       -    rm -f $ac_file
       -    mv conftest.h $ac_file
       -  fi
       -fi; done
       -
       -EOF
       -cat >> $CONFIG_STATUS <<EOF
       -
       -
       -
       -EOF
       -cat >> $CONFIG_STATUS <<\EOF
       -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
       -for ac_file in $CONFIG_FILES; do
       -        # Support "outfile[:infile[:infile...]]"
       -        case "$ac_file" in
       -          *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
       -        esac
       -        # PO directories have a Makefile.in generated from Makefile.in.in.
       -        case "$ac_file" in */Makefile.in)
       -          # Adjust a relative srcdir.
       -          ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
       -          ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
       -          ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
       -          case "$ac_given_srcdir" in
       -            .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
       -            /*) top_srcdir="$ac_given_srcdir" ;;
       -            *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
       -          esac
       -          if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
       -            rm -f "$ac_dir/POTFILES"
       -            echo creating "$ac_dir/POTFILES"
       -            sed -e "/^#/d" -e "/^[         ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
       -            echo creating "$ac_dir/Makefile"
       -            sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
       -          fi
       -          ;;
       -        esac
       -      done
       -sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
       -exit 0
       -EOF
       -chmod +x $CONFIG_STATUS
       -rm -fr confdefs* $ac_clean_files
       -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
       -
       -
       -echo
       -echo "dopewars has been configured as follows:"
       -echo
       -if test "$CYGWIN" = "yes" ; then
       -   echo "Building native Windows (Win32) version"
       -else
       -   echo "Building Unix version"
       -fi
       -echo
       -echo "CLIENTS"
       -if test "$CURSES_CLIENT" = "no" -a "$GUI_CLIENT" = "no" ; then
       -   echo " - No clients will be compiled (binary will be server/AI only)"
       -else
       -   if test "$CURSES_CLIENT" = "yes" ; then
       -      echo " - Text-mode (curses) client"
       -   fi
       -   if test "$GUI_CLIENT" = "yes" ; then
       -      echo " - Graphical (GTK+ or Win32) client"
       -   fi
       -fi
       -
       -echo
       -if test "$network" = "yes" ; then
       -   echo "TCP/IP networking support enabled for multi-player games"
       -   echo
       -   echo "SERVER"
       -   if test "$GUI_SERVER" = "yes" ; then
       -      echo " - Graphical server"
       -   else
       -      echo " - Text-mode server"
       -   fi
       -else
       -   echo "Networking support DISABLED; single-player mode only"
       -fi
       -
       -if test "$GUI_SERVER" = "yes" -o "$GUI_CLIENT" = "yes" ; then
       -   if test "$HAVE_FIXED_GTK" = "no" ; then
       -     cat <<FGTKEND
       -
       -WARNING: You have an old version of GTK+, which has bugs in the
       -gtk_entry_set_visibility function (used for password-entry boxes). Thus, for
       -stability reasons, this function will not be used, and all passwords entered
       -will be visible. To fix this, upgrade GTK+ to version 1.2.10 or later.
       -FGTKEND
       -   fi
       -fi
       -echo
 (DIR) diff --git a/doc/Makefile.in b/doc/Makefile.in
       t@@ -1,265 +0,0 @@
       -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
       -
       -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
       -# This Makefile.in is free software; the Free Software Foundation
       -# gives unlimited permission to copy and/or distribute it,
       -# with or without modifications, as long as this notice is preserved.
       -
       -# This program is distributed in the hope that it will be useful,
       -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
       -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
       -# PARTICULAR PURPOSE.
       -
       -
       -SHELL = @SHELL@
       -
       -srcdir = @srcdir@
       -top_srcdir = @top_srcdir@
       -VPATH = @srcdir@
       -prefix = @prefix@
       -exec_prefix = @exec_prefix@
       -
       -bindir = @bindir@
       -sbindir = @sbindir@
       -libexecdir = @libexecdir@
       -datadir = @datadir@
       -sysconfdir = @sysconfdir@
       -sharedstatedir = @sharedstatedir@
       -localstatedir = @localstatedir@
       -libdir = @libdir@
       -infodir = @infodir@
       -mandir = @mandir@
       -includedir = @includedir@
       -oldincludedir = /usr/include
       -
       -DESTDIR =
       -
       -pkgdatadir = $(datadir)/@PACKAGE@
       -pkglibdir = $(libdir)/@PACKAGE@
       -pkgincludedir = $(includedir)/@PACKAGE@
       -
       -top_builddir = ..
       -
       -ACLOCAL = @ACLOCAL@
       -AUTOCONF = @AUTOCONF@
       -AUTOMAKE = @AUTOMAKE@
       -AUTOHEADER = @AUTOHEADER@
       -
       -INSTALL = @INSTALL@
       -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
       -INSTALL_DATA = @INSTALL_DATA@
       -INSTALL_SCRIPT = @INSTALL_SCRIPT@
       -transform = @program_transform_name@
       -
       -NORMAL_INSTALL = :
       -PRE_INSTALL = :
       -POST_INSTALL = :
       -NORMAL_UNINSTALL = :
       -PRE_UNINSTALL = :
       -POST_UNINSTALL = :
       -host_alias = @host_alias@
       -host_triplet = @host@
       -BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
       -CATALOGS = @CATALOGS@
       -CATOBJEXT = @CATOBJEXT@
       -CC = @CC@
       -DATADIRNAME = @DATADIRNAME@
       -GENCAT = @GENCAT@
       -GLIBC21 = @GLIBC21@
       -GLIB_CFLAGS = @GLIB_CFLAGS@
       -GLIB_CONFIG = @GLIB_CONFIG@
       -GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
       -GLIB_LIBS = @GLIB_LIBS@
       -GLIB_MKENUMS = @GLIB_MKENUMS@
       -GMOFILES = @GMOFILES@
       -GMSGFMT = @GMSGFMT@
       -GOBJECT_QUERY = @GOBJECT_QUERY@
       -GTK_CFLAGS = @GTK_CFLAGS@
       -GTK_CONFIG = @GTK_CONFIG@
       -GTK_LIBS = @GTK_LIBS@
       -INSTOBJEXT = @INSTOBJEXT@
       -INTLBISON = @INTLBISON@
       -INTLLIBS = @INTLLIBS@
       -INTLOBJS = @INTLOBJS@
       -INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
       -LIBICONV = @LIBICONV@
       -MAKEINFO = @MAKEINFO@
       -MKINSTALLDIRS = @MKINSTALLDIRS@
       -MSGFMT = @MSGFMT@
       -PACKAGE = @PACKAGE@
       -PKG_CONFIG = @PKG_CONFIG@
       -POFILES = @POFILES@
       -POSUB = @POSUB@
       -RANLIB = @RANLIB@
       -USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
       -USE_NLS = @USE_NLS@
       -VERSION = @VERSION@
       -WNDRES = @WNDRES@
       -localedir = @localedir@
       -
       -DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}-${VERSION}/
       -DOCS = aiplayer.html configfile.html index.html i18n.html server.html \
       -             clientplay.html credits.html example-cfg installation.html \
       -             servercommands.html commandline.html developer.html \
       -             metaserver.html protocol.html windows.html
       -
       -man_MANS = dopewars.6
       -EXTRA_DIST = ${man_MANS} ${DOCS}
       -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
       -CONFIG_HEADER = ../config.h
       -CONFIG_CLEAN_FILES = 
       -man6dir = $(mandir)/man6
       -MANS = $(man_MANS)
       -
       -NROFF = nroff
       -DIST_COMMON =  Makefile.am Makefile.in
       -
       -
       -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
       -
       -TAR = gtar
       -GZIP_ENV = --best
       -all: all-redirect
       -.SUFFIXES:
       -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
       -        cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
       -
       -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
       -        cd $(top_builddir) \
       -          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
       -
       -
       -install-man6:
       -        $(mkinstalldirs) $(DESTDIR)$(man6dir)
       -        @list='$(man6_MANS)'; \
       -        l2='$(man_MANS)'; for i in $$l2; do \
       -          case "$$i" in \
       -            *.6*) list="$$list $$i" ;; \
       -          esac; \
       -        done; \
       -        for i in $$list; do \
       -          if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
       -          else file=$$i; fi; \
       -          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
       -          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
       -          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
       -          echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst"; \
       -          $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst; \
       -        done
       -
       -uninstall-man6:
       -        @list='$(man6_MANS)'; \
       -        l2='$(man_MANS)'; for i in $$l2; do \
       -          case "$$i" in \
       -            *.6*) list="$$list $$i" ;; \
       -          esac; \
       -        done; \
       -        for i in $$list; do \
       -          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
       -          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
       -          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
       -          echo " rm -f $(DESTDIR)$(man6dir)/$$inst"; \
       -          rm -f $(DESTDIR)$(man6dir)/$$inst; \
       -        done
       -install-man: $(MANS)
       -        @$(NORMAL_INSTALL)
       -        $(MAKE) $(AM_MAKEFLAGS) install-man6
       -uninstall-man:
       -        @$(NORMAL_UNINSTALL)
       -        $(MAKE) $(AM_MAKEFLAGS) uninstall-man6
       -tags: TAGS
       -TAGS:
       -
       -
       -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
       -
       -subdir = doc
       -
       -distdir: $(DISTFILES)
       -        here=`cd $(top_builddir) && pwd`; \
       -        top_distdir=`cd $(top_distdir) && pwd`; \
       -        distdir=`cd $(distdir) && pwd`; \
       -        cd $(top_srcdir) \
       -          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile
       -        @for file in $(DISTFILES); do \
       -          d=$(srcdir); \
       -          if test -d $$d/$$file; then \
       -            cp -pr $$d/$$file $(distdir)/$$file; \
       -          else \
       -            test -f $(distdir)/$$file \
       -            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
       -            || cp -p $$d/$$file $(distdir)/$$file || :; \
       -          fi; \
       -        done
       -info-am:
       -info: info-am
       -dvi-am:
       -dvi: dvi-am
       -check-am: all-am
       -check: check-am
       -installcheck-am:
       -installcheck: installcheck-am
       -install-exec-am:
       -install-exec: install-exec-am
       -
       -install-data-am: install-man install-data-local
       -install-data: install-data-am
       -
       -install-am: all-am
       -        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
       -install: install-am
       -uninstall-am: uninstall-man
       -uninstall: uninstall-am
       -all-am: Makefile $(MANS)
       -all-redirect: all-am
       -install-strip:
       -        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
       -installdirs:
       -        $(mkinstalldirs)  $(DESTDIR)$(mandir)/man6
       -
       -
       -mostlyclean-generic:
       -
       -clean-generic:
       -
       -distclean-generic:
       -        -rm -f Makefile $(CONFIG_CLEAN_FILES)
       -        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
       -
       -maintainer-clean-generic:
       -mostlyclean-am:  mostlyclean-generic
       -
       -mostlyclean: mostlyclean-am
       -
       -clean-am:  clean-generic mostlyclean-am
       -
       -clean: clean-am
       -
       -distclean-am:  distclean-generic clean-am
       -
       -distclean: distclean-am
       -
       -maintainer-clean-am:  maintainer-clean-generic distclean-am
       -        @echo "This command is intended for maintainers to use;"
       -        @echo "it deletes files that may require special tools to rebuild."
       -
       -maintainer-clean: maintainer-clean-am
       -
       -.PHONY: install-man6 uninstall-man6 install-man uninstall-man tags \
       -distdir info-am info dvi-am dvi check check-am installcheck-am \
       -installcheck install-exec-am install-exec install-data-local \
       -install-data-am install-data install-am install uninstall-am uninstall \
       -all-redirect all-am all installdirs mostlyclean-generic \
       -distclean-generic clean-generic maintainer-clean-generic clean \
       -mostlyclean distclean maintainer-clean
       -
       -
       -install-data-local:
       -        ${INSTALL} -d -m 0755 ${DOCPATH}
       -        for doc in ${DOCS}; do \
       -          ${INSTALL} -m 0644 ${srcdir}/$${doc} ${DOCPATH}; \
       -        done
       -
       -# Tell versions [3.59,3.63) of GNU make to not export all variables.
       -# Otherwise a system limit (for SysV at least) may be exceeded.
       -.NOEXPORT:
 (DIR) diff --git a/m4/codeset.m4 b/m4/codeset.m4
       t@@ -0,0 +1,17 @@
       +#serial AM1
       +
       +dnl From Bruno Haible.
       +
       +AC_DEFUN([AM_LANGINFO_CODESET],
       +[
       +  AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
       +    [AC_TRY_LINK([#include <langinfo.h>],
       +      [char* cs = nl_langinfo(CODESET);],
       +      am_cv_langinfo_codeset=yes,
       +      am_cv_langinfo_codeset=no)
       +    ])
       +  if test $am_cv_langinfo_codeset = yes; then
       +    AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
       +      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
       +  fi
       +])
 (DIR) diff --git a/m4/gettext.m4 b/m4/gettext.m4
       t@@ -0,0 +1,370 @@
       +# Macro to add for using GNU gettext.
       +# Ulrich Drepper <drepper@cygnus.com>, 1995.
       +#
       +# This file can be copied and used freely without restrictions.  It can
       +# be used in projects which are not available under the GNU General Public
       +# License or the GNU Library General Public License but which still want
       +# to provide support for the GNU gettext functionality.
       +# Please note that the actual code of the GNU gettext library is covered
       +# by the GNU Library General Public License, and the rest of the GNU
       +# gettext package package is covered by the GNU General Public License.
       +# They are *not* in the public domain.
       +
       +# serial 10
       +
       +dnl Usage: AM_WITH_NLS([TOOLSYMBOL], [NEEDSYMBOL], [LIBDIR]).
       +dnl If TOOLSYMBOL is specified and is 'use-libtool', then a libtool library
       +dnl    $(top_builddir)/intl/libintl.la will be created (shared and/or static,
       +dnl    depending on --{enable,disable}-{shared,static} and on the presence of
       +dnl    AM-DISABLE-SHARED). Otherwise, a static library
       +dnl    $(top_builddir)/intl/libintl.a will be created.
       +dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
       +dnl    implementations (in libc or libintl) without the ngettext() function
       +dnl    will be ignored.
       +dnl LIBDIR is used to find the intl libraries.  If empty,
       +dnl    the value `$(top_builddir)/intl/' is used.
       +dnl
       +dnl The result of the configuration is one of three cases:
       +dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
       +dnl    and used.
       +dnl    Catalog format: GNU --> install in $(datadir)
       +dnl    Catalog extension: .mo after installation, .gmo in source tree
       +dnl 2) GNU gettext has been found in the system's C library.
       +dnl    Catalog format: GNU --> install in $(datadir)
       +dnl    Catalog extension: .mo after installation, .gmo in source tree
       +dnl 3) No internationalization, always use English msgid.
       +dnl    Catalog format: none
       +dnl    Catalog extension: none
       +dnl The use of .gmo is historical (it was needed to avoid overwriting the
       +dnl GNU format catalogs when building on a platform with an X/Open gettext),
       +dnl but we keep it in order not to force irrelevant filename changes on the
       +dnl maintainers.
       +dnl
       +AC_DEFUN([AM_WITH_NLS],
       +  [AC_MSG_CHECKING([whether NLS is requested])
       +    dnl Default is enabled NLS
       +    AC_ARG_ENABLE(nls,
       +      [  --disable-nls           do not use Native Language Support],
       +      USE_NLS=$enableval, USE_NLS=yes)
       +    AC_MSG_RESULT($USE_NLS)
       +    AC_SUBST(USE_NLS)
       +
       +    BUILD_INCLUDED_LIBINTL=no
       +    USE_INCLUDED_LIBINTL=no
       +    INTLLIBS=
       +
       +    dnl If we use NLS figure out what method
       +    if test "$USE_NLS" = "yes"; then
       +      AC_DEFINE(ENABLE_NLS, 1,
       +        [Define to 1 if translation of program messages to the user's native language
       +   is requested.])
       +      AC_MSG_CHECKING([whether included gettext is requested])
       +      AC_ARG_WITH(included-gettext,
       +        [  --with-included-gettext use the GNU gettext library included here],
       +        nls_cv_force_use_gnu_gettext=$withval,
       +        nls_cv_force_use_gnu_gettext=no)
       +      AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
       +
       +      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
       +      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
       +        dnl User does not insist on using GNU NLS library.  Figure out what
       +        dnl to use.  If GNU gettext is available we use this.  Else we have
       +        dnl to fall back to GNU NLS library.
       +        CATOBJEXT=NONE
       +
       +        dnl Add a version number to the cache macros.
       +        define(gt_cv_func_gnugettext_libc, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libc])
       +        define(gt_cv_func_gnugettext_libintl, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libintl])
       +
       +        AC_CHECK_HEADER(libintl.h,
       +          [AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
       +            [AC_TRY_LINK([#include <libintl.h>
       +extern int _nl_msg_cat_cntr;],
       +               [bindtextdomain ("", "");
       +return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
       +               gt_cv_func_gnugettext_libc=yes,
       +               gt_cv_func_gnugettext_libc=no)])
       +
       +           if test "$gt_cv_func_gnugettext_libc" != "yes"; then
       +             AC_CACHE_CHECK([for GNU gettext in libintl],
       +               gt_cv_func_gnugettext_libintl,
       +               [gt_save_LIBS="$LIBS"
       +                LIBS="$LIBS -lintl $LIBICONV"
       +                AC_TRY_LINK([#include <libintl.h>
       +extern int _nl_msg_cat_cntr;],
       +                  [bindtextdomain ("", "");
       +return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr],
       +                  gt_cv_func_gnugettext_libintl=yes,
       +                  gt_cv_func_gnugettext_libintl=no)
       +                LIBS="$gt_save_LIBS"])
       +           fi
       +
       +           dnl If an already present or preinstalled GNU gettext() is found,
       +           dnl use it.  But if this macro is used in GNU gettext, and GNU
       +           dnl gettext is already preinstalled in libintl, we update this
       +           dnl libintl.  (Cf. the install rule in intl/Makefile.in.)
       +           if test "$gt_cv_func_gnugettext_libc" = "yes" \
       +              || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
       +                   && test "$PACKAGE" != gettext; }; then
       +             AC_DEFINE(HAVE_GETTEXT, 1,
       +               [Define if the GNU gettext() function is already present or preinstalled.])
       +
       +             if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
       +               dnl If iconv() is in a separate libiconv library, then anyone
       +               dnl linking with libintl{.a,.so} also needs to link with
       +               dnl libiconv.
       +               INTLLIBS="-lintl $LIBICONV"
       +             fi
       +
       +             gt_save_LIBS="$LIBS"
       +             LIBS="$LIBS $INTLLIBS"
       +             AC_CHECK_FUNCS(dcgettext)
       +             LIBS="$gt_save_LIBS"
       +
       +             dnl Search for GNU msgfmt in the PATH.
       +             AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
       +               [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
       +             AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
       +
       +             dnl Search for GNU xgettext in the PATH.
       +             AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
       +               [$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
       +
       +             CATOBJEXT=.gmo
       +           fi
       +        ])
       +
       +        if test "$CATOBJEXT" = "NONE"; then
       +          dnl GNU gettext is not found in the C library.
       +          dnl Fall back on GNU gettext library.
       +          nls_cv_use_gnu_gettext=yes
       +        fi
       +      fi
       +
       +      if test "$nls_cv_use_gnu_gettext" = "yes"; then
       +        dnl Mark actions used to generate GNU NLS library.
       +        INTLOBJS="\$(GETTOBJS)"
       +        AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
       +          [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
       +        AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
       +        AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
       +          [$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
       +        AC_SUBST(MSGFMT)
       +        BUILD_INCLUDED_LIBINTL=yes
       +        USE_INCLUDED_LIBINTL=yes
       +        CATOBJEXT=.gmo
       +        INTLLIBS="ifelse([$3],[],\$(top_builddir)/intl,[$3])/libintl.ifelse([$1], use-libtool, [l], [])a $LIBICONV"
       +        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
       +      fi
       +
       +      dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
       +      dnl Test whether we really found GNU msgfmt.
       +      if test "$GMSGFMT" != ":"; then
       +        dnl If it is no GNU msgfmt we define it as : so that the
       +        dnl Makefiles still can work.
       +        if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
       +          : ;
       +        else
       +          AC_MSG_RESULT(
       +            [found msgfmt program is not GNU msgfmt; ignore it])
       +          GMSGFMT=":"
       +        fi
       +      fi
       +
       +      dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
       +      dnl Test whether we really found GNU xgettext.
       +      if test "$XGETTEXT" != ":"; then
       +        dnl If it is no GNU xgettext we define it as : so that the
       +        dnl Makefiles still can work.
       +        if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
       +          : ;
       +        else
       +          AC_MSG_RESULT(
       +            [found xgettext program is not GNU xgettext; ignore it])
       +          XGETTEXT=":"
       +        fi
       +      fi
       +
       +      dnl We need to process the po/ directory.
       +      POSUB=po
       +    fi
       +    AC_OUTPUT_COMMANDS(
       +     [for ac_file in $CONFIG_FILES; do
       +        # Support "outfile[:infile[:infile...]]"
       +        case "$ac_file" in
       +          *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
       +        esac
       +        # PO directories have a Makefile.in generated from Makefile.in.in.
       +        case "$ac_file" in */Makefile.in)
       +          # Adjust a relative srcdir.
       +          ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
       +          ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
       +          ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
       +          # In autoconf-2.13 it is called $ac_given_srcdir.
       +          # In autoconf-2.50 it is called $srcdir.
       +          test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
       +          case "$ac_given_srcdir" in
       +            .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
       +            /*) top_srcdir="$ac_given_srcdir" ;;
       +            *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
       +          esac
       +          if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
       +            rm -f "$ac_dir/POTFILES"
       +            test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
       +            sed -e "/^#/d" -e "/^[         ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
       +            test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
       +            sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
       +          fi
       +          ;;
       +        esac
       +      done])
       +
       +
       +    dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
       +    dnl to 'yes' because some of the testsuite requires it.
       +    if test "$PACKAGE" = gettext; then
       +      BUILD_INCLUDED_LIBINTL=yes
       +    fi
       +
       +    dnl intl/plural.c is generated from intl/plural.y. It requires bison,
       +    dnl because plural.y uses bison specific features. It requires at least
       +    dnl bison-1.26 because earlier versions generate a plural.c that doesn't
       +    dnl compile.
       +    dnl bison is only needed for the maintainer (who touches plural.y). But in
       +    dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
       +    dnl the rule in general Makefile. Now, some people carelessly touch the
       +    dnl files or have a broken "make" program, hence the plural.c rule will
       +    dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
       +    dnl present or too old.
       +    AC_CHECK_PROGS([INTLBISON], [bison])
       +    if test -z "$INTLBISON"; then
       +      ac_verc_fail=yes
       +    else
       +      dnl Found it, now check the version.
       +      AC_MSG_CHECKING([version of bison])
       +changequote(<<,>>)dnl
       +      ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
       +      case $ac_prog_version in
       +        '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
       +        1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
       +changequote([,])dnl
       +           ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
       +        *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
       +      esac
       +      AC_MSG_RESULT([$ac_prog_version])
       +    fi
       +    if test $ac_verc_fail = yes; then
       +      INTLBISON=:
       +    fi
       +
       +    dnl These rules are solely for the distribution goal.  While doing this
       +    dnl we only have to keep exactly one list of the available catalogs
       +    dnl in configure.in.
       +    for lang in $ALL_LINGUAS; do
       +      GMOFILES="$GMOFILES $lang.gmo"
       +      POFILES="$POFILES $lang.po"
       +    done
       +
       +    dnl Make all variables we use known to autoconf.
       +    AC_SUBST(BUILD_INCLUDED_LIBINTL)
       +    AC_SUBST(USE_INCLUDED_LIBINTL)
       +    AC_SUBST(CATALOGS)
       +    AC_SUBST(CATOBJEXT)
       +    AC_SUBST(GMOFILES)
       +    AC_SUBST(INTLLIBS)
       +    AC_SUBST(INTLOBJS)
       +    AC_SUBST(POFILES)
       +    AC_SUBST(POSUB)
       +
       +    dnl For backward compatibility. Some configure.ins may be using this.
       +    nls_cv_header_intl=
       +    nls_cv_header_libgt=
       +
       +    dnl For backward compatibility. Some Makefiles may be using this.
       +    DATADIRNAME=share
       +    AC_SUBST(DATADIRNAME)
       +
       +    dnl For backward compatibility. Some Makefiles may be using this.
       +    INSTOBJEXT=.mo
       +    AC_SUBST(INSTOBJEXT)
       +
       +    dnl For backward compatibility. Some Makefiles may be using this.
       +    GENCAT=gencat
       +    AC_SUBST(GENCAT)
       +  ])
       +
       +dnl Usage: Just like AM_WITH_NLS, which see.
       +AC_DEFUN([AM_GNU_GETTEXT],
       +  [AC_REQUIRE([AC_PROG_MAKE_SET])dnl
       +   AC_REQUIRE([AC_PROG_CC])dnl
       +   AC_REQUIRE([AC_CANONICAL_HOST])dnl
       +   AC_REQUIRE([AC_PROG_RANLIB])dnl
       +   AC_REQUIRE([AC_ISC_POSIX])dnl
       +   AC_REQUIRE([AC_HEADER_STDC])dnl
       +   AC_REQUIRE([AC_C_CONST])dnl
       +   AC_REQUIRE([AC_C_INLINE])dnl
       +   AC_REQUIRE([AC_TYPE_OFF_T])dnl
       +   AC_REQUIRE([AC_TYPE_SIZE_T])dnl
       +   AC_REQUIRE([AC_FUNC_ALLOCA])dnl
       +   AC_REQUIRE([AC_FUNC_MMAP])dnl
       +   AC_REQUIRE([jm_GLIBC21])dnl
       +
       +   AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
       +stdlib.h string.h unistd.h sys/param.h])
       +   AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getcwd getegid geteuid \
       +getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
       +strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
       +
       +   AM_ICONV
       +   AM_LANGINFO_CODESET
       +   AM_LC_MESSAGES
       +   AM_WITH_NLS([$1],[$2],[$3])
       +
       +   if test "x$CATOBJEXT" != "x"; then
       +     if test "x$ALL_LINGUAS" = "x"; then
       +       LINGUAS=
       +     else
       +       AC_MSG_CHECKING(for catalogs to be installed)
       +       NEW_LINGUAS=
       +       for presentlang in $ALL_LINGUAS; do
       +         useit=no
       +         for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
       +           # Use the presentlang catalog if desiredlang is
       +           #   a. equal to presentlang, or
       +           #   b. a variant of presentlang (because in this case,
       +           #      presentlang can be used as a fallback for messages
       +           #      which are not translated in the desiredlang catalog).
       +           case "$desiredlang" in
       +             "$presentlang"*) useit=yes;;
       +           esac
       +         done
       +         if test $useit = yes; then
       +           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
       +         fi
       +       done
       +       LINGUAS=$NEW_LINGUAS
       +       AC_MSG_RESULT($LINGUAS)
       +     fi
       +
       +     dnl Construct list of names of catalog files to be constructed.
       +     if test -n "$LINGUAS"; then
       +       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
       +     fi
       +   fi
       +
       +   dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
       +   dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
       +   dnl Try to locate is.
       +   MKINSTALLDIRS=
       +   if test -n "$ac_aux_dir"; then
       +     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
       +   fi
       +   if test -z "$MKINSTALLDIRS"; then
       +     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
       +   fi
       +   AC_SUBST(MKINSTALLDIRS)
       +
       +   dnl Enable libtool support if the surrounding package wishes it.
       +   INTL_LIBTOOL_SUFFIX_PREFIX=ifelse([$1], use-libtool, [l], [])
       +   AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
       +  ])
 (DIR) diff --git a/m4/glib-2.0.m4 b/m4/glib-2.0.m4
       t@@ -0,0 +1,212 @@
       +# Configure paths for GLIB
       +# Owen Taylor     1997-2001
       +
       +dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
       +dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or 
       +dnl gthread is specified in MODULES, pass to pkg-config
       +dnl
       +AC_DEFUN(AM_PATH_GLIB_2_0,
       +[dnl 
       +dnl Get the cflags and libraries from pkg-config
       +dnl
       +AC_ARG_ENABLE(glibtest, [  --disable-glibtest      do not try to compile and run a test GLIB program],
       +                    , enable_glibtest=yes)
       +
       +  pkg_config_args=glib-2.0
       +  for module in . $4
       +  do
       +      case "$module" in
       +         gmodule) 
       +             pkg_config_args="$pkg_config_args gmodule-2.0"
       +         ;;
       +         gobject) 
       +             pkg_config_args="$pkg_config_args gobject-2.0"
       +         ;;
       +         gthread) 
       +             pkg_config_args="$pkg_config_args gthread-2.0"
       +         ;;
       +      esac
       +  done
       +
       +  AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
       +
       +  no_glib=""
       +
       +  if test x$PKG_CONFIG != xno ; then
       +    if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
       +      :
       +    else
       +      echo *** pkg-config too old; version 0.7 or better required.
       +      no_glib=yes
       +      PKG_CONFIG=no
       +    fi
       +  else
       +    no_glib=yes
       +  fi
       +
       +  min_glib_version=ifelse([$1], ,2.0.0,$1)
       +  AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
       +
       +  if test x$PKG_CONFIG != xno ; then
       +    ## don't try to run the test against uninstalled libtool libs
       +    if $PKG_CONFIG --uninstalled $pkg_config_args; then
       +          echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
       +          enable_glibtest=no
       +    fi
       +
       +    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
       +          :
       +    else
       +          no_glib=yes
       +    fi
       +  fi
       +
       +  if test x"$no_glib" = x ; then
       +    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
       +    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
       +    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
       +
       +    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
       +    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
       +    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
       +    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
       +    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
       +    if test "x$enable_glibtest" = "xyes" ; then
       +      ac_save_CFLAGS="$CFLAGS"
       +      ac_save_LIBS="$LIBS"
       +      CFLAGS="$CFLAGS $GLIB_CFLAGS"
       +      LIBS="$GLIB_LIBS $LIBS"
       +dnl
       +dnl Now check if the installed GLIB is sufficiently new. (Also sanity
       +dnl checks the results of pkg-config to some extent)
       +dnl
       +      rm -f conf.glibtest
       +      AC_TRY_RUN([
       +#include <glib.h>
       +#include <stdio.h>
       +#include <stdlib.h>
       +
       +int 
       +main ()
       +{
       +  int major, minor, micro;
       +  char *tmp_version;
       +
       +  system ("touch conf.glibtest");
       +
       +  /* HP/UX 9 (%@#!) writes to sscanf strings */
       +  tmp_version = g_strdup("$min_glib_version");
       +  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       +     printf("%s, bad version string\n", "$min_glib_version");
       +     exit(1);
       +   }
       +
       +  if ((glib_major_version != $glib_config_major_version) ||
       +      (glib_minor_version != $glib_config_minor_version) ||
       +      (glib_micro_version != $glib_config_micro_version))
       +    {
       +      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
       +             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
       +             glib_major_version, glib_minor_version, glib_micro_version);
       +      printf ("*** was found! If pkg-config was correct, then it is best\n");
       +      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
       +      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       +      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       +      printf("*** required on your system.\n");
       +      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
       +      printf("*** to point to the correct configuration files\n");
       +    } 
       +  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
       +           (glib_minor_version != GLIB_MINOR_VERSION) ||
       +           (glib_micro_version != GLIB_MICRO_VERSION))
       +    {
       +      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
       +             GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
       +      printf("*** library (version %d.%d.%d)\n",
       +             glib_major_version, glib_minor_version, glib_micro_version);
       +    }
       +  else
       +    {
       +      if ((glib_major_version > major) ||
       +        ((glib_major_version == major) && (glib_minor_version > minor)) ||
       +        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
       +      {
       +        return 0;
       +       }
       +     else
       +      {
       +        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
       +               glib_major_version, glib_minor_version, glib_micro_version);
       +        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
       +               major, minor, micro);
       +        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
       +        printf("***\n");
       +        printf("*** If you have already installed a sufficiently new version, this error\n");
       +        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
       +        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       +        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
       +        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
       +        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       +        printf("*** so that the correct libraries are found at run-time))\n");
       +      }
       +    }
       +  return 1;
       +}
       +],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
       +       CFLAGS="$ac_save_CFLAGS"
       +       LIBS="$ac_save_LIBS"
       +     fi
       +  fi
       +  if test "x$no_glib" = x ; then
       +     AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
       +     ifelse([$2], , :, [$2])     
       +  else
       +     AC_MSG_RESULT(no)
       +     if test "$PKG_CONFIG" = "no" ; then
       +       echo "*** A new enough version of pkg-config was not found."
       +       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
       +     else
       +       if test -f conf.glibtest ; then
       +        :
       +       else
       +          echo "*** Could not run GLIB test program, checking why..."
       +          CFLAGS="$CFLAGS $GLIB_CFLAGS"
       +          LIBS="$LIBS $GLIB_LIBS"
       +          AC_TRY_LINK([
       +#include <glib.h>
       +#include <stdio.h>
       +],      [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
       +        [ echo "*** The test program compiled, but did not run. This usually means"
       +          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
       +          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
       +          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       +          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       +          echo "*** is required on your system"
       +          echo "***"
       +          echo "*** If you have an old version installed, it is best to remove it, although"
       +          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
       +        [ echo "*** The test program failed to compile or link. See the file config.log for the"
       +          echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
       +          echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
       +          echo "*** may want to edit the pkg-config script: $PKG_CONFIG" ])
       +          CFLAGS="$ac_save_CFLAGS"
       +          LIBS="$ac_save_LIBS"
       +       fi
       +     fi
       +     GLIB_CFLAGS=""
       +     GLIB_LIBS=""
       +     GLIB_GENMARSHAL=""
       +     GOBJECT_QUERY=""
       +     GLIB_MKENUMS=""
       +     ifelse([$3], , :, [$3])
       +  fi
       +  AC_SUBST(GLIB_CFLAGS)
       +  AC_SUBST(GLIB_LIBS)
       +  AC_SUBST(GLIB_GENMARSHAL)
       +  AC_SUBST(GOBJECT_QUERY)
       +  AC_SUBST(GLIB_MKENUMS)
       +  rm -f conf.glibtest
       +])
 (DIR) diff --git a/m4/glib-gettext.m4 b/m4/glib-gettext.m4
       t@@ -0,0 +1,226 @@
       +# Macro to add for using GNU gettext.
       +# Ulrich Drepper <drepper@cygnus.com>, 1995.
       +#
       +# Modified to never use included libintl. 
       +# Owen Taylor <otaylor@redhat.com>, 12/15/1998
       +#
       +#
       +# This file can be copied and used freely without restrictions.  It can
       +# be used in projects which are not available under the GNU Public License
       +# but which still want to provide support for the GNU gettext functionality.
       +# Please note that the actual code is *not* freely available.
       +#
       +#
       +# If you make changes to this file, you MUST update the copy in
       +# acinclude.m4. [ aclocal dies on duplicate macros, so if
       +# we run 'aclocal -I macros/' then we'll run into problems
       +# once we've installed glib-gettext.m4 :-( ]
       +#
       +
       +# serial 5
       +
       +AC_DEFUN(AM_GLIB_WITH_NLS,
       +  dnl NLS is obligatory
       +  [USE_NLS=yes
       +    AC_SUBST(USE_NLS)
       +
       +    dnl Figure out what method
       +    nls_cv_force_use_gnu_gettext="no"
       +
       +    nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
       +    if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
       +      dnl User does not insist on using GNU NLS library.  Figure out what
       +      dnl to use.  If gettext or catgets are available (in this order) we
       +      dnl use this.  Else we have to fall back to GNU NLS library.
       +      dnl catgets is only used if permitted by option --with-catgets.
       +      nls_cv_header_intl=
       +      nls_cv_header_libgt=
       +      CATOBJEXT=NONE
       +
       +      AC_CHECK_HEADER(libintl.h,
       +        [AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
       +          [AC_TRY_LINK([#include <libintl.h>], [return (int) dgettext ("","")],
       +            gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no)])
       +
       +          if test "$gt_cv_func_dgettext_libc" != "yes"; then
       +            AC_CHECK_LIB(intl, bindtextdomain,
       +              [AC_CACHE_CHECK([for dgettext in libintl],
       +                gt_cv_func_dgettext_libintl,
       +                [AC_CHECK_LIB(intl, dgettext,
       +                  gt_cv_func_dgettext_libintl=yes,
       +                  gt_cv_func_dgettext_libintl=no)],
       +                gt_cv_func_dgettext_libintl=no)])
       +          fi
       +
       +          if test "$gt_cv_func_dgettext_libintl" = "yes"; then
       +            LIBS="$LIBS -lintl";
       +          fi
       +
       +          if test "$gt_cv_func_dgettext_libc" = "yes" \
       +            || test "$gt_cv_func_dgettext_libintl" = "yes"; then
       +            AC_DEFINE(HAVE_GETTEXT,1,
       +              [Define if the GNU gettext() function is already present or preinstalled.])
       +            AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
       +               [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
       +            if test "$MSGFMT" != "no"; then
       +              AC_CHECK_FUNCS(dcgettext)
       +              AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
       +              AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
       +                [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
       +              AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
       +                              return _nl_msg_cat_cntr],
       +                [CATOBJEXT=.gmo
       +                 DATADIRNAME=share],
       +                [CATOBJEXT=.mo
       +                 DATADIRNAME=lib])
       +              INSTOBJEXT=.mo
       +            fi
       +          fi
       +
       +          # Added by Martin Baulig 12/15/98 for libc5 systems
       +          if test "$gt_cv_func_dgettext_libc" != "yes" \
       +            && test "$gt_cv_func_dgettext_libintl" = "yes"; then
       +            INTLLIBS=-lintl
       +            LIBS=`echo $LIBS | sed -e 's/-lintl//'`
       +          fi
       +      ])
       +
       +      if test "$CATOBJEXT" = "NONE"; then
       +        dnl Neither gettext nor catgets in included in the C library.
       +        dnl Fall back on GNU gettext library.
       +        nls_cv_use_gnu_gettext=yes
       +      fi
       +    fi
       +
       +    if test "$nls_cv_use_gnu_gettext" != "yes"; then
       +      AC_DEFINE(ENABLE_NLS, 1,
       +        [always defined to indicate that i18n is enabled])
       +    else
       +      dnl Unset this variable since we use the non-zero value as a flag.
       +      CATOBJEXT=
       +    fi
       +
       +    dnl Test whether we really found GNU xgettext.
       +    if test "$XGETTEXT" != ":"; then
       +      dnl If it is no GNU xgettext we define it as : so that the
       +      dnl Makefiles still can work.
       +      if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
       +        : ;
       +      else
       +        AC_MSG_RESULT(
       +          [found xgettext program is not GNU xgettext; ignore it])
       +        XGETTEXT=":"
       +      fi
       +    fi
       +
       +    # We need to process the po/ directory.
       +    POSUB=po
       +
       +    AC_OUTPUT_COMMANDS(
       +      [case "$CONFIG_FILES" in *po/Makefile.in*)
       +        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
       +      esac])
       +
       +    dnl These rules are solely for the distribution goal.  While doing this
       +    dnl we only have to keep exactly one list of the available catalogs
       +    dnl in configure.in.
       +    for lang in $ALL_LINGUAS; do
       +      GMOFILES="$GMOFILES $lang.gmo"
       +      POFILES="$POFILES $lang.po"
       +    done
       +
       +    dnl Make all variables we use known to autoconf.
       +    AC_SUBST(CATALOGS)
       +    AC_SUBST(CATOBJEXT)
       +    AC_SUBST(DATADIRNAME)
       +    AC_SUBST(GMOFILES)
       +    AC_SUBST(INSTOBJEXT)
       +    AC_SUBST(INTLDEPS)
       +    AC_SUBST(INTLLIBS)
       +    AC_SUBST(INTLOBJS)
       +    AC_SUBST(POFILES)
       +    AC_SUBST(POSUB)
       +  ])
       +
       +AC_DEFUN(AM_GLIB_GNU_GETTEXT,
       +  [AC_REQUIRE([AC_PROG_MAKE_SET])dnl
       +   AC_REQUIRE([AC_PROG_CC])dnl
       +   AC_REQUIRE([AC_PROG_RANLIB])dnl
       +   AC_REQUIRE([AC_HEADER_STDC])dnl
       +   AC_REQUIRE([AC_C_CONST])dnl
       +   AC_REQUIRE([AC_C_INLINE])dnl
       +   AC_REQUIRE([AC_TYPE_OFF_T])dnl
       +   AC_REQUIRE([AC_TYPE_SIZE_T])dnl
       +   AC_REQUIRE([AC_FUNC_ALLOCA])dnl
       +   AC_REQUIRE([AC_FUNC_MMAP])dnl
       +
       +   AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \
       +unistd.h sys/param.h])
       +   AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \
       +strdup __argz_count __argz_stringify __argz_next])
       +
       +   AM_LC_MESSAGES
       +   AM_GLIB_WITH_NLS
       +
       +   if test "x$CATOBJEXT" != "x"; then
       +     if test "x$ALL_LINGUAS" = "x"; then
       +       LINGUAS=
       +     else
       +       AC_MSG_CHECKING(for catalogs to be installed)
       +       NEW_LINGUAS=
       +       for lang in ${LINGUAS=$ALL_LINGUAS}; do
       +         case "$ALL_LINGUAS" in
       +          *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
       +         esac
       +       done
       +       LINGUAS=$NEW_LINGUAS
       +       AC_MSG_RESULT($LINGUAS)
       +     fi
       +
       +     dnl Construct list of names of catalog files to be constructed.
       +     if test -n "$LINGUAS"; then
       +       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
       +     fi
       +   fi
       +
       +   dnl Determine which catalog format we have (if any is needed)
       +   dnl For now we know about two different formats:
       +   dnl   Linux libc-5 and the normal X/Open format
       +   test -d po || mkdir po
       +   if test "$CATOBJEXT" = ".cat"; then
       +     AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen)
       +
       +     dnl Transform the SED scripts while copying because some dumb SEDs
       +     dnl cannot handle comments.
       +     sed -e '/^#/d' $srcdir/po/$msgformat-msg.sed > po/po2msg.sed
       +   fi
       +
       +   dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
       +   dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
       +   dnl Try to locate is.
       +   MKINSTALLDIRS=
       +   if test -n "$ac_aux_dir"; then
       +     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
       +   fi
       +   if test -z "$MKINSTALLDIRS"; then
       +     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
       +   fi
       +   AC_SUBST(MKINSTALLDIRS)
       +
       +   dnl Generate list of files to be processed by xgettext which will
       +   dnl be included in po/Makefile.
       +   test -d po || mkdir po
       +   if test "x$srcdir" != "x."; then
       +     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
       +       posrcprefix="$srcdir/"
       +     else
       +       posrcprefix="../$srcdir/"
       +     fi
       +   else
       +     posrcprefix="../"
       +   fi
       +   rm -f po/POTFILES
       +   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,        $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
       +        < $srcdir/po/POTFILES.in > po/POTFILES
       +  ])
       +
 (DIR) diff --git a/m4/glib.m4 b/m4/glib.m4
       t@@ -0,0 +1,196 @@
       +# Configure paths for GLIB
       +# Owen Taylor     97-11-3
       +
       +dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
       +dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or 
       +dnl gthread is specified in MODULES, pass to glib-config
       +dnl
       +AC_DEFUN(AM_PATH_GLIB,
       +[dnl 
       +dnl Get the cflags and libraries from the glib-config script
       +dnl
       +AC_ARG_WITH(glib-prefix,[  --with-glib-prefix=PFX   Prefix where GLIB is installed (optional)],
       +            glib_config_prefix="$withval", glib_config_prefix="")
       +AC_ARG_WITH(glib-exec-prefix,[  --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)],
       +            glib_config_exec_prefix="$withval", glib_config_exec_prefix="")
       +AC_ARG_ENABLE(glibtest, [  --disable-glibtest       Do not try to compile and run a test GLIB program],
       +                    , enable_glibtest=yes)
       +
       +  if test x$glib_config_exec_prefix != x ; then
       +     glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
       +     if test x${GLIB_CONFIG+set} != xset ; then
       +        GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
       +     fi
       +  fi
       +  if test x$glib_config_prefix != x ; then
       +     glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
       +     if test x${GLIB_CONFIG+set} != xset ; then
       +        GLIB_CONFIG=$glib_config_prefix/bin/glib-config
       +     fi
       +  fi
       +
       +  for module in . $4
       +  do
       +      case "$module" in
       +         gmodule) 
       +             glib_config_args="$glib_config_args gmodule"
       +         ;;
       +         gthread) 
       +             glib_config_args="$glib_config_args gthread"
       +         ;;
       +      esac
       +  done
       +
       +  AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
       +  min_glib_version=ifelse([$1], ,0.99.7,$1)
       +  AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
       +  no_glib=""
       +  if test "$GLIB_CONFIG" = "no" ; then
       +    no_glib=yes
       +  else
       +    GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
       +    GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
       +    glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
       +    glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
       +    glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
       +    if test "x$enable_glibtest" = "xyes" ; then
       +      ac_save_CFLAGS="$CFLAGS"
       +      ac_save_LIBS="$LIBS"
       +      CFLAGS="$CFLAGS $GLIB_CFLAGS"
       +      LIBS="$GLIB_LIBS $LIBS"
       +dnl
       +dnl Now check if the installed GLIB is sufficiently new. (Also sanity
       +dnl checks the results of glib-config to some extent
       +dnl
       +      rm -f conf.glibtest
       +      AC_TRY_RUN([
       +#include <glib.h>
       +#include <stdio.h>
       +#include <stdlib.h>
       +
       +int 
       +main ()
       +{
       +  int major, minor, micro;
       +  char *tmp_version;
       +
       +  system ("touch conf.glibtest");
       +
       +  /* HP/UX 9 (%@#!) writes to sscanf strings */
       +  tmp_version = g_strdup("$min_glib_version");
       +  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       +     printf("%s, bad version string\n", "$min_glib_version");
       +     exit(1);
       +   }
       +
       +  if ((glib_major_version != $glib_config_major_version) ||
       +      (glib_minor_version != $glib_config_minor_version) ||
       +      (glib_micro_version != $glib_config_micro_version))
       +    {
       +      printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
       +             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
       +             glib_major_version, glib_minor_version, glib_micro_version);
       +      printf ("*** was found! If glib-config was correct, then it is best\n");
       +      printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
       +      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       +      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       +      printf("*** required on your system.\n");
       +      printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
       +      printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
       +      printf("*** before re-running configure\n");
       +    } 
       +  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
       +           (glib_minor_version != GLIB_MINOR_VERSION) ||
       +           (glib_micro_version != GLIB_MICRO_VERSION))
       +    {
       +      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
       +             GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
       +      printf("*** library (version %d.%d.%d)\n",
       +             glib_major_version, glib_minor_version, glib_micro_version);
       +    }
       +  else
       +    {
       +      if ((glib_major_version > major) ||
       +        ((glib_major_version == major) && (glib_minor_version > minor)) ||
       +        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
       +      {
       +        return 0;
       +       }
       +     else
       +      {
       +        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
       +               glib_major_version, glib_minor_version, glib_micro_version);
       +        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
       +               major, minor, micro);
       +        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
       +        printf("***\n");
       +        printf("*** If you have already installed a sufficiently new version, this error\n");
       +        printf("*** probably means that the wrong copy of the glib-config shell script is\n");
       +        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       +        printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
       +        printf("*** correct copy of glib-config. (In this case, you will have to\n");
       +        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       +        printf("*** so that the correct libraries are found at run-time))\n");
       +      }
       +    }
       +  return 1;
       +}
       +],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
       +       CFLAGS="$ac_save_CFLAGS"
       +       LIBS="$ac_save_LIBS"
       +     fi
       +  fi
       +  if test "x$no_glib" = x ; then
       +     AC_MSG_RESULT(yes)
       +     ifelse([$2], , :, [$2])     
       +  else
       +     AC_MSG_RESULT(no)
       +     if test "$GLIB_CONFIG" = "no" ; then
       +       echo "*** The glib-config script installed by GLIB could not be found"
       +       echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
       +       echo "*** your path, or set the GLIB_CONFIG environment variable to the"
       +       echo "*** full path to glib-config."
       +     else
       +       if test -f conf.glibtest ; then
       +        :
       +       else
       +          echo "*** Could not run GLIB test program, checking why..."
       +          CFLAGS="$CFLAGS $GLIB_CFLAGS"
       +          LIBS="$LIBS $GLIB_LIBS"
       +          AC_TRY_LINK([
       +#include <glib.h>
       +#include <stdio.h>
       +],      [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
       +        [ echo "*** The test program compiled, but did not run. This usually means"
       +          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
       +          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
       +          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       +          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       +          echo "*** is required on your system"
       +          echo "***"
       +          echo "*** If you have an old version installed, it is best to remove it, although"
       +          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
       +          echo "***"
       +          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
       +          echo "*** came with the system with the command"
       +          echo "***"
       +          echo "***    rpm --erase --nodeps gtk gtk-devel" ],
       +        [ echo "*** The test program failed to compile or link. See the file config.log for the"
       +          echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
       +          echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
       +          echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ])
       +          CFLAGS="$ac_save_CFLAGS"
       +          LIBS="$ac_save_LIBS"
       +       fi
       +     fi
       +     GLIB_CFLAGS=""
       +     GLIB_LIBS=""
       +     ifelse([$3], , :, [$3])
       +  fi
       +  AC_SUBST(GLIB_CFLAGS)
       +  AC_SUBST(GLIB_LIBS)
       +  rm -f conf.glibtest
       +])
 (DIR) diff --git a/m4/gtk-2.0.m4 b/m4/gtk-2.0.m4
       t@@ -0,0 +1,196 @@
       +# Configure paths for GTK+
       +# Owen Taylor     1997-2001
       +
       +dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
       +dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, 
       +dnl pass to pkg-config
       +dnl
       +AC_DEFUN(AM_PATH_GTK_2_0,
       +[dnl 
       +dnl Get the cflags and libraries from pkg-config
       +dnl
       +AC_ARG_ENABLE(gtktest, [  --disable-gtktest       do not try to compile and run a test GTK+ program],
       +                    , enable_gtktest=yes)
       +
       +  pkg_config_args=gtk+-2.0
       +  for module in . $4
       +  do
       +      case "$module" in
       +         gthread) 
       +             pkg_config_args="$pkg_config_args gthread-2.0"
       +         ;;
       +      esac
       +  done
       +
       +  no_gtk=""
       +
       +  AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
       +
       +  if test x$PKG_CONFIG != xno ; then
       +    if pkg-config --atleast-pkgconfig-version 0.7 ; then
       +      :
       +    else
       +      echo *** pkg-config too old; version 0.7 or better required.
       +      no_gtk=yes
       +      PKG_CONFIG=no
       +    fi
       +  else
       +    no_gtk=yes
       +  fi
       +
       +  min_gtk_version=ifelse([$1], ,2.0.0,$1)
       +  AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
       +
       +  if test x$PKG_CONFIG != xno ; then
       +    ## don't try to run the test against uninstalled libtool libs
       +    if $PKG_CONFIG --uninstalled $pkg_config_args; then
       +          echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
       +          enable_gtktest=no
       +    fi
       +
       +    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
       +          :
       +    else
       +          no_gtk=yes
       +    fi
       +  fi
       +
       +  if test x"$no_gtk" = x ; then
       +    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
       +    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
       +    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
       +    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
       +    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
       +    if test "x$enable_gtktest" = "xyes" ; then
       +      ac_save_CFLAGS="$CFLAGS"
       +      ac_save_LIBS="$LIBS"
       +      CFLAGS="$CFLAGS $GTK_CFLAGS"
       +      LIBS="$GTK_LIBS $LIBS"
       +dnl
       +dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
       +dnl checks the results of pkg-config to some extent)
       +dnl
       +      rm -f conf.gtktest
       +      AC_TRY_RUN([
       +#include <gtk/gtk.h>
       +#include <stdio.h>
       +#include <stdlib.h>
       +
       +int 
       +main ()
       +{
       +  int major, minor, micro;
       +  char *tmp_version;
       +
       +  system ("touch conf.gtktest");
       +
       +  /* HP/UX 9 (%@#!) writes to sscanf strings */
       +  tmp_version = g_strdup("$min_gtk_version");
       +  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       +     printf("%s, bad version string\n", "$min_gtk_version");
       +     exit(1);
       +   }
       +
       +  if ((gtk_major_version != $gtk_config_major_version) ||
       +      (gtk_minor_version != $gtk_config_minor_version) ||
       +      (gtk_micro_version != $gtk_config_micro_version))
       +    {
       +      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
       +             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
       +             gtk_major_version, gtk_minor_version, gtk_micro_version);
       +      printf ("*** was found! If pkg-config was correct, then it is best\n");
       +      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
       +      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       +      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       +      printf("*** required on your system.\n");
       +      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
       +      printf("*** to point to the correct configuration files\n");
       +    } 
       +  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
       +           (gtk_minor_version != GTK_MINOR_VERSION) ||
       +           (gtk_micro_version != GTK_MICRO_VERSION))
       +    {
       +      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
       +             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
       +      printf("*** library (version %d.%d.%d)\n",
       +             gtk_major_version, gtk_minor_version, gtk_micro_version);
       +    }
       +  else
       +    {
       +      if ((gtk_major_version > major) ||
       +        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
       +        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
       +      {
       +        return 0;
       +       }
       +     else
       +      {
       +        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
       +               gtk_major_version, gtk_minor_version, gtk_micro_version);
       +        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
       +               major, minor, micro);
       +        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
       +        printf("***\n");
       +        printf("*** If you have already installed a sufficiently new version, this error\n");
       +        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
       +        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       +        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
       +        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
       +        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       +        printf("*** so that the correct libraries are found at run-time))\n");
       +      }
       +    }
       +  return 1;
       +}
       +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
       +       CFLAGS="$ac_save_CFLAGS"
       +       LIBS="$ac_save_LIBS"
       +     fi
       +  fi
       +  if test "x$no_gtk" = x ; then
       +     AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
       +     ifelse([$2], , :, [$2])     
       +  else
       +     AC_MSG_RESULT(no)
       +     if test "$PKG_CONFIG" = "no" ; then
       +       echo "*** A new enough version of pkg-config was not found."
       +       echo "*** See http://pkgconfig.sourceforge.net"
       +     else
       +       if test -f conf.gtktest ; then
       +        :
       +       else
       +          echo "*** Could not run GTK+ test program, checking why..."
       +          CFLAGS="$CFLAGS $GTK_CFLAGS"
       +          LIBS="$LIBS $GTK_LIBS"
       +          AC_TRY_LINK([
       +#include <gtk/gtk.h>
       +#include <stdio.h>
       +],      [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
       +        [ echo "*** The test program compiled, but did not run. This usually means"
       +          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
       +          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
       +          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       +          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       +          echo "*** is required on your system"
       +          echo "***"
       +          echo "*** If you have an old version installed, it is best to remove it, although"
       +          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
       +        [ echo "*** The test program failed to compile or link. See the file config.log for the"
       +          echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
       +          echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
       +          echo "*** may want to edit the pkg-config script: $PKG_CONFIG" ])
       +          CFLAGS="$ac_save_CFLAGS"
       +          LIBS="$ac_save_LIBS"
       +       fi
       +     fi
       +     GTK_CFLAGS=""
       +     GTK_LIBS=""
       +     ifelse([$3], , :, [$3])
       +  fi
       +  AC_SUBST(GTK_CFLAGS)
       +  AC_SUBST(GTK_LIBS)
       +  rm -f conf.gtktest
       +])
 (DIR) diff --git a/m4/gtk.m4 b/m4/gtk.m4
       t@@ -0,0 +1,194 @@
       +# Configure paths for GTK+
       +# Owen Taylor     97-11-3
       +
       +dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
       +dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
       +dnl
       +AC_DEFUN(AM_PATH_GTK,
       +[dnl 
       +dnl Get the cflags and libraries from the gtk-config script
       +dnl
       +AC_ARG_WITH(gtk-prefix,[  --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)],
       +            gtk_config_prefix="$withval", gtk_config_prefix="")
       +AC_ARG_WITH(gtk-exec-prefix,[  --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
       +            gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
       +AC_ARG_ENABLE(gtktest, [  --disable-gtktest       Do not try to compile and run a test GTK program],
       +                    , enable_gtktest=yes)
       +
       +  for module in . $4
       +  do
       +      case "$module" in
       +         gthread) 
       +             gtk_config_args="$gtk_config_args gthread"
       +         ;;
       +      esac
       +  done
       +
       +  if test x$gtk_config_exec_prefix != x ; then
       +     gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
       +     if test x${GTK_CONFIG+set} != xset ; then
       +        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
       +     fi
       +  fi
       +  if test x$gtk_config_prefix != x ; then
       +     gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
       +     if test x${GTK_CONFIG+set} != xset ; then
       +        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
       +     fi
       +  fi
       +
       +  AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
       +  min_gtk_version=ifelse([$1], ,0.99.7,$1)
       +  AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
       +  no_gtk=""
       +  if test "$GTK_CONFIG" = "no" ; then
       +    no_gtk=yes
       +  else
       +    GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
       +    GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
       +    gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
       +    gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
       +    gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
       +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
       +    if test "x$enable_gtktest" = "xyes" ; then
       +      ac_save_CFLAGS="$CFLAGS"
       +      ac_save_LIBS="$LIBS"
       +      CFLAGS="$CFLAGS $GTK_CFLAGS"
       +      LIBS="$GTK_LIBS $LIBS"
       +dnl
       +dnl Now check if the installed GTK is sufficiently new. (Also sanity
       +dnl checks the results of gtk-config to some extent
       +dnl
       +      rm -f conf.gtktest
       +      AC_TRY_RUN([
       +#include <gtk/gtk.h>
       +#include <stdio.h>
       +#include <stdlib.h>
       +
       +int 
       +main ()
       +{
       +  int major, minor, micro;
       +  char *tmp_version;
       +
       +  system ("touch conf.gtktest");
       +
       +  /* HP/UX 9 (%@#!) writes to sscanf strings */
       +  tmp_version = g_strdup("$min_gtk_version");
       +  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
       +     printf("%s, bad version string\n", "$min_gtk_version");
       +     exit(1);
       +   }
       +
       +  if ((gtk_major_version != $gtk_config_major_version) ||
       +      (gtk_minor_version != $gtk_config_minor_version) ||
       +      (gtk_micro_version != $gtk_config_micro_version))
       +    {
       +      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
       +             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
       +             gtk_major_version, gtk_minor_version, gtk_micro_version);
       +      printf ("*** was found! If gtk-config was correct, then it is best\n");
       +      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
       +      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
       +      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
       +      printf("*** required on your system.\n");
       +      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
       +      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
       +      printf("*** before re-running configure\n");
       +    } 
       +#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
       +  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
       +           (gtk_minor_version != GTK_MINOR_VERSION) ||
       +           (gtk_micro_version != GTK_MICRO_VERSION))
       +    {
       +      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
       +             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
       +      printf("*** library (version %d.%d.%d)\n",
       +             gtk_major_version, gtk_minor_version, gtk_micro_version);
       +    }
       +#endif /* defined (GTK_MAJOR_VERSION) ... */
       +  else
       +    {
       +      if ((gtk_major_version > major) ||
       +        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
       +        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
       +      {
       +        return 0;
       +       }
       +     else
       +      {
       +        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
       +               gtk_major_version, gtk_minor_version, gtk_micro_version);
       +        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
       +               major, minor, micro);
       +        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
       +        printf("***\n");
       +        printf("*** If you have already installed a sufficiently new version, this error\n");
       +        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
       +        printf("*** being found. The easiest way to fix this is to remove the old version\n");
       +        printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
       +        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
       +        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
       +        printf("*** so that the correct libraries are found at run-time))\n");
       +      }
       +    }
       +  return 1;
       +}
       +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
       +       CFLAGS="$ac_save_CFLAGS"
       +       LIBS="$ac_save_LIBS"
       +     fi
       +  fi
       +  if test "x$no_gtk" = x ; then
       +     AC_MSG_RESULT(yes)
       +     ifelse([$2], , :, [$2])     
       +  else
       +     AC_MSG_RESULT(no)
       +     if test "$GTK_CONFIG" = "no" ; then
       +       echo "*** The gtk-config script installed by GTK could not be found"
       +       echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
       +       echo "*** your path, or set the GTK_CONFIG environment variable to the"
       +       echo "*** full path to gtk-config."
       +     else
       +       if test -f conf.gtktest ; then
       +        :
       +       else
       +          echo "*** Could not run GTK test program, checking why..."
       +          CFLAGS="$CFLAGS $GTK_CFLAGS"
       +          LIBS="$LIBS $GTK_LIBS"
       +          AC_TRY_LINK([
       +#include <gtk/gtk.h>
       +#include <stdio.h>
       +],      [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
       +        [ echo "*** The test program compiled, but did not run. This usually means"
       +          echo "*** that the run-time linker is not finding GTK or finding the wrong"
       +          echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
       +          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
       +          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
       +          echo "*** is required on your system"
       +          echo "***"
       +          echo "*** If you have an old version installed, it is best to remove it, although"
       +          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
       +          echo "***"
       +          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
       +          echo "*** came with the system with the command"
       +          echo "***"
       +          echo "***    rpm --erase --nodeps gtk gtk-devel" ],
       +        [ echo "*** The test program failed to compile or link. See the file config.log for the"
       +          echo "*** exact error that occured. This usually means GTK was incorrectly installed"
       +          echo "*** or that you have moved GTK since it was installed. In the latter case, you"
       +          echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
       +          CFLAGS="$ac_save_CFLAGS"
       +          LIBS="$ac_save_LIBS"
       +       fi
       +     fi
       +     GTK_CFLAGS=""
       +     GTK_LIBS=""
       +     ifelse([$3], , :, [$3])
       +  fi
       +  AC_SUBST(GTK_CFLAGS)
       +  AC_SUBST(GTK_LIBS)
       +  rm -f conf.gtktest
       +])
 (DIR) diff --git a/m4/iconv.m4 b/m4/iconv.m4
       t@@ -0,0 +1,69 @@
       +#serial AM2
       +
       +dnl From Bruno Haible.
       +
       +AC_DEFUN([AM_ICONV],
       +[
       +  dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
       +  dnl those with the standalone portable GNU libiconv installed).
       +
       +  AC_ARG_WITH([libiconv-prefix],
       +[  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib], [
       +    for dir in `echo "$withval" | tr : ' '`; do
       +      if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
       +      if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
       +    done
       +   ])
       +
       +  AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
       +    am_cv_func_iconv="no, consider installing GNU libiconv"
       +    am_cv_lib_iconv=no
       +    AC_TRY_LINK([#include <stdlib.h>
       +#include <iconv.h>],
       +      [iconv_t cd = iconv_open("","");
       +       iconv(cd,NULL,NULL,NULL,NULL);
       +       iconv_close(cd);],
       +      am_cv_func_iconv=yes)
       +    if test "$am_cv_func_iconv" != yes; then
       +      am_save_LIBS="$LIBS"
       +      LIBS="$LIBS -liconv"
       +      AC_TRY_LINK([#include <stdlib.h>
       +#include <iconv.h>],
       +        [iconv_t cd = iconv_open("","");
       +         iconv(cd,NULL,NULL,NULL,NULL);
       +         iconv_close(cd);],
       +        am_cv_lib_iconv=yes
       +        am_cv_func_iconv=yes)
       +      LIBS="$am_save_LIBS"
       +    fi
       +  ])
       +  if test "$am_cv_func_iconv" = yes; then
       +    AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
       +    AC_MSG_CHECKING([for iconv declaration])
       +    AC_CACHE_VAL(am_cv_proto_iconv, [
       +      AC_TRY_COMPILE([
       +#include <stdlib.h>
       +#include <iconv.h>
       +extern
       +#ifdef __cplusplus
       +"C"
       +#endif
       +#if defined(__STDC__) || defined(__cplusplus)
       +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
       +#else
       +size_t iconv();
       +#endif
       +], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
       +      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
       +    am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
       +    AC_MSG_RESULT([$]{ac_t:-
       +         }[$]am_cv_proto_iconv)
       +    AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
       +      [Define as const if the declaration of iconv() needs const.])
       +  fi
       +  LIBICONV=
       +  if test "$am_cv_lib_iconv" = yes; then
       +    LIBICONV="-liconv"
       +  fi
       +  AC_SUBST(LIBICONV)
       +])
 (DIR) diff --git a/src/Makefile.in b/src/Makefile.in
       t@@ -1,466 +0,0 @@
       -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
       -
       -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
       -# This Makefile.in is free software; the Free Software Foundation
       -# gives unlimited permission to copy and/or distribute it,
       -# with or without modifications, as long as this notice is preserved.
       -
       -# This program is distributed in the hope that it will be useful,
       -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
       -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
       -# PARTICULAR PURPOSE.
       -
       -
       -SHELL = @SHELL@
       -
       -srcdir = @srcdir@
       -top_srcdir = @top_srcdir@
       -VPATH = @srcdir@
       -prefix = @prefix@
       -exec_prefix = @exec_prefix@
       -
       -bindir = @bindir@
       -sbindir = @sbindir@
       -libexecdir = @libexecdir@
       -datadir = @datadir@
       -sysconfdir = @sysconfdir@
       -sharedstatedir = @sharedstatedir@
       -localstatedir = @localstatedir@
       -libdir = @libdir@
       -infodir = @infodir@
       -mandir = @mandir@
       -includedir = @includedir@
       -oldincludedir = /usr/include
       -
       -DESTDIR =
       -
       -pkgdatadir = $(datadir)/@PACKAGE@
       -pkglibdir = $(libdir)/@PACKAGE@
       -pkgincludedir = $(includedir)/@PACKAGE@
       -
       -top_builddir = ..
       -
       -ACLOCAL = @ACLOCAL@
       -AUTOCONF = @AUTOCONF@
       -AUTOMAKE = @AUTOMAKE@
       -AUTOHEADER = @AUTOHEADER@
       -
       -INSTALL = @INSTALL@
       -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
       -INSTALL_DATA = @INSTALL_DATA@
       -INSTALL_SCRIPT = @INSTALL_SCRIPT@
       -transform = @program_transform_name@
       -
       -NORMAL_INSTALL = :
       -PRE_INSTALL = :
       -POST_INSTALL = :
       -NORMAL_UNINSTALL = :
       -PRE_UNINSTALL = :
       -POST_UNINSTALL = :
       -host_alias = @host_alias@
       -host_triplet = @host@
       -BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
       -CATALOGS = @CATALOGS@
       -CATOBJEXT = @CATOBJEXT@
       -CC = @CC@
       -DATADIRNAME = @DATADIRNAME@
       -GENCAT = @GENCAT@
       -GLIBC21 = @GLIBC21@
       -GLIB_CFLAGS = @GLIB_CFLAGS@
       -GLIB_CONFIG = @GLIB_CONFIG@
       -GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
       -GLIB_LIBS = @GLIB_LIBS@
       -GLIB_MKENUMS = @GLIB_MKENUMS@
       -GMOFILES = @GMOFILES@
       -GMSGFMT = @GMSGFMT@
       -GOBJECT_QUERY = @GOBJECT_QUERY@
       -GTK_CFLAGS = @GTK_CFLAGS@
       -GTK_CONFIG = @GTK_CONFIG@
       -GTK_LIBS = @GTK_LIBS@
       -INSTOBJEXT = @INSTOBJEXT@
       -INTLBISON = @INTLBISON@
       -INTLLIBS = @INTLLIBS@
       -INTLOBJS = @INTLOBJS@
       -INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
       -LIBICONV = @LIBICONV@
       -MAKEINFO = @MAKEINFO@
       -MKINSTALLDIRS = @MKINSTALLDIRS@
       -MSGFMT = @MSGFMT@
       -PACKAGE = @PACKAGE@
       -PKG_CONFIG = @PKG_CONFIG@
       -POFILES = @POFILES@
       -POSUB = @POSUB@
       -RANLIB = @RANLIB@
       -USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
       -USE_NLS = @USE_NLS@
       -VERSION = @VERSION@
       -WNDRES = @WNDRES@
       -localedir = @localedir@
       -
       -@GUI_CLIENT_TRUE@GUISUBDIR = @GUI_CLIENT_TRUE@gui_client
       -@GUI_CLIENT_TRUE@GUILIB = @GUI_CLIENT_TRUE@gui_client/libguiclient.a
       -
       -@CURSES_CLIENT_TRUE@CURSESSUBDIR = @CURSES_CLIENT_TRUE@curses_client
       -@CURSES_CLIENT_TRUE@CURSESLIB = @CURSES_CLIENT_TRUE@curses_client/libcursesclient.a
       -
       -@GTKPORT_TRUE@GTKPORTSUBDIR = @GTKPORT_TRUE@gtkport
       -@GTKPORT_TRUE@GTKPORTLIB = @GTKPORT_TRUE@gtkport/libgtkport.a
       -
       -@CURSESPORT_TRUE@CURSESPORTSUBDIR = @CURSESPORT_TRUE@cursesport
       -@CURSESPORT_TRUE@CURSESPORTLIB = @CURSESPORT_TRUE@cursesport/libcursesport.a
       -
       -SUBDIRS = $(GUISUBDIR) $(CURSESSUBDIR) $(GTKPORTSUBDIR) $(CURSESPORTSUBDIR)
       -dopewars_LDADD = $(GUILIB) $(CURSESLIB) $(GTKPORTLIB) $(CURSESPORTLIB) @GTK_LIBS@ @INTLLIBS@ @WNDRES@
       -dopewars_DEPENDENCIES = $(GUILIB) $(CURSESLIB) $(GTKPORTLIB) $(CURSESPORTLIB) @INTLLIBS@ @WNDRES@
       -
       -bin_PROGRAMS = dopewars
       -dopewars_SOURCES = admin.c admin.h AIPlayer.c AIPlayer.h util.c util.h \
       -                   dopewars.c dopewars.h error.c error.h message.c message.h \
       -                   network.c network.h nls.h serverside.c serverside.h \
       -                   tstring.c tstring.h winmain.c winmain.h
       -
       -INCLUDES = -I../intl -I${srcdir} -I.. @GTK_CFLAGS@
       -DEFS = @DEFS@ -DLOCALEDIR=\"${localedir}\"
       -PIXDIR = ${DESTDIR}${datadir}/pixmaps
       -DOPEDIR = ${DESTDIR}${bindir}
       -DOPEBIN = ${DOPEDIR}/dopewars
       -PIXMAPS = dopewars-pill.png dopewars-shot.png dopewars-weed.png
       -EXTRA_DIST = ${PIXMAPS} pill.ico magic dopewars.rc
       -CLEANFILES = dopewars.res dopewars.exe
       -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
       -CONFIG_HEADER = ../config.h
       -CONFIG_CLEAN_FILES = 
       -PROGRAMS =  $(bin_PROGRAMS)
       -
       -CPPFLAGS = @CPPFLAGS@
       -LDFLAGS = @LDFLAGS@
       -LIBS = @LIBS@
       -dopewars_OBJECTS =  admin.o AIPlayer.o util.o dopewars.o error.o \
       -message.o network.o serverside.o tstring.o winmain.o
       -dopewars_LDFLAGS = 
       -CFLAGS = @CFLAGS@
       -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
       -CCLD = $(CC)
       -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
       -DIST_COMMON =  Makefile.am Makefile.in
       -
       -
       -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
       -
       -TAR = gtar
       -GZIP_ENV = --best
       -DIST_SUBDIRS =  gui_client curses_client gtkport cursesport
       -DEP_FILES =  .deps/AIPlayer.P .deps/admin.P .deps/dopewars.P \
       -.deps/error.P .deps/message.P .deps/network.P .deps/serverside.P \
       -.deps/tstring.P .deps/util.P .deps/winmain.P
       -SOURCES = $(dopewars_SOURCES)
       -OBJECTS = $(dopewars_OBJECTS)
       -
       -all: all-redirect
       -.SUFFIXES:
       -.SUFFIXES: .S .c .o .s
       -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
       -        cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
       -
       -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
       -        cd $(top_builddir) \
       -          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
       -
       -
       -mostlyclean-binPROGRAMS:
       -
       -clean-binPROGRAMS:
       -        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
       -
       -distclean-binPROGRAMS:
       -
       -maintainer-clean-binPROGRAMS:
       -
       -install-binPROGRAMS: $(bin_PROGRAMS)
       -        @$(NORMAL_INSTALL)
       -        $(mkinstalldirs) $(DESTDIR)$(bindir)
       -        @list='$(bin_PROGRAMS)'; for p in $$list; do \
       -          if test -f $$p; then \
       -            echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
       -             $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
       -          else :; fi; \
       -        done
       -
       -uninstall-binPROGRAMS:
       -        @$(NORMAL_UNINSTALL)
       -        list='$(bin_PROGRAMS)'; for p in $$list; do \
       -          rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
       -        done
       -
       -.s.o:
       -        $(COMPILE) -c $<
       -
       -.S.o:
       -        $(COMPILE) -c $<
       -
       -mostlyclean-compile:
       -        -rm -f *.o core *.core
       -
       -clean-compile:
       -
       -distclean-compile:
       -        -rm -f *.tab.c
       -
       -maintainer-clean-compile:
       -
       -dopewars: $(dopewars_OBJECTS) $(dopewars_DEPENDENCIES)
       -        @rm -f dopewars
       -        $(LINK) $(dopewars_LDFLAGS) $(dopewars_OBJECTS) $(dopewars_LDADD) $(LIBS)
       -
       -# This directory's subdirectories are mostly independent; you can cd
       -# into them and run `make' without going through this Makefile.
       -# To change the values of `make' variables: instead of editing Makefiles,
       -# (1) if the variable is set in `config.status', edit `config.status'
       -#     (which will cause the Makefiles to be regenerated when you run `make');
       -# (2) otherwise, pass the desired values on the `make' command line.
       -
       -@SET_MAKE@
       -
       -all-recursive install-data-recursive install-exec-recursive \
       -installdirs-recursive install-recursive uninstall-recursive  \
       -check-recursive installcheck-recursive info-recursive dvi-recursive:
       -        @set fnord $(MAKEFLAGS); amf=$$2; \
       -        dot_seen=no; \
       -        target=`echo $@ | sed s/-recursive//`; \
       -        list='$(SUBDIRS)'; for subdir in $$list; do \
       -          echo "Making $$target in $$subdir"; \
       -          if test "$$subdir" = "."; then \
       -            dot_seen=yes; \
       -            local_target="$$target-am"; \
       -          else \
       -            local_target="$$target"; \
       -          fi; \
       -          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
       -           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
       -        done; \
       -        if test "$$dot_seen" = "no"; then \
       -          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
       -        fi; test -z "$$fail"
       -
       -mostlyclean-recursive clean-recursive distclean-recursive \
       -maintainer-clean-recursive:
       -        @set fnord $(MAKEFLAGS); amf=$$2; \
       -        dot_seen=no; \
       -        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
       -          rev="$$subdir $$rev"; \
       -          test "$$subdir" != "." || dot_seen=yes; \
       -        done; \
       -        test "$$dot_seen" = "no" && rev=". $$rev"; \
       -        target=`echo $@ | sed s/-recursive//`; \
       -        for subdir in $$rev; do \
       -          echo "Making $$target in $$subdir"; \
       -          if test "$$subdir" = "."; then \
       -            local_target="$$target-am"; \
       -          else \
       -            local_target="$$target"; \
       -          fi; \
       -          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
       -           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
       -        done && test -z "$$fail"
       -tags-recursive:
       -        list='$(SUBDIRS)'; for subdir in $$list; do \
       -          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
       -        done
       -
       -tags: TAGS
       -
       -ID: $(HEADERS) $(SOURCES) $(LISP)
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        here=`pwd` && cd $(srcdir) \
       -          && mkid -f$$here/ID $$unique $(LISP)
       -
       -TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
       -        tags=; \
       -        here=`pwd`; \
       -        list='$(SUBDIRS)'; for subdir in $$list; do \
       -   if test "$$subdir" = .; then :; else \
       -            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
       -   fi; \
       -        done; \
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
       -          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
       -
       -mostlyclean-tags:
       -
       -clean-tags:
       -
       -distclean-tags:
       -        -rm -f TAGS ID
       -
       -maintainer-clean-tags:
       -
       -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
       -
       -subdir = src
       -
       -distdir: $(DISTFILES)
       -        here=`cd $(top_builddir) && pwd`; \
       -        top_distdir=`cd $(top_distdir) && pwd`; \
       -        distdir=`cd $(distdir) && pwd`; \
       -        cd $(top_srcdir) \
       -          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
       -        @for file in $(DISTFILES); do \
       -          d=$(srcdir); \
       -          if test -d $$d/$$file; then \
       -            cp -pr $$d/$$file $(distdir)/$$file; \
       -          else \
       -            test -f $(distdir)/$$file \
       -            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
       -            || cp -p $$d/$$file $(distdir)/$$file || :; \
       -          fi; \
       -        done
       -        for subdir in $(DIST_SUBDIRS); do \
       -          if test "$$subdir" = .; then :; else \
       -            test -d $(distdir)/$$subdir \
       -            || mkdir $(distdir)/$$subdir \
       -            || exit 1; \
       -            chmod 777 $(distdir)/$$subdir; \
       -            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
       -              || exit 1; \
       -          fi; \
       -        done
       -
       -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
       -
       --include $(DEP_FILES)
       -
       -mostlyclean-depend:
       -
       -clean-depend:
       -
       -distclean-depend:
       -        -rm -rf .deps
       -
       -maintainer-clean-depend:
       -
       -%.o: %.c
       -        @echo '$(COMPILE) -c $<'; \
       -        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-cp .deps/$(*F).pp .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm .deps/$(*F).pp
       -
       -%.lo: %.c
       -        @echo '$(LTCOMPILE) -c $<'; \
       -        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-sed -e 's/^\([^:]*\)\.o[         ]*:/\1.lo \1.o :/' \
       -          < .deps/$(*F).pp > .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm -f .deps/$(*F).pp
       -info-am:
       -info: info-recursive
       -dvi-am:
       -dvi: dvi-recursive
       -check-am: all-am
       -check: check-recursive
       -installcheck-am:
       -installcheck: installcheck-recursive
       -install-exec-am: install-binPROGRAMS
       -        @$(NORMAL_INSTALL)
       -        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
       -install-exec: install-exec-recursive
       -
       -install-data-am: install-data-local
       -install-data: install-data-recursive
       -
       -install-am: all-am
       -        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
       -install: install-recursive
       -uninstall-am: uninstall-binPROGRAMS
       -uninstall: uninstall-recursive
       -all-am: Makefile $(PROGRAMS)
       -all-redirect: all-recursive
       -install-strip:
       -        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
       -installdirs: installdirs-recursive
       -installdirs-am:
       -        $(mkinstalldirs)  $(DESTDIR)$(bindir)
       -
       -
       -mostlyclean-generic:
       -
       -clean-generic:
       -        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
       -
       -distclean-generic:
       -        -rm -f Makefile $(CONFIG_CLEAN_FILES)
       -        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
       -
       -maintainer-clean-generic:
       -mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
       -                mostlyclean-tags mostlyclean-depend mostlyclean-generic
       -
       -mostlyclean: mostlyclean-recursive
       -
       -clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
       -                clean-generic mostlyclean-am
       -
       -clean: clean-recursive
       -
       -distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
       -                distclean-depend distclean-generic clean-am
       -
       -distclean: distclean-recursive
       -
       -maintainer-clean-am:  maintainer-clean-binPROGRAMS \
       -                maintainer-clean-compile maintainer-clean-tags \
       -                maintainer-clean-depend maintainer-clean-generic \
       -                distclean-am
       -        @echo "This command is intended for maintainers to use;"
       -        @echo "it deletes files that may require special tools to rebuild."
       -
       -maintainer-clean: maintainer-clean-recursive
       -
       -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
       -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
       -mostlyclean-compile distclean-compile clean-compile \
       -maintainer-clean-compile install-data-recursive \
       -uninstall-data-recursive install-exec-recursive \
       -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
       -all-recursive check-recursive installcheck-recursive info-recursive \
       -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
       -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
       -distclean-tags clean-tags maintainer-clean-tags distdir \
       -mostlyclean-depend distclean-depend clean-depend \
       -maintainer-clean-depend info-am info dvi-am dvi check check-am \
       -installcheck-am installcheck install-exec-am install-exec \
       -install-data-local install-data-am install-data install-am install \
       -uninstall-am uninstall all-redirect all-am all installdirs-am \
       -installdirs mostlyclean-generic distclean-generic clean-generic \
       -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
       -
       -
       -install-exec-hook:
       -        @chgrp games ${DOPEBIN} || chgrp wheel ${DOPEBIN} || \
       -          ( echo "WARNING: Cannot change group of dopewars binary - the high"; \
       -            echo "score file may be unreadable or unwriteable by some users" )
       -        chmod 2755 ${DOPEBIN}
       -
       -install-data-local:
       -        ${mkinstalldirs} ${PIXDIR}
       -        for pix in ${PIXMAPS}; do \
       -          ${INSTALL} -m 0644 ${srcdir}/$${pix} ${PIXDIR}; \
       -        done
       -
       -%.res: %.rc
       -        windres -O coff -o $@ $<
       -
       -# Tell versions [3.59,3.63) of GNU make to not export all variables.
       -# Otherwise a system limit (for SysV at least) may be exceeded.
       -.NOEXPORT:
 (DIR) diff --git a/src/curses_client/Makefile.in b/src/curses_client/Makefile.in
       t@@ -1,327 +0,0 @@
       -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
       -
       -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
       -# This Makefile.in is free software; the Free Software Foundation
       -# gives unlimited permission to copy and/or distribute it,
       -# with or without modifications, as long as this notice is preserved.
       -
       -# This program is distributed in the hope that it will be useful,
       -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
       -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
       -# PARTICULAR PURPOSE.
       -
       -
       -SHELL = @SHELL@
       -
       -srcdir = @srcdir@
       -top_srcdir = @top_srcdir@
       -VPATH = @srcdir@
       -prefix = @prefix@
       -exec_prefix = @exec_prefix@
       -
       -bindir = @bindir@
       -sbindir = @sbindir@
       -libexecdir = @libexecdir@
       -datadir = @datadir@
       -sysconfdir = @sysconfdir@
       -sharedstatedir = @sharedstatedir@
       -localstatedir = @localstatedir@
       -libdir = @libdir@
       -infodir = @infodir@
       -mandir = @mandir@
       -includedir = @includedir@
       -oldincludedir = /usr/include
       -
       -DESTDIR =
       -
       -pkgdatadir = $(datadir)/@PACKAGE@
       -pkglibdir = $(libdir)/@PACKAGE@
       -pkgincludedir = $(includedir)/@PACKAGE@
       -
       -top_builddir = ../..
       -
       -ACLOCAL = @ACLOCAL@
       -AUTOCONF = @AUTOCONF@
       -AUTOMAKE = @AUTOMAKE@
       -AUTOHEADER = @AUTOHEADER@
       -
       -INSTALL = @INSTALL@
       -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
       -INSTALL_DATA = @INSTALL_DATA@
       -INSTALL_SCRIPT = @INSTALL_SCRIPT@
       -transform = @program_transform_name@
       -
       -NORMAL_INSTALL = :
       -PRE_INSTALL = :
       -POST_INSTALL = :
       -NORMAL_UNINSTALL = :
       -PRE_UNINSTALL = :
       -POST_UNINSTALL = :
       -host_alias = @host_alias@
       -host_triplet = @host@
       -BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
       -CATALOGS = @CATALOGS@
       -CATOBJEXT = @CATOBJEXT@
       -CC = @CC@
       -DATADIRNAME = @DATADIRNAME@
       -GENCAT = @GENCAT@
       -GLIBC21 = @GLIBC21@
       -GLIB_CFLAGS = @GLIB_CFLAGS@
       -GLIB_CONFIG = @GLIB_CONFIG@
       -GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
       -GLIB_LIBS = @GLIB_LIBS@
       -GLIB_MKENUMS = @GLIB_MKENUMS@
       -GMOFILES = @GMOFILES@
       -GMSGFMT = @GMSGFMT@
       -GOBJECT_QUERY = @GOBJECT_QUERY@
       -GTK_CFLAGS = @GTK_CFLAGS@
       -GTK_CONFIG = @GTK_CONFIG@
       -GTK_LIBS = @GTK_LIBS@
       -INSTOBJEXT = @INSTOBJEXT@
       -INTLBISON = @INTLBISON@
       -INTLLIBS = @INTLLIBS@
       -INTLOBJS = @INTLOBJS@
       -INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
       -LIBICONV = @LIBICONV@
       -MAKEINFO = @MAKEINFO@
       -MKINSTALLDIRS = @MKINSTALLDIRS@
       -MSGFMT = @MSGFMT@
       -PACKAGE = @PACKAGE@
       -PKG_CONFIG = @PKG_CONFIG@
       -POFILES = @POFILES@
       -POSUB = @POSUB@
       -RANLIB = @RANLIB@
       -USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
       -USE_NLS = @USE_NLS@
       -VERSION = @VERSION@
       -WNDRES = @WNDRES@
       -localedir = @localedir@
       -
       -noinst_LIBRARIES = libcursesclient.a
       -libcursesclient_a_SOURCES = curses_client.c curses_client.h
       -INCLUDES = -I../../intl -I${srcdir} -I${srcdir}/.. -I../.. @GLIB_CFLAGS@
       -DEFS = @DEFS@ -DLOCALEDIR=\"${localedir}\"
       -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
       -CONFIG_HEADER = ../../config.h
       -CONFIG_CLEAN_FILES = 
       -LIBRARIES =  $(noinst_LIBRARIES)
       -
       -CPPFLAGS = @CPPFLAGS@
       -LDFLAGS = @LDFLAGS@
       -LIBS = @LIBS@
       -libcursesclient_a_LIBADD = 
       -libcursesclient_a_OBJECTS =  curses_client.o
       -AR = ar
       -CFLAGS = @CFLAGS@
       -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
       -CCLD = $(CC)
       -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
       -DIST_COMMON =  Makefile.am Makefile.in
       -
       -
       -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
       -
       -TAR = gtar
       -GZIP_ENV = --best
       -DEP_FILES =  .deps/curses_client.P
       -SOURCES = $(libcursesclient_a_SOURCES)
       -OBJECTS = $(libcursesclient_a_OBJECTS)
       -
       -all: all-redirect
       -.SUFFIXES:
       -.SUFFIXES: .S .c .o .s
       -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
       -        cd $(top_srcdir) && $(AUTOMAKE) --gnu src/curses_client/Makefile
       -
       -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
       -        cd $(top_builddir) \
       -          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
       -
       -
       -mostlyclean-noinstLIBRARIES:
       -
       -clean-noinstLIBRARIES:
       -        -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
       -
       -distclean-noinstLIBRARIES:
       -
       -maintainer-clean-noinstLIBRARIES:
       -
       -.s.o:
       -        $(COMPILE) -c $<
       -
       -.S.o:
       -        $(COMPILE) -c $<
       -
       -mostlyclean-compile:
       -        -rm -f *.o core *.core
       -
       -clean-compile:
       -
       -distclean-compile:
       -        -rm -f *.tab.c
       -
       -maintainer-clean-compile:
       -
       -libcursesclient.a: $(libcursesclient_a_OBJECTS) $(libcursesclient_a_DEPENDENCIES)
       -        -rm -f libcursesclient.a
       -        $(AR) cru libcursesclient.a $(libcursesclient_a_OBJECTS) $(libcursesclient_a_LIBADD)
       -        $(RANLIB) libcursesclient.a
       -
       -tags: TAGS
       -
       -ID: $(HEADERS) $(SOURCES) $(LISP)
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        here=`pwd` && cd $(srcdir) \
       -          && mkid -f$$here/ID $$unique $(LISP)
       -
       -TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
       -        tags=; \
       -        here=`pwd`; \
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
       -          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
       -
       -mostlyclean-tags:
       -
       -clean-tags:
       -
       -distclean-tags:
       -        -rm -f TAGS ID
       -
       -maintainer-clean-tags:
       -
       -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
       -
       -subdir = src/curses_client
       -
       -distdir: $(DISTFILES)
       -        here=`cd $(top_builddir) && pwd`; \
       -        top_distdir=`cd $(top_distdir) && pwd`; \
       -        distdir=`cd $(distdir) && pwd`; \
       -        cd $(top_srcdir) \
       -          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/curses_client/Makefile
       -        @for file in $(DISTFILES); do \
       -          d=$(srcdir); \
       -          if test -d $$d/$$file; then \
       -            cp -pr $$d/$$file $(distdir)/$$file; \
       -          else \
       -            test -f $(distdir)/$$file \
       -            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
       -            || cp -p $$d/$$file $(distdir)/$$file || :; \
       -          fi; \
       -        done
       -
       -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
       -
       --include $(DEP_FILES)
       -
       -mostlyclean-depend:
       -
       -clean-depend:
       -
       -distclean-depend:
       -        -rm -rf .deps
       -
       -maintainer-clean-depend:
       -
       -%.o: %.c
       -        @echo '$(COMPILE) -c $<'; \
       -        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-cp .deps/$(*F).pp .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm .deps/$(*F).pp
       -
       -%.lo: %.c
       -        @echo '$(LTCOMPILE) -c $<'; \
       -        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-sed -e 's/^\([^:]*\)\.o[         ]*:/\1.lo \1.o :/' \
       -          < .deps/$(*F).pp > .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm -f .deps/$(*F).pp
       -info-am:
       -info: info-am
       -dvi-am:
       -dvi: dvi-am
       -check-am: all-am
       -check: check-am
       -installcheck-am:
       -installcheck: installcheck-am
       -install-exec-am:
       -install-exec: install-exec-am
       -
       -install-data-am:
       -install-data: install-data-am
       -
       -install-am: all-am
       -        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
       -install: install-am
       -uninstall-am:
       -uninstall: uninstall-am
       -all-am: Makefile $(LIBRARIES)
       -all-redirect: all-am
       -install-strip:
       -        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
       -installdirs:
       -
       -
       -mostlyclean-generic:
       -
       -clean-generic:
       -
       -distclean-generic:
       -        -rm -f Makefile $(CONFIG_CLEAN_FILES)
       -        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
       -
       -maintainer-clean-generic:
       -mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
       -                mostlyclean-tags mostlyclean-depend mostlyclean-generic
       -
       -mostlyclean: mostlyclean-am
       -
       -clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
       -                clean-generic mostlyclean-am
       -
       -clean: clean-am
       -
       -distclean-am:  distclean-noinstLIBRARIES distclean-compile \
       -                distclean-tags distclean-depend distclean-generic \
       -                clean-am
       -
       -distclean: distclean-am
       -
       -maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
       -                maintainer-clean-compile maintainer-clean-tags \
       -                maintainer-clean-depend maintainer-clean-generic \
       -                distclean-am
       -        @echo "This command is intended for maintainers to use;"
       -        @echo "it deletes files that may require special tools to rebuild."
       -
       -maintainer-clean: maintainer-clean-am
       -
       -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
       -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
       -mostlyclean-compile distclean-compile clean-compile \
       -maintainer-clean-compile tags mostlyclean-tags distclean-tags \
       -clean-tags maintainer-clean-tags distdir mostlyclean-depend \
       -distclean-depend clean-depend maintainer-clean-depend info-am info \
       -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
       -install-exec install-data-am install-data install-am install \
       -uninstall-am uninstall all-redirect all-am all installdirs \
       -mostlyclean-generic distclean-generic clean-generic \
       -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
       -
       -
       -# Tell versions [3.59,3.63) of GNU make to not export all variables.
       -# Otherwise a system limit (for SysV at least) may be exceeded.
       -.NOEXPORT:
 (DIR) diff --git a/src/cursesport/Makefile.in b/src/cursesport/Makefile.in
       t@@ -1,328 +0,0 @@
       -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
       -
       -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
       -# This Makefile.in is free software; the Free Software Foundation
       -# gives unlimited permission to copy and/or distribute it,
       -# with or without modifications, as long as this notice is preserved.
       -
       -# This program is distributed in the hope that it will be useful,
       -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
       -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
       -# PARTICULAR PURPOSE.
       -
       -
       -SHELL = @SHELL@
       -
       -srcdir = @srcdir@
       -top_srcdir = @top_srcdir@
       -VPATH = @srcdir@
       -prefix = @prefix@
       -exec_prefix = @exec_prefix@
       -
       -bindir = @bindir@
       -sbindir = @sbindir@
       -libexecdir = @libexecdir@
       -datadir = @datadir@
       -sysconfdir = @sysconfdir@
       -sharedstatedir = @sharedstatedir@
       -localstatedir = @localstatedir@
       -libdir = @libdir@
       -infodir = @infodir@
       -mandir = @mandir@
       -includedir = @includedir@
       -oldincludedir = /usr/include
       -
       -DESTDIR =
       -
       -pkgdatadir = $(datadir)/@PACKAGE@
       -pkglibdir = $(libdir)/@PACKAGE@
       -pkgincludedir = $(includedir)/@PACKAGE@
       -
       -top_builddir = ../..
       -
       -ACLOCAL = @ACLOCAL@
       -AUTOCONF = @AUTOCONF@
       -AUTOMAKE = @AUTOMAKE@
       -AUTOHEADER = @AUTOHEADER@
       -
       -INSTALL = @INSTALL@
       -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
       -INSTALL_DATA = @INSTALL_DATA@
       -INSTALL_SCRIPT = @INSTALL_SCRIPT@
       -transform = @program_transform_name@
       -
       -NORMAL_INSTALL = :
       -PRE_INSTALL = :
       -POST_INSTALL = :
       -NORMAL_UNINSTALL = :
       -PRE_UNINSTALL = :
       -POST_UNINSTALL = :
       -host_alias = @host_alias@
       -host_triplet = @host@
       -BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
       -CATALOGS = @CATALOGS@
       -CATOBJEXT = @CATOBJEXT@
       -CC = @CC@
       -DATADIRNAME = @DATADIRNAME@
       -GENCAT = @GENCAT@
       -GLIBC21 = @GLIBC21@
       -GLIB_CFLAGS = @GLIB_CFLAGS@
       -GLIB_CONFIG = @GLIB_CONFIG@
       -GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
       -GLIB_LIBS = @GLIB_LIBS@
       -GLIB_MKENUMS = @GLIB_MKENUMS@
       -GMOFILES = @GMOFILES@
       -GMSGFMT = @GMSGFMT@
       -GOBJECT_QUERY = @GOBJECT_QUERY@
       -GTK_CFLAGS = @GTK_CFLAGS@
       -GTK_CONFIG = @GTK_CONFIG@
       -GTK_LIBS = @GTK_LIBS@
       -INSTOBJEXT = @INSTOBJEXT@
       -INTLBISON = @INTLBISON@
       -INTLLIBS = @INTLLIBS@
       -INTLOBJS = @INTLOBJS@
       -INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
       -LIBICONV = @LIBICONV@
       -MAKEINFO = @MAKEINFO@
       -MKINSTALLDIRS = @MKINSTALLDIRS@
       -MSGFMT = @MSGFMT@
       -PACKAGE = @PACKAGE@
       -PKG_CONFIG = @PKG_CONFIG@
       -POFILES = @POFILES@
       -POSUB = @POSUB@
       -RANLIB = @RANLIB@
       -USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
       -USE_NLS = @USE_NLS@
       -VERSION = @VERSION@
       -WNDRES = @WNDRES@
       -localedir = @localedir@
       -
       -noinst_LIBRARIES = libcursesport.a
       -libcursesport_a_SOURCES = cursesport.c cursesport.h
       -INCLUDES = -I../../intl -I${srcdir} -I${srcdir}/.. -I../..
       -LDADD = @INTLLIBS@
       -DEFS = @DEFS@ -DLOCALEDIR=\"${localedir}\"
       -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
       -CONFIG_HEADER = ../../config.h
       -CONFIG_CLEAN_FILES = 
       -LIBRARIES =  $(noinst_LIBRARIES)
       -
       -CPPFLAGS = @CPPFLAGS@
       -LDFLAGS = @LDFLAGS@
       -LIBS = @LIBS@
       -libcursesport_a_LIBADD = 
       -libcursesport_a_OBJECTS =  cursesport.o
       -AR = ar
       -CFLAGS = @CFLAGS@
       -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
       -CCLD = $(CC)
       -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
       -DIST_COMMON =  Makefile.am Makefile.in
       -
       -
       -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
       -
       -TAR = gtar
       -GZIP_ENV = --best
       -DEP_FILES =  .deps/cursesport.P
       -SOURCES = $(libcursesport_a_SOURCES)
       -OBJECTS = $(libcursesport_a_OBJECTS)
       -
       -all: all-redirect
       -.SUFFIXES:
       -.SUFFIXES: .S .c .o .s
       -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
       -        cd $(top_srcdir) && $(AUTOMAKE) --gnu src/cursesport/Makefile
       -
       -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
       -        cd $(top_builddir) \
       -          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
       -
       -
       -mostlyclean-noinstLIBRARIES:
       -
       -clean-noinstLIBRARIES:
       -        -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
       -
       -distclean-noinstLIBRARIES:
       -
       -maintainer-clean-noinstLIBRARIES:
       -
       -.s.o:
       -        $(COMPILE) -c $<
       -
       -.S.o:
       -        $(COMPILE) -c $<
       -
       -mostlyclean-compile:
       -        -rm -f *.o core *.core
       -
       -clean-compile:
       -
       -distclean-compile:
       -        -rm -f *.tab.c
       -
       -maintainer-clean-compile:
       -
       -libcursesport.a: $(libcursesport_a_OBJECTS) $(libcursesport_a_DEPENDENCIES)
       -        -rm -f libcursesport.a
       -        $(AR) cru libcursesport.a $(libcursesport_a_OBJECTS) $(libcursesport_a_LIBADD)
       -        $(RANLIB) libcursesport.a
       -
       -tags: TAGS
       -
       -ID: $(HEADERS) $(SOURCES) $(LISP)
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        here=`pwd` && cd $(srcdir) \
       -          && mkid -f$$here/ID $$unique $(LISP)
       -
       -TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
       -        tags=; \
       -        here=`pwd`; \
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
       -          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
       -
       -mostlyclean-tags:
       -
       -clean-tags:
       -
       -distclean-tags:
       -        -rm -f TAGS ID
       -
       -maintainer-clean-tags:
       -
       -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
       -
       -subdir = src/cursesport
       -
       -distdir: $(DISTFILES)
       -        here=`cd $(top_builddir) && pwd`; \
       -        top_distdir=`cd $(top_distdir) && pwd`; \
       -        distdir=`cd $(distdir) && pwd`; \
       -        cd $(top_srcdir) \
       -          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/cursesport/Makefile
       -        @for file in $(DISTFILES); do \
       -          d=$(srcdir); \
       -          if test -d $$d/$$file; then \
       -            cp -pr $$d/$$file $(distdir)/$$file; \
       -          else \
       -            test -f $(distdir)/$$file \
       -            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
       -            || cp -p $$d/$$file $(distdir)/$$file || :; \
       -          fi; \
       -        done
       -
       -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
       -
       --include $(DEP_FILES)
       -
       -mostlyclean-depend:
       -
       -clean-depend:
       -
       -distclean-depend:
       -        -rm -rf .deps
       -
       -maintainer-clean-depend:
       -
       -%.o: %.c
       -        @echo '$(COMPILE) -c $<'; \
       -        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-cp .deps/$(*F).pp .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm .deps/$(*F).pp
       -
       -%.lo: %.c
       -        @echo '$(LTCOMPILE) -c $<'; \
       -        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-sed -e 's/^\([^:]*\)\.o[         ]*:/\1.lo \1.o :/' \
       -          < .deps/$(*F).pp > .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm -f .deps/$(*F).pp
       -info-am:
       -info: info-am
       -dvi-am:
       -dvi: dvi-am
       -check-am: all-am
       -check: check-am
       -installcheck-am:
       -installcheck: installcheck-am
       -install-exec-am:
       -install-exec: install-exec-am
       -
       -install-data-am:
       -install-data: install-data-am
       -
       -install-am: all-am
       -        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
       -install: install-am
       -uninstall-am:
       -uninstall: uninstall-am
       -all-am: Makefile $(LIBRARIES)
       -all-redirect: all-am
       -install-strip:
       -        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
       -installdirs:
       -
       -
       -mostlyclean-generic:
       -
       -clean-generic:
       -
       -distclean-generic:
       -        -rm -f Makefile $(CONFIG_CLEAN_FILES)
       -        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
       -
       -maintainer-clean-generic:
       -mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
       -                mostlyclean-tags mostlyclean-depend mostlyclean-generic
       -
       -mostlyclean: mostlyclean-am
       -
       -clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
       -                clean-generic mostlyclean-am
       -
       -clean: clean-am
       -
       -distclean-am:  distclean-noinstLIBRARIES distclean-compile \
       -                distclean-tags distclean-depend distclean-generic \
       -                clean-am
       -
       -distclean: distclean-am
       -
       -maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
       -                maintainer-clean-compile maintainer-clean-tags \
       -                maintainer-clean-depend maintainer-clean-generic \
       -                distclean-am
       -        @echo "This command is intended for maintainers to use;"
       -        @echo "it deletes files that may require special tools to rebuild."
       -
       -maintainer-clean: maintainer-clean-am
       -
       -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
       -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
       -mostlyclean-compile distclean-compile clean-compile \
       -maintainer-clean-compile tags mostlyclean-tags distclean-tags \
       -clean-tags maintainer-clean-tags distdir mostlyclean-depend \
       -distclean-depend clean-depend maintainer-clean-depend info-am info \
       -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
       -install-exec install-data-am install-data install-am install \
       -uninstall-am uninstall all-redirect all-am all installdirs \
       -mostlyclean-generic distclean-generic clean-generic \
       -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
       -
       -
       -# Tell versions [3.59,3.63) of GNU make to not export all variables.
       -# Otherwise a system limit (for SysV at least) may be exceeded.
       -.NOEXPORT:
 (DIR) diff --git a/src/gtkport/Makefile.in b/src/gtkport/Makefile.in
       t@@ -1,327 +0,0 @@
       -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
       -
       -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
       -# This Makefile.in is free software; the Free Software Foundation
       -# gives unlimited permission to copy and/or distribute it,
       -# with or without modifications, as long as this notice is preserved.
       -
       -# This program is distributed in the hope that it will be useful,
       -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
       -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
       -# PARTICULAR PURPOSE.
       -
       -
       -SHELL = @SHELL@
       -
       -srcdir = @srcdir@
       -top_srcdir = @top_srcdir@
       -VPATH = @srcdir@
       -prefix = @prefix@
       -exec_prefix = @exec_prefix@
       -
       -bindir = @bindir@
       -sbindir = @sbindir@
       -libexecdir = @libexecdir@
       -datadir = @datadir@
       -sysconfdir = @sysconfdir@
       -sharedstatedir = @sharedstatedir@
       -localstatedir = @localstatedir@
       -libdir = @libdir@
       -infodir = @infodir@
       -mandir = @mandir@
       -includedir = @includedir@
       -oldincludedir = /usr/include
       -
       -DESTDIR =
       -
       -pkgdatadir = $(datadir)/@PACKAGE@
       -pkglibdir = $(libdir)/@PACKAGE@
       -pkgincludedir = $(includedir)/@PACKAGE@
       -
       -top_builddir = ../..
       -
       -ACLOCAL = @ACLOCAL@
       -AUTOCONF = @AUTOCONF@
       -AUTOMAKE = @AUTOMAKE@
       -AUTOHEADER = @AUTOHEADER@
       -
       -INSTALL = @INSTALL@
       -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
       -INSTALL_DATA = @INSTALL_DATA@
       -INSTALL_SCRIPT = @INSTALL_SCRIPT@
       -transform = @program_transform_name@
       -
       -NORMAL_INSTALL = :
       -PRE_INSTALL = :
       -POST_INSTALL = :
       -NORMAL_UNINSTALL = :
       -PRE_UNINSTALL = :
       -POST_UNINSTALL = :
       -host_alias = @host_alias@
       -host_triplet = @host@
       -BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
       -CATALOGS = @CATALOGS@
       -CATOBJEXT = @CATOBJEXT@
       -CC = @CC@
       -DATADIRNAME = @DATADIRNAME@
       -GENCAT = @GENCAT@
       -GLIBC21 = @GLIBC21@
       -GLIB_CFLAGS = @GLIB_CFLAGS@
       -GLIB_CONFIG = @GLIB_CONFIG@
       -GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
       -GLIB_LIBS = @GLIB_LIBS@
       -GLIB_MKENUMS = @GLIB_MKENUMS@
       -GMOFILES = @GMOFILES@
       -GMSGFMT = @GMSGFMT@
       -GOBJECT_QUERY = @GOBJECT_QUERY@
       -GTK_CFLAGS = @GTK_CFLAGS@
       -GTK_CONFIG = @GTK_CONFIG@
       -GTK_LIBS = @GTK_LIBS@
       -INSTOBJEXT = @INSTOBJEXT@
       -INTLBISON = @INTLBISON@
       -INTLLIBS = @INTLLIBS@
       -INTLOBJS = @INTLOBJS@
       -INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
       -LIBICONV = @LIBICONV@
       -MAKEINFO = @MAKEINFO@
       -MKINSTALLDIRS = @MKINSTALLDIRS@
       -MSGFMT = @MSGFMT@
       -PACKAGE = @PACKAGE@
       -PKG_CONFIG = @PKG_CONFIG@
       -POFILES = @POFILES@
       -POSUB = @POSUB@
       -RANLIB = @RANLIB@
       -USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
       -USE_NLS = @USE_NLS@
       -VERSION = @VERSION@
       -WNDRES = @WNDRES@
       -localedir = @localedir@
       -
       -noinst_LIBRARIES = libgtkport.a
       -libgtkport_a_SOURCES = gtkport.c gtkport.h clist.c clist.h
       -INCLUDES = -I../../intl -I${srcdir} -I${srcdir}/.. -I../.. @GTK_CFLAGS@
       -DEFS = @DEFS@ -DLOCALEDIR=\"${localedir}\"
       -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
       -CONFIG_HEADER = ../../config.h
       -CONFIG_CLEAN_FILES = 
       -LIBRARIES =  $(noinst_LIBRARIES)
       -
       -CPPFLAGS = @CPPFLAGS@
       -LDFLAGS = @LDFLAGS@
       -LIBS = @LIBS@
       -libgtkport_a_LIBADD = 
       -libgtkport_a_OBJECTS =  gtkport.o clist.o
       -AR = ar
       -CFLAGS = @CFLAGS@
       -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
       -CCLD = $(CC)
       -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
       -DIST_COMMON =  Makefile.am Makefile.in
       -
       -
       -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
       -
       -TAR = gtar
       -GZIP_ENV = --best
       -DEP_FILES =  .deps/clist.P .deps/gtkport.P
       -SOURCES = $(libgtkport_a_SOURCES)
       -OBJECTS = $(libgtkport_a_OBJECTS)
       -
       -all: all-redirect
       -.SUFFIXES:
       -.SUFFIXES: .S .c .o .s
       -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
       -        cd $(top_srcdir) && $(AUTOMAKE) --gnu src/gtkport/Makefile
       -
       -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
       -        cd $(top_builddir) \
       -          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
       -
       -
       -mostlyclean-noinstLIBRARIES:
       -
       -clean-noinstLIBRARIES:
       -        -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
       -
       -distclean-noinstLIBRARIES:
       -
       -maintainer-clean-noinstLIBRARIES:
       -
       -.s.o:
       -        $(COMPILE) -c $<
       -
       -.S.o:
       -        $(COMPILE) -c $<
       -
       -mostlyclean-compile:
       -        -rm -f *.o core *.core
       -
       -clean-compile:
       -
       -distclean-compile:
       -        -rm -f *.tab.c
       -
       -maintainer-clean-compile:
       -
       -libgtkport.a: $(libgtkport_a_OBJECTS) $(libgtkport_a_DEPENDENCIES)
       -        -rm -f libgtkport.a
       -        $(AR) cru libgtkport.a $(libgtkport_a_OBJECTS) $(libgtkport_a_LIBADD)
       -        $(RANLIB) libgtkport.a
       -
       -tags: TAGS
       -
       -ID: $(HEADERS) $(SOURCES) $(LISP)
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        here=`pwd` && cd $(srcdir) \
       -          && mkid -f$$here/ID $$unique $(LISP)
       -
       -TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
       -        tags=; \
       -        here=`pwd`; \
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
       -          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
       -
       -mostlyclean-tags:
       -
       -clean-tags:
       -
       -distclean-tags:
       -        -rm -f TAGS ID
       -
       -maintainer-clean-tags:
       -
       -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
       -
       -subdir = src/gtkport
       -
       -distdir: $(DISTFILES)
       -        here=`cd $(top_builddir) && pwd`; \
       -        top_distdir=`cd $(top_distdir) && pwd`; \
       -        distdir=`cd $(distdir) && pwd`; \
       -        cd $(top_srcdir) \
       -          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/gtkport/Makefile
       -        @for file in $(DISTFILES); do \
       -          d=$(srcdir); \
       -          if test -d $$d/$$file; then \
       -            cp -pr $$d/$$file $(distdir)/$$file; \
       -          else \
       -            test -f $(distdir)/$$file \
       -            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
       -            || cp -p $$d/$$file $(distdir)/$$file || :; \
       -          fi; \
       -        done
       -
       -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
       -
       --include $(DEP_FILES)
       -
       -mostlyclean-depend:
       -
       -clean-depend:
       -
       -distclean-depend:
       -        -rm -rf .deps
       -
       -maintainer-clean-depend:
       -
       -%.o: %.c
       -        @echo '$(COMPILE) -c $<'; \
       -        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-cp .deps/$(*F).pp .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm .deps/$(*F).pp
       -
       -%.lo: %.c
       -        @echo '$(LTCOMPILE) -c $<'; \
       -        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-sed -e 's/^\([^:]*\)\.o[         ]*:/\1.lo \1.o :/' \
       -          < .deps/$(*F).pp > .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm -f .deps/$(*F).pp
       -info-am:
       -info: info-am
       -dvi-am:
       -dvi: dvi-am
       -check-am: all-am
       -check: check-am
       -installcheck-am:
       -installcheck: installcheck-am
       -install-exec-am:
       -install-exec: install-exec-am
       -
       -install-data-am:
       -install-data: install-data-am
       -
       -install-am: all-am
       -        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
       -install: install-am
       -uninstall-am:
       -uninstall: uninstall-am
       -all-am: Makefile $(LIBRARIES)
       -all-redirect: all-am
       -install-strip:
       -        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
       -installdirs:
       -
       -
       -mostlyclean-generic:
       -
       -clean-generic:
       -
       -distclean-generic:
       -        -rm -f Makefile $(CONFIG_CLEAN_FILES)
       -        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
       -
       -maintainer-clean-generic:
       -mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
       -                mostlyclean-tags mostlyclean-depend mostlyclean-generic
       -
       -mostlyclean: mostlyclean-am
       -
       -clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
       -                clean-generic mostlyclean-am
       -
       -clean: clean-am
       -
       -distclean-am:  distclean-noinstLIBRARIES distclean-compile \
       -                distclean-tags distclean-depend distclean-generic \
       -                clean-am
       -
       -distclean: distclean-am
       -
       -maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
       -                maintainer-clean-compile maintainer-clean-tags \
       -                maintainer-clean-depend maintainer-clean-generic \
       -                distclean-am
       -        @echo "This command is intended for maintainers to use;"
       -        @echo "it deletes files that may require special tools to rebuild."
       -
       -maintainer-clean: maintainer-clean-am
       -
       -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
       -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
       -mostlyclean-compile distclean-compile clean-compile \
       -maintainer-clean-compile tags mostlyclean-tags distclean-tags \
       -clean-tags maintainer-clean-tags distdir mostlyclean-depend \
       -distclean-depend clean-depend maintainer-clean-depend info-am info \
       -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
       -install-exec install-data-am install-data install-am install \
       -uninstall-am uninstall all-redirect all-am all installdirs \
       -mostlyclean-generic distclean-generic clean-generic \
       -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
       -
       -
       -# Tell versions [3.59,3.63) of GNU make to not export all variables.
       -# Otherwise a system limit (for SysV at least) may be exceeded.
       -.NOEXPORT:
 (DIR) diff --git a/src/gtkport/gtkport.h b/src/gtkport/gtkport.h
       t@@ -781,6 +781,7 @@ void gtk_container_set_size(GtkWidget *widget, GtkAllocation *allocation);
        #else /* CYGWIN */
        
        /* Include standard GTK+ headers on Unix systems */
       +#define GTK_DISABLE_DEPRECATED 1
        #include <gtk/gtk.h>
        #include <gdk/gdkkeysyms.h>
        
 (DIR) diff --git a/src/gui_client/Makefile.in b/src/gui_client/Makefile.in
       t@@ -1,330 +0,0 @@
       -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
       -
       -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
       -# This Makefile.in is free software; the Free Software Foundation
       -# gives unlimited permission to copy and/or distribute it,
       -# with or without modifications, as long as this notice is preserved.
       -
       -# This program is distributed in the hope that it will be useful,
       -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
       -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
       -# PARTICULAR PURPOSE.
       -
       -
       -SHELL = @SHELL@
       -
       -srcdir = @srcdir@
       -top_srcdir = @top_srcdir@
       -VPATH = @srcdir@
       -prefix = @prefix@
       -exec_prefix = @exec_prefix@
       -
       -bindir = @bindir@
       -sbindir = @sbindir@
       -libexecdir = @libexecdir@
       -datadir = @datadir@
       -sysconfdir = @sysconfdir@
       -sharedstatedir = @sharedstatedir@
       -localstatedir = @localstatedir@
       -libdir = @libdir@
       -infodir = @infodir@
       -mandir = @mandir@
       -includedir = @includedir@
       -oldincludedir = /usr/include
       -
       -DESTDIR =
       -
       -pkgdatadir = $(datadir)/@PACKAGE@
       -pkglibdir = $(libdir)/@PACKAGE@
       -pkgincludedir = $(includedir)/@PACKAGE@
       -
       -top_builddir = ../..
       -
       -ACLOCAL = @ACLOCAL@
       -AUTOCONF = @AUTOCONF@
       -AUTOMAKE = @AUTOMAKE@
       -AUTOHEADER = @AUTOHEADER@
       -
       -INSTALL = @INSTALL@
       -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
       -INSTALL_DATA = @INSTALL_DATA@
       -INSTALL_SCRIPT = @INSTALL_SCRIPT@
       -transform = @program_transform_name@
       -
       -NORMAL_INSTALL = :
       -PRE_INSTALL = :
       -POST_INSTALL = :
       -NORMAL_UNINSTALL = :
       -PRE_UNINSTALL = :
       -POST_UNINSTALL = :
       -host_alias = @host_alias@
       -host_triplet = @host@
       -BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
       -CATALOGS = @CATALOGS@
       -CATOBJEXT = @CATOBJEXT@
       -CC = @CC@
       -DATADIRNAME = @DATADIRNAME@
       -GENCAT = @GENCAT@
       -GLIBC21 = @GLIBC21@
       -GLIB_CFLAGS = @GLIB_CFLAGS@
       -GLIB_CONFIG = @GLIB_CONFIG@
       -GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
       -GLIB_LIBS = @GLIB_LIBS@
       -GLIB_MKENUMS = @GLIB_MKENUMS@
       -GMOFILES = @GMOFILES@
       -GMSGFMT = @GMSGFMT@
       -GOBJECT_QUERY = @GOBJECT_QUERY@
       -GTK_CFLAGS = @GTK_CFLAGS@
       -GTK_CONFIG = @GTK_CONFIG@
       -GTK_LIBS = @GTK_LIBS@
       -INSTOBJEXT = @INSTOBJEXT@
       -INTLBISON = @INTLBISON@
       -INTLLIBS = @INTLLIBS@
       -INTLOBJS = @INTLOBJS@
       -INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
       -LIBICONV = @LIBICONV@
       -MAKEINFO = @MAKEINFO@
       -MKINSTALLDIRS = @MKINSTALLDIRS@
       -MSGFMT = @MSGFMT@
       -PACKAGE = @PACKAGE@
       -PKG_CONFIG = @PKG_CONFIG@
       -POFILES = @POFILES@
       -POSUB = @POSUB@
       -RANLIB = @RANLIB@
       -USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
       -USE_NLS = @USE_NLS@
       -VERSION = @VERSION@
       -WNDRES = @WNDRES@
       -localedir = @localedir@
       -
       -noinst_LIBRARIES = libguiclient.a
       -libguiclient_a_SOURCES = gtk_client.c gtk_client.h \
       -                         optdialog.c optdialog.h \
       -                         newgamedia.c newgamedia.h dopewars-pill.xpm
       -
       -INCLUDES = -I../../intl -I${srcdir} -I${srcdir}/.. -I../.. @GTK_CFLAGS@
       -DEFS = @DEFS@ -DLOCALEDIR=\"${localedir}\"
       -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
       -CONFIG_HEADER = ../../config.h
       -CONFIG_CLEAN_FILES = 
       -LIBRARIES =  $(noinst_LIBRARIES)
       -
       -CPPFLAGS = @CPPFLAGS@
       -LDFLAGS = @LDFLAGS@
       -LIBS = @LIBS@
       -libguiclient_a_LIBADD = 
       -libguiclient_a_OBJECTS =  gtk_client.o optdialog.o newgamedia.o
       -AR = ar
       -CFLAGS = @CFLAGS@
       -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
       -CCLD = $(CC)
       -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
       -DIST_COMMON =  Makefile.am Makefile.in
       -
       -
       -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
       -
       -TAR = gtar
       -GZIP_ENV = --best
       -DEP_FILES =  .deps/gtk_client.P .deps/newgamedia.P .deps/optdialog.P
       -SOURCES = $(libguiclient_a_SOURCES)
       -OBJECTS = $(libguiclient_a_OBJECTS)
       -
       -all: all-redirect
       -.SUFFIXES:
       -.SUFFIXES: .S .c .o .s
       -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
       -        cd $(top_srcdir) && $(AUTOMAKE) --gnu src/gui_client/Makefile
       -
       -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
       -        cd $(top_builddir) \
       -          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
       -
       -
       -mostlyclean-noinstLIBRARIES:
       -
       -clean-noinstLIBRARIES:
       -        -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
       -
       -distclean-noinstLIBRARIES:
       -
       -maintainer-clean-noinstLIBRARIES:
       -
       -.s.o:
       -        $(COMPILE) -c $<
       -
       -.S.o:
       -        $(COMPILE) -c $<
       -
       -mostlyclean-compile:
       -        -rm -f *.o core *.core
       -
       -clean-compile:
       -
       -distclean-compile:
       -        -rm -f *.tab.c
       -
       -maintainer-clean-compile:
       -
       -libguiclient.a: $(libguiclient_a_OBJECTS) $(libguiclient_a_DEPENDENCIES)
       -        -rm -f libguiclient.a
       -        $(AR) cru libguiclient.a $(libguiclient_a_OBJECTS) $(libguiclient_a_LIBADD)
       -        $(RANLIB) libguiclient.a
       -
       -tags: TAGS
       -
       -ID: $(HEADERS) $(SOURCES) $(LISP)
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        here=`pwd` && cd $(srcdir) \
       -          && mkid -f$$here/ID $$unique $(LISP)
       -
       -TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
       -        tags=; \
       -        here=`pwd`; \
       -        list='$(SOURCES) $(HEADERS)'; \
       -        unique=`for i in $$list; do echo $$i; done | \
       -          awk '    { files[$$0] = 1; } \
       -               END { for (i in files) print i; }'`; \
       -        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
       -          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
       -
       -mostlyclean-tags:
       -
       -clean-tags:
       -
       -distclean-tags:
       -        -rm -f TAGS ID
       -
       -maintainer-clean-tags:
       -
       -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
       -
       -subdir = src/gui_client
       -
       -distdir: $(DISTFILES)
       -        here=`cd $(top_builddir) && pwd`; \
       -        top_distdir=`cd $(top_distdir) && pwd`; \
       -        distdir=`cd $(distdir) && pwd`; \
       -        cd $(top_srcdir) \
       -          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/gui_client/Makefile
       -        @for file in $(DISTFILES); do \
       -          d=$(srcdir); \
       -          if test -d $$d/$$file; then \
       -            cp -pr $$d/$$file $(distdir)/$$file; \
       -          else \
       -            test -f $(distdir)/$$file \
       -            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
       -            || cp -p $$d/$$file $(distdir)/$$file || :; \
       -          fi; \
       -        done
       -
       -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
       -
       --include $(DEP_FILES)
       -
       -mostlyclean-depend:
       -
       -clean-depend:
       -
       -distclean-depend:
       -        -rm -rf .deps
       -
       -maintainer-clean-depend:
       -
       -%.o: %.c
       -        @echo '$(COMPILE) -c $<'; \
       -        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-cp .deps/$(*F).pp .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm .deps/$(*F).pp
       -
       -%.lo: %.c
       -        @echo '$(LTCOMPILE) -c $<'; \
       -        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
       -        @-sed -e 's/^\([^:]*\)\.o[         ]*:/\1.lo \1.o :/' \
       -          < .deps/$(*F).pp > .deps/$(*F).P; \
       -        tr ' ' '\012' < .deps/$(*F).pp \
       -          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
       -            >> .deps/$(*F).P; \
       -        rm -f .deps/$(*F).pp
       -info-am:
       -info: info-am
       -dvi-am:
       -dvi: dvi-am
       -check-am: all-am
       -check: check-am
       -installcheck-am:
       -installcheck: installcheck-am
       -install-exec-am:
       -install-exec: install-exec-am
       -
       -install-data-am:
       -install-data: install-data-am
       -
       -install-am: all-am
       -        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
       -install: install-am
       -uninstall-am:
       -uninstall: uninstall-am
       -all-am: Makefile $(LIBRARIES)
       -all-redirect: all-am
       -install-strip:
       -        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
       -installdirs:
       -
       -
       -mostlyclean-generic:
       -
       -clean-generic:
       -
       -distclean-generic:
       -        -rm -f Makefile $(CONFIG_CLEAN_FILES)
       -        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
       -
       -maintainer-clean-generic:
       -mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
       -                mostlyclean-tags mostlyclean-depend mostlyclean-generic
       -
       -mostlyclean: mostlyclean-am
       -
       -clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
       -                clean-generic mostlyclean-am
       -
       -clean: clean-am
       -
       -distclean-am:  distclean-noinstLIBRARIES distclean-compile \
       -                distclean-tags distclean-depend distclean-generic \
       -                clean-am
       -
       -distclean: distclean-am
       -
       -maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
       -                maintainer-clean-compile maintainer-clean-tags \
       -                maintainer-clean-depend maintainer-clean-generic \
       -                distclean-am
       -        @echo "This command is intended for maintainers to use;"
       -        @echo "it deletes files that may require special tools to rebuild."
       -
       -maintainer-clean: maintainer-clean-am
       -
       -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
       -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
       -mostlyclean-compile distclean-compile clean-compile \
       -maintainer-clean-compile tags mostlyclean-tags distclean-tags \
       -clean-tags maintainer-clean-tags distdir mostlyclean-depend \
       -distclean-depend clean-depend maintainer-clean-depend info-am info \
       -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
       -install-exec install-data-am install-data install-am install \
       -uninstall-am uninstall all-redirect all-am all installdirs \
       -mostlyclean-generic distclean-generic clean-generic \
       -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
       -
       -
       -# Tell versions [3.59,3.63) of GNU make to not export all variables.
       -# Otherwise a system limit (for SysV at least) may be exceeded.
       -.NOEXPORT: