Index: xaric/ChangeLog
diff -u xaric/ChangeLog:1.1.1.3 LAEOS/xaric/ChangeLog:1.2
--- xaric/ChangeLog:1.1.1.3	Wed Oct 20 13:33:42 1999
+++ xaric/ChangeLog	Wed Oct 20 16:02:18 1999
@@ -1,3 +1,14 @@
+Wed Oct 20 14:24:21 1999 Rex Feany <laeos@ptw.com>
+
+	* Branched off the perl stuff in the CVS tree,
+	  worry about it later
+	* Changed ctl-e to default to END_OF_LINE.
+	* added acconfig.h ... where did it go??
+	* bumped up the version to 0.9e
+	* removed the annoying dcc debug messages i left in 0.9d
+	* fixed dcc, so that stuff from mirc/pirch have the linefeeds
+	  removed (was broken before)
+
 Fri Aug 06 12:59:04 1999 Rex Feany <laeos@ptw.com>
 
 	* Added /orignick, should work like the bitchx version
@@ -5,6 +16,7 @@
 	  right now, ./configure --enable-perlinterp turns it on.
 	  the /eval command works, and I got it to stop crashing
 	  all the time.
+	* released v0.9d to the world
 
 Mon Jul 26 09:00:03 1999 Rex Feany <laeos@ptw.com>
 
Index: xaric/Makefile.am
diff -u xaric/Makefile.am:1.1.1.1 LAEOS/xaric/Makefile.am:1.2
--- xaric/Makefile.am:1.1.1.1	Wed Oct 20 13:33:42 1999
+++ xaric/Makefile.am	Wed Oct 20 16:02:18 1999
@@ -1,5 +1,5 @@
 ## Process this file with automake to create Makefile.in
 
-SUBDIRS = source include doc perl-scripts
+SUBDIRS = source include doc
 
  
Index: xaric/Makefile.in
diff -u xaric/Makefile.in:1.1.1.1 LAEOS/xaric/Makefile.in:1.2
--- xaric/Makefile.in:1.1.1.1	Wed Oct 20 13:33:42 1999
+++ xaric/Makefile.in	Wed Oct 20 16:02:18 1999
@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.3 from Makefile.am
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 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.
@@ -11,7 +11,7 @@
 # PARTICULAR PURPOSE.
 
 
-SHELL = /bin/sh
+SHELL = @SHELL@
 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
@@ -32,7 +32,7 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DISTDIR =
+DESTDIR =
 
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -46,7 +46,7 @@
 AUTOHEADER = @AUTOHEADER@
 
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 transform = @program_transform_name@
@@ -63,46 +63,68 @@
 LDFLAGS = @LDFLAGS@
 MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
-PERL_CFLAGS = @PERL_CFLAGS@
-PERL_OBJ = @PERL_OBJ@
-PERL_SRC = @PERL_SRC@
 VERSION = @VERSION@
-path_perl = @path_perl@
-perllibs = @perllibs@
-theperllib = @theperllib@
 
-SUBDIRS = source include doc perl-scripts
+SUBDIRS = source include doc
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ./include/config.h
 CONFIG_CLEAN_FILES = 
 DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
-Makefile.in NEWS TODO aclocal.m4 config.guess config.sub configure \
-configure.in install-sh missing mkinstalldirs
+Makefile.in NEWS TODO acconfig.h aclocal.m4 config.guess config.sub \
+configure configure.in include/config.h.in include/stamp-h.in \
+install-sh missing mkinstalldirs
 
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
 TAR = tar
-GZIP = --best
-all: all-recursive all-am
-
+GZIP_ENV = --best
+all: all-redirect
 .SUFFIXES:
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
+$(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
+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: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 	$(SHELL) ./config.status --recheck
 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
 	cd $(srcdir) && $(AUTOCONF)
 
+include/config.h: include/stamp-h
+	@if test ! -f $@; then \
+		rm -f include/stamp-h; \
+		$(MAKE) include/stamp-h; \
+	else :; fi
+include/stamp-h: $(srcdir)/include/config.h.in $(top_builddir)/config.status
+	cd $(top_builddir) \
+	  && CONFIG_FILES= CONFIG_HEADERS=include/config.h \
+	     $(SHELL) ./config.status
+	@echo timestamp > include/stamp-h 2> /dev/null
+$(srcdir)/include/config.h.in: $(srcdir)/include/stamp-h.in
+	@if test ! -f $@; then \
+		rm -f $(srcdir)/include/stamp-h.in; \
+		$(MAKE) $(srcdir)/include/stamp-h.in; \
+	else :; fi
+$(srcdir)/include/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
+	cd $(top_srcdir) && $(AUTOHEADER)
+	@echo timestamp > $(srcdir)/include/stamp-h.in 2> /dev/null
+
+mostlyclean-hdr:
+
+clean-hdr:
+
+distclean-hdr:
+	-rm -f include/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,
@@ -116,41 +138,65 @@
 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 \
-	  target=`echo $@ | sed s/-recursive//`; \
 	  echo "Making $$target in $$subdir"; \
-	  (cd $$subdir && $(MAKE) $$target) \
+	  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 && test -z "$$fail"
+	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 \
-	  target=`echo $@ | sed s/-recursive//`; \
 	  echo "Making $$target in $$subdir"; \
-	  (cd $$subdir && $(MAKE) $$target) \
+	  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 \
-	  (cd $$subdir && $(MAKE) tags); \
+	  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 $(SOURCES) $(HEADERS) $(LISP)
+	  && mkid -f$$here/ID $$unique $(LISP)
 
 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
 	tags=; \
 	here=`pwd`; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+   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 | \
@@ -176,114 +222,128 @@
 # tarfile.
 distcheck: dist
 	-rm -rf $(distdir)
-	GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
+	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 --srcdir=.. --prefix=$$dc_install_base \
-	  && $(MAKE) \
-	  && $(MAKE) dvi \
-	  && $(MAKE) check \
-	  && $(MAKE) install \
-	  && $(MAKE) installcheck \
-	  && $(MAKE) dist
+	  && $(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)
-	@echo "========================"; \
-	echo "$(distdir).tar.gz is ready for distribution"; \
-	echo "========================"
+	@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) $(TAR) chozf $(distdir).tar.gz $(distdir)
+	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
 	-rm -rf $(distdir)
 dist-all: distdir
 	-chmod -R a+r $(distdir)
-	GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(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
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
-	  test -f $(distdir)/$$file \
-	  || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
-	  || cp -p $$d/$$file $(distdir)/$$file; \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$/$$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 \
-	  test -d $(distdir)/$$subdir \
-	  || mkdir $(distdir)/$$subdir \
-	  || exit 1; \
-	  chmod 777 $(distdir)/$$subdir; \
-	  (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
+	  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: all-am
-	$(MAKE) check-recursive
+check-am: all-am
+check: check-recursive
+installcheck-am:
 installcheck: installcheck-recursive
-all-am: Makefile
-
+install-exec-am:
 install-exec: install-exec-recursive
-	@$(NORMAL_INSTALL)
 
+install-data-am:
 install-data: install-data-recursive
-	@$(NORMAL_INSTALL)
 
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 install: install-recursive
-	@:
-
+uninstall-am:
 uninstall: uninstall-recursive
-
+all-am: Makefile
+all-redirect: all-recursive
 install-strip:
-	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
 installdirs: installdirs-recursive
+installdirs-am:
 
 
 mostlyclean-generic:
-	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
 clean-generic:
-	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f Makefile $(DISTCLEANFILES)
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
 	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
-	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
-	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
+mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic
 
-clean-am:  clean-tags clean-generic mostlyclean-am
+mostlyclean: mostlyclean-recursive
 
-distclean-am:  distclean-tags distclean-generic clean-am
+clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am
 
-maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
-		distclean-am
+clean: clean-recursive
 
-mostlyclean:  mostlyclean-recursive mostlyclean-am
+distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am
 
-clean:  clean-recursive clean-am
-
-distclean:  distclean-recursive distclean-am
+distclean: distclean-recursive
 	-rm -f config.status
 
-maintainer-clean:  maintainer-clean-recursive maintainer-clean-am
+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: 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 \
+.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 dvi \
-installcheck all-am install-exec install-data install uninstall all \
+distclean-tags clean-tags maintainer-clean-tags distdir 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-am \
 installdirs mostlyclean-generic distclean-generic clean-generic \
 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
Index: xaric/acconfig.h
diff -u /dev/null xaric/acconfig.h:1.2
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/acconfig.h	Wed Oct 20 16:07:16 1999
@@ -0,0 +1,23 @@
+#undef	HAVE_FPATHCONF
+#undef	HAVE_GETPASS
+#undef	HAVE_GETPGID
+#undef	HAVE_GETTIMEOFDAY
+#undef	HAVE_KILLPG
+#undef	HAVE_PTHREADS
+#undef	HAVE_SETENV
+#undef	HAVE_SNPRINTF
+#undef	HAVE_STRERROR
+#undef	HAVE_SUN_LEN
+#undef	HAVE_SYSCONF
+#undef	HAVE_UNAME
+#undef	HAVE_VSNPRINTF
+#undef	NEED_STRTOUL
+#undef	NO_STRUCT_LINGER
+#undef	SYS_ERRLIST_DECLARED
+#undef	UNKNOWN_32INT
+#undef	UNSIGNED_INT32
+#undef	UNSIGNED_LONG32
+#undef	USING_CURSES
+#undef	PACKAGE
+#undef	VERSION
+
Index: xaric/aclocal.m4
diff -u xaric/aclocal.m4:1.1.1.1 LAEOS/xaric/aclocal.m4:1.2
--- xaric/aclocal.m4:1.1.1.1	Wed Oct 20 13:33:42 1999
+++ xaric/aclocal.m4	Wed Oct 20 16:02:18 1999
@@ -1,7 +1,7 @@
-dnl aclocal.m4 generated automatically by aclocal 1.3
+dnl aclocal.m4 generated automatically by aclocal 1.4
 
-dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
-dnl This Makefile.in is free software; the Free Software Foundation
+dnl Copyright (C) 1994, 1995-8, 1999 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.
 
@@ -20,7 +20,7 @@
 dnl AM_INIT_AUTOMAKE(package,version, [no-define])
 
 AC_DEFUN(AM_INIT_AUTOMAKE,
-[AC_REQUIRE([AM_PROG_INSTALL])
+[AC_REQUIRE([AC_PROG_INSTALL])
 PACKAGE=[$1]
 AC_SUBST(PACKAGE)
 VERSION=[$2]
@@ -30,8 +30,8 @@
   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 fi
 ifelse([$3],,
-AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
-AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
+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.
@@ -42,15 +42,6 @@
 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
 AC_REQUIRE([AC_PROG_MAKE_SET])])
-
-
-# serial 1
-
-AC_DEFUN(AM_PROG_INSTALL,
-[AC_REQUIRE([AC_PROG_INSTALL])
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
-AC_SUBST(INSTALL_SCRIPT)dnl
-])
 
 #
 # Check to make sure that the build environment is sane.
Index: xaric/configure
diff -u xaric/configure:1.1.1.2 LAEOS/xaric/configure:1.2
--- xaric/configure:1.1.1.2	Wed Oct 20 13:33:42 1999
+++ xaric/configure	Wed Oct 20 16:02:18 1999
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.3 
+# From configure.in Revision: 1.1.1.1 
 
 
 # Do all the work for Automake.  This macro actually does too much --
@@ -12,11 +12,6 @@
 
 
 
-
-# serial 1
-
-
-
 #
 # Check to make sure that the build environment is sane.
 #
@@ -30,7 +25,7 @@
 
 
 # Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.12 
+# 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
@@ -40,8 +35,6 @@
 ac_help=
 ac_default_prefix=/usr/local
 # Any additions from configure.in:
-ac_help="$ac_help
-  --enable-perlinterp     Include Perl interpreter."
 
 # Initialize some variables set by options.
 # The variables have the same names as the options, with
@@ -80,6 +73,7 @@
 # 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
 
@@ -363,7 +357,7 @@
     verbose=yes ;;
 
   -version | --version | --versio | --versi | --vers)
-    echo "configure generated by autoconf version 2.12"
+    echo "configure generated by autoconf version 2.13"
     exit 0 ;;
 
   -with-* | --with-*)
@@ -533,9 +527,11 @@
 # 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 $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 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
@@ -584,28 +580,30 @@
 # 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:592: checking for a BSD compatible install" >&5
+echo "configure:589: 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="${IFS}:"
+    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.
-      for ac_prog in ginstall installbsd scoinst install; do
+      # 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.
-	    # OSF/1 installbsd also uses dspmsg, but is usable.
 	    :
 	  else
 	    ac_cv_path_install="$ac_dir/$ac_prog -c"
@@ -635,13 +633,12 @@
 # It thinks the first close brace ends the variable substitution.
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
 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:645: checking whether build environment is sane" >&5
+echo "configure:642: checking whether build environment is sane" >&5
 # Just in case
 sleep 1
 echo timestamp > conftestfile
@@ -698,7 +695,7 @@
 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:702: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "configure:699: 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
@@ -727,7 +724,7 @@
 
 PACKAGE=xaric
 
-VERSION=0.9d
+VERSION=0.9e
 
 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; }
@@ -744,7 +741,7 @@
 
 missing_dir=`cd $ac_aux_dir && pwd`
 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
-echo "configure:748: checking for working aclocal" >&5
+echo "configure:745: 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.
@@ -757,7 +754,7 @@
 fi
 
 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
-echo "configure:761: checking for working autoconf" >&5
+echo "configure:758: 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.
@@ -770,7 +767,7 @@
 fi
 
 echo $ac_n "checking for working automake""... $ac_c" 1>&6
-echo "configure:774: checking for working automake" >&5
+echo "configure:771: 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.
@@ -783,7 +780,7 @@
 fi
 
 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
-echo "configure:787: checking for working autoheader" >&5
+echo "configure:784: 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.
@@ -796,7 +793,7 @@
 fi
 
 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
-echo "configure:800: checking for working makeinfo" >&5
+echo "configure:797: 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.
@@ -817,15 +814,16 @@
 # 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:821: checking for $ac_word" >&5
+echo "configure:818: 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="${IFS}:"
-  for ac_dir in $PATH; do
+  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"
@@ -846,16 +844,17 @@
   # 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:850: checking for $ac_word" >&5
+echo "configure:848: 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="${IFS}:"
+  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
   ac_prog_rejected=no
-  for ac_dir in $PATH; do
+  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
@@ -890,25 +889,61 @@
   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:899: 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:898: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+echo "configure:931: 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 $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 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 908 "configure"
+cat > conftest.$ac_ext << EOF
+
+#line 942 "configure"
 #include "confdefs.h"
+
 main(){return(0);}
 EOF
-if { (eval echo configure:912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:947: \"$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
@@ -922,18 +957,24 @@
   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:932: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:973: 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:937: checking whether we are using GNU C" >&5
+echo "configure:978: 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
@@ -942,7 +983,7 @@
   yes;
 #endif
 EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:987: \"$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
@@ -953,11 +994,15 @@
 
 if test $ac_cv_prog_gcc = yes; then
   GCC=yes
-  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:961: checking whether ${CC-cc} accepts -g" >&5
+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:1006: 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
@@ -972,20 +1017,24 @@
 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 "$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="-O2"
+    CFLAGS="-g"
   fi
 else
-  GCC=
-  test "${CFLAGS+set}" = set || CFLAGS="-g"
+  if test "$GCC" = yes; then
+    CFLAGS="-O2"
+  else
+    CFLAGS=
+  fi
 fi
 
 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:989: checking how to run the C preprocessor" >&5
+echo "configure:1038: checking how to run the C preprocessor" >&5
 # On Suns, sometimes $CPP names a directory.
 if test -n "$CPP" && test -d "$CPP"; then
   CPP=
@@ -1000,14 +1049,14 @@
   # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp.
   cat > conftest.$ac_ext <<EOF
-#line 1004 "configure"
+#line 1053 "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:1010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out`
+{ (eval echo configure:1059: \"$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
@@ -1016,15 +1065,32 @@
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   CPP="${CC-cc} -E -traditional-cpp"
+  cat > conftest.$ac_ext <<EOF
+#line 1070 "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:1076: \"$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 1021 "configure"
+#line 1087 "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:1027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out`
+{ (eval echo configure:1093: \"$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
@@ -1037,6 +1103,8 @@
 rm -f conftest*
 fi
 rm -f conftest*
+fi
+rm -f conftest*
   ac_cv_prog_CPP="$CPP"
 fi
   CPP="$ac_cv_prog_CPP"
@@ -1052,28 +1120,30 @@
 # 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:1060: checking for a BSD compatible install" >&5
+echo "configure:1129: 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="${IFS}:"
+    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.
-      for ac_prog in ginstall installbsd scoinst install; do
+      # 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.
-	    # OSF/1 installbsd also uses dspmsg, but is usable.
 	    :
 	  else
 	    ac_cv_path_install="$ac_dir/$ac_prog -c"
@@ -1103,10 +1173,12 @@
 # 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 for POSIXized ISC""... $ac_c" 1>&6
-echo "configure:1110: checking for POSIXized ISC" >&5
+echo "configure:1182: checking for POSIXized ISC" >&5
 if test -d /etc/conf/kconfig.d &&
   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
 then
@@ -1127,9 +1199,9 @@
 fi
 
 echo $ac_n "checking for AIX""... $ac_c" 1>&6
-echo "configure:1131: checking for AIX" >&5
+echo "configure:1203: checking for AIX" >&5
 cat > conftest.$ac_ext <<EOF
-#line 1133 "configure"
+#line 1205 "configure"
 #include "confdefs.h"
 #ifdef _AIX
   yes
@@ -1158,7 +1230,7 @@
 
 
 echo $ac_n "checking for qnx""... $ac_c" 1>&6
-echo "configure:1162: checking for qnx" >&5
+echo "configure:1234: checking for qnx" >&5
 case "$unames" in
   QNX*)
     echo "$ac_t""yes" 1>&6
@@ -1169,7 +1241,7 @@
 
 
 echo $ac_n "checking for svr4's /usr/ccs/lib""... $ac_c" 1>&6
-echo "configure:1173: checking for svr4's /usr/ccs/lib" >&5
+echo "configure:1245: checking for svr4's /usr/ccs/lib" >&5
 if test -d /usr/ccs/lib; then
 	LIBS="-L/usr/ccs/lib $LIBS"
 	echo "$ac_t""found it!" 1>&6
@@ -1182,18 +1254,18 @@
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1186: checking for $ac_hdr" >&5
+echo "configure:1258: 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 1191 "configure"
+#line 1263 "configure"
 #include "confdefs.h"
 #include <$ac_hdr>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out`
+{ (eval echo configure:1268: \"$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"
@@ -1222,18 +1294,18 @@
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1226: checking for $ac_hdr" >&5
+echo "configure:1298: 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 1231 "configure"
+#line 1303 "configure"
 #include "confdefs.h"
 #include <$ac_hdr>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out`
+{ (eval echo configure:1308: \"$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"
@@ -1262,18 +1334,18 @@
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1266: checking for $ac_hdr" >&5
+echo "configure:1338: 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 1271 "configure"
+#line 1343 "configure"
 #include "confdefs.h"
 #include <$ac_hdr>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out`
+{ (eval echo configure:1348: \"$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"
@@ -1302,18 +1374,18 @@
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1306: checking for $ac_hdr" >&5
+echo "configure:1378: 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 1311 "configure"
+#line 1383 "configure"
 #include "confdefs.h"
 #include <$ac_hdr>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out`
+{ (eval echo configure:1388: \"$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"
@@ -1340,12 +1412,12 @@
 
 
 echo $ac_n "checking for getpass""... $ac_c" 1>&6
-echo "configure:1344: checking for getpass" >&5
+echo "configure:1416: checking for getpass" >&5
 if eval "test \"`echo '$''{'ac_cv_func_getpass'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1349 "configure"
+#line 1421 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char getpass(); below.  */
@@ -1368,7 +1440,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_getpass=yes"
 else
@@ -1391,12 +1463,12 @@
 fi
 
 echo $ac_n "checking for fpathconf""... $ac_c" 1>&6
-echo "configure:1395: checking for fpathconf" >&5
+echo "configure:1467: checking for fpathconf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_fpathconf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1400 "configure"
+#line 1472 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char fpathconf(); below.  */
@@ -1419,7 +1491,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_fpathconf=yes"
 else
@@ -1442,12 +1514,12 @@
 fi
 
 echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
-echo "configure:1446: checking for gettimeofday" >&5
+echo "configure:1518: checking for gettimeofday" >&5
 if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1451 "configure"
+#line 1523 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char gettimeofday(); below.  */
@@ -1470,7 +1542,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_gettimeofday=yes"
 else
@@ -1493,12 +1565,12 @@
 fi
 
 echo $ac_n "checking for strtoul""... $ac_c" 1>&6
-echo "configure:1497: checking for strtoul" >&5
+echo "configure:1569: checking for strtoul" >&5
 if eval "test \"`echo '$''{'ac_cv_func_strtoul'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1502 "configure"
+#line 1574 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char strtoul(); below.  */
@@ -1521,7 +1593,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_strtoul=yes"
 else
@@ -1545,12 +1617,12 @@
 fi
 
 echo $ac_n "checking for sysconf""... $ac_c" 1>&6
-echo "configure:1549: checking for sysconf" >&5
+echo "configure:1621: checking for sysconf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_sysconf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1554 "configure"
+#line 1626 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char sysconf(); below.  */
@@ -1573,7 +1645,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_sysconf=yes"
 else
@@ -1596,12 +1668,12 @@
 fi
 
 echo $ac_n "checking for uname""... $ac_c" 1>&6
-echo "configure:1600: checking for uname" >&5
+echo "configure:1672: checking for uname" >&5
 if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1605 "configure"
+#line 1677 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char uname(); below.  */
@@ -1624,7 +1696,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_uname=yes"
 else
@@ -1647,12 +1719,12 @@
 fi
 
 echo $ac_n "checking for snprintf""... $ac_c" 1>&6
-echo "configure:1651: checking for snprintf" >&5
+echo "configure:1723: checking for snprintf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1656 "configure"
+#line 1728 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char snprintf(); below.  */
@@ -1675,7 +1747,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_snprintf=yes"
 else
@@ -1698,12 +1770,12 @@
 fi
 
 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
-echo "configure:1702: checking for vsnprintf" >&5
+echo "configure:1774: checking for vsnprintf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1707 "configure"
+#line 1779 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char vsnprintf(); below.  */
@@ -1726,7 +1798,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_vsnprintf=yes"
 else
@@ -1749,12 +1821,12 @@
 fi
 
 echo $ac_n "checking for killpg""... $ac_c" 1>&6
-echo "configure:1753: checking for killpg" >&5
+echo "configure:1825: checking for killpg" >&5
 if eval "test \"`echo '$''{'ac_cv_func_killpg'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1758 "configure"
+#line 1830 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char killpg(); below.  */
@@ -1777,7 +1849,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_killpg=yes"
 else
@@ -1800,12 +1872,12 @@
 fi
 
 echo $ac_n "checking for setenv""... $ac_c" 1>&6
-echo "configure:1804: checking for setenv" >&5
+echo "configure:1876: checking for setenv" >&5
 if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1809 "configure"
+#line 1881 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char setenv(); below.  */
@@ -1828,7 +1900,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:1832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_setenv=yes"
 else
@@ -1852,12 +1924,12 @@
 
 
 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
-echo "configure:1856: checking for ANSI C header files" >&5
+echo "configure:1928: 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 1861 "configure"
+#line 1933 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 #include <stdarg.h>
@@ -1865,8 +1937,8 @@
 #include <float.h>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out`
+{ (eval echo configure:1941: \"$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
@@ -1882,7 +1954,7 @@
 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 1886 "configure"
+#line 1958 "configure"
 #include "confdefs.h"
 #include <string.h>
 EOF
@@ -1900,7 +1972,7 @@
 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 1904 "configure"
+#line 1976 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 EOF
@@ -1921,7 +1993,7 @@
   :
 else
   cat > conftest.$ac_ext <<EOF
-#line 1925 "configure"
+#line 1997 "configure"
 #include "confdefs.h"
 #include <ctype.h>
 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -1932,7 +2004,7 @@
 exit (0); }
 
 EOF
-if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   :
 else
@@ -1956,12 +2028,12 @@
 fi
 
 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
-echo "configure:1960: checking whether time.h and sys/time.h may both be included" >&5
+echo "configure:2032: 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 1965 "configure"
+#line 2037 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/time.h>
@@ -1970,7 +2042,7 @@
 struct tm *tp;
 ; return 0; }
 EOF
-if { (eval echo configure:1974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_header_time=yes
 else
@@ -1995,12 +2067,12 @@
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
-echo "configure:1999: checking for $ac_hdr that defines DIR" >&5
+echo "configure:2071: checking for $ac_hdr that defines DIR" >&5
 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2004 "configure"
+#line 2076 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <$ac_hdr>
@@ -2008,7 +2080,7 @@
 DIR *dirp = 0;
 ; return 0; }
 EOF
-if { (eval echo configure:2012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   eval "ac_cv_header_dirent_$ac_safe=yes"
 else
@@ -2033,7 +2105,7 @@
 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 if test $ac_header_dirent = dirent.h; then
 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
-echo "configure:2037: checking for opendir in -ldir" >&5
+echo "configure:2109: checking for opendir in -ldir" >&5
 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2041,7 +2113,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-ldir  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2045 "configure"
+#line 2117 "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
@@ -2052,7 +2124,7 @@
 opendir()
 ; return 0; }
 EOF
-if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2128: \"$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
@@ -2074,7 +2146,7 @@
 
 else
 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
-echo "configure:2078: checking for opendir in -lx" >&5
+echo "configure:2150: checking for opendir in -lx" >&5
 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2082,7 +2154,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lx  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2086 "configure"
+#line 2158 "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
@@ -2093,7 +2165,7 @@
 opendir()
 ; return 0; }
 EOF
-if { (eval echo configure:2097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2169: \"$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
@@ -2116,12 +2188,12 @@
 fi
 
 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
-echo "configure:2120: checking return type of signal handlers" >&5
+echo "configure:2192: checking return type of signal handlers" >&5
 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2125 "configure"
+#line 2197 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <signal.h>
@@ -2138,7 +2210,7 @@
 int i;
 ; return 0; }
 EOF
-if { (eval echo configure:2142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_type_signal=void
 else
@@ -2157,12 +2229,12 @@
 
 
 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
-echo "configure:2161: checking for mode_t" >&5
+echo "configure:2233: checking for mode_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2166 "configure"
+#line 2238 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if STDC_HEADERS
@@ -2171,7 +2243,7 @@
 #endif
 EOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+  egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
   rm -rf conftest*
   ac_cv_type_mode_t=yes
 else
@@ -2190,12 +2262,12 @@
 fi
 
 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
-echo "configure:2194: checking for pid_t" >&5
+echo "configure:2266: checking for pid_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2199 "configure"
+#line 2271 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if STDC_HEADERS
@@ -2204,7 +2276,7 @@
 #endif
 EOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+  egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
   rm -rf conftest*
   ac_cv_type_pid_t=yes
 else
@@ -2223,12 +2295,12 @@
 fi
 
 echo $ac_n "checking for size_t""... $ac_c" 1>&6
-echo "configure:2227: checking for size_t" >&5
+echo "configure:2299: 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 2232 "configure"
+#line 2304 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if STDC_HEADERS
@@ -2237,7 +2309,7 @@
 #endif
 EOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+  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
@@ -2256,12 +2328,12 @@
 fi
 
 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:2260: checking for uid_t in sys/types.h" >&5
+echo "configure:2332: checking for uid_t in sys/types.h" >&5
 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2265 "configure"
+#line 2337 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 EOF
@@ -2292,9 +2364,9 @@
 
 
 echo $ac_n "checking for struct linger""... $ac_c" 1>&6
-echo "configure:2296: checking for struct linger" >&5
+echo "configure:2368: checking for struct linger" >&5
 cat > conftest.$ac_ext <<EOF
-#line 2298 "configure"
+#line 2370 "configure"
 #include "confdefs.h"
 #include <sys/socket.h>
 EOF
@@ -2314,9 +2386,9 @@
 
 
 echo $ac_n "checking for sun_len in <sys/un.h>""... $ac_c" 1>&6
-echo "configure:2318: checking for sun_len in <sys/un.h>" >&5
+echo "configure:2390: checking for sun_len in <sys/un.h>" >&5
 cat > conftest.$ac_ext <<EOF
-#line 2320 "configure"
+#line 2392 "configure"
 #include "confdefs.h"
 
 #include <sys/un.h>
@@ -2339,12 +2411,12 @@
 
 
 echo $ac_n "checking for getpgid""... $ac_c" 1>&6
-echo "configure:2343: checking for getpgid" >&5
+echo "configure:2415: checking for getpgid" >&5
 if eval "test \"`echo '$''{'ac_cv_func_getpgid'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2348 "configure"
+#line 2420 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char getpgid(); below.  */
@@ -2367,7 +2439,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_getpgid=yes"
 else
@@ -2390,12 +2462,12 @@
 fi
 
 echo $ac_n "checking for getpgrp""... $ac_c" 1>&6
-echo "configure:2394: checking for getpgrp" >&5
+echo "configure:2466: checking for getpgrp" >&5
 if eval "test \"`echo '$''{'ac_cv_func_getpgrp'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2399 "configure"
+#line 2471 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char getpgrp(); below.  */
@@ -2418,7 +2490,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:2422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_getpgrp=yes"
 else
@@ -2433,7 +2505,7 @@
 if eval "test \"`echo '$ac_cv_func_'getpgrp`\" = yes"; then
   echo "$ac_t""yes" 1>&6
   echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
-echo "configure:2437: checking whether getpgrp takes no argument" >&5
+echo "configure:2509: checking whether getpgrp takes no argument" >&5
 if eval "test \"`echo '$''{'ac_cv_func_getpgrp_void'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -2441,7 +2513,7 @@
   { echo "configure: error: cannot check getpgrp if cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 2445 "configure"
+#line 2517 "configure"
 #include "confdefs.h"
 
 /*
@@ -2496,7 +2568,7 @@
 }
 
 EOF
-if { (eval echo configure:2500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_func_getpgrp_void=yes
 else
@@ -2526,12 +2598,12 @@
 
 
 echo $ac_n "checking for select""... $ac_c" 1>&6
-echo "configure:2530: checking for select" >&5
+echo "configure:2602: checking for select" >&5
 if eval "test \"`echo '$''{'ac_cv_func_select'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2535 "configure"
+#line 2607 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char select(); below.  */
@@ -2554,7 +2626,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:2558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_select=yes"
 else
@@ -2572,7 +2644,7 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for select in -lsocket""... $ac_c" 1>&6
-echo "configure:2576: checking for select in -lsocket" >&5
+echo "configure:2648: checking for select in -lsocket" >&5
 ac_lib_var=`echo socket'_'select | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2580,7 +2652,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lsocket  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2584 "configure"
+#line 2656 "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
@@ -2591,7 +2663,7 @@
 select()
 ; return 0; }
 EOF
-if { (eval echo configure:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2667: \"$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
@@ -2610,7 +2682,7 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for select in -lnsl""... $ac_c" 1>&6
-echo "configure:2614: checking for select in -lnsl" >&5
+echo "configure:2686: checking for select in -lnsl" >&5
 ac_lib_var=`echo nsl'_'select | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2618,7 +2690,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2622 "configure"
+#line 2694 "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
@@ -2629,7 +2701,7 @@
 select()
 ; return 0; }
 EOF
-if { (eval echo configure:2633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2705: \"$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
@@ -2648,7 +2720,7 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for select in -linet""... $ac_c" 1>&6
-echo "configure:2652: checking for select in -linet" >&5
+echo "configure:2724: checking for select in -linet" >&5
 ac_lib_var=`echo inet'_'select | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2656,7 +2728,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-linet  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2660 "configure"
+#line 2732 "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
@@ -2667,7 +2739,7 @@
 select()
 ; return 0; }
 EOF
-if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2743: \"$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
@@ -2686,7 +2758,7 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for select in -lcposix""... $ac_c" 1>&6
-echo "configure:2690: checking for select in -lcposix" >&5
+echo "configure:2762: checking for select in -lcposix" >&5
 ac_lib_var=`echo cposix'_'select | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2694,7 +2766,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lcposix  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2698 "configure"
+#line 2770 "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
@@ -2705,7 +2777,7 @@
 select()
 ; return 0; }
 EOF
-if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2781: \"$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
@@ -2724,7 +2796,7 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for select in -lnet""... $ac_c" 1>&6
-echo "configure:2728: checking for select in -lnet" >&5
+echo "configure:2800: checking for select in -lnet" >&5
 ac_lib_var=`echo net'_'select | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2732,7 +2804,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lnet  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2736 "configure"
+#line 2808 "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
@@ -2743,7 +2815,7 @@
 select()
 ; return 0; }
 EOF
-if { (eval echo configure:2747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2819: \"$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
@@ -2787,7 +2859,7 @@
 else
   olibs="$LIBS"
   echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
-echo "configure:2791: checking for tgetent in -ltermcap" >&5
+echo "configure:2863: checking for tgetent in -ltermcap" >&5
 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2795,7 +2867,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-ltermcap  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2799 "configure"
+#line 2871 "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
@@ -2806,7 +2878,7 @@
 tgetent()
 ; return 0; }
 EOF
-if { (eval echo configure:2810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2882: \"$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
@@ -2825,7 +2897,7 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for tgetent in -ltermlib""... $ac_c" 1>&6
-echo "configure:2829: checking for tgetent in -ltermlib" >&5
+echo "configure:2901: checking for tgetent in -ltermlib" >&5
 ac_lib_var=`echo termlib'_'tgetent | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2833,7 +2905,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-ltermlib  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2837 "configure"
+#line 2909 "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
@@ -2844,7 +2916,7 @@
 tgetent()
 ; return 0; }
 EOF
-if { (eval echo configure:2848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2920: \"$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
@@ -2863,7 +2935,7 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
-echo "configure:2867: checking for tgetent in -lcurses" >&5
+echo "configure:2939: checking for tgetent in -lcurses" >&5
 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2871,7 +2943,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lcurses  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2875 "configure"
+#line 2947 "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
@@ -2882,7 +2954,7 @@
 tgetent()
 ; return 0; }
 EOF
-if { (eval echo configure:2886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2958: \"$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
@@ -2901,7 +2973,7 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for tgetent in -lxtermcap""... $ac_c" 1>&6
-echo "configure:2905: checking for tgetent in -lxtermcap" >&5
+echo "configure:2977: checking for tgetent in -lxtermcap" >&5
 ac_lib_var=`echo xtermcap'_'tgetent | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2909,7 +2981,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lxtermcap  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2913 "configure"
+#line 2985 "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
@@ -2920,7 +2992,7 @@
 tgetent()
 ; return 0; }
 EOF
-if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2996: \"$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
@@ -2951,12 +3023,12 @@
 
 
 echo $ac_n "checking for sys_siglist declaration""... $ac_c" 1>&6
-echo "configure:2955: checking for sys_siglist declaration" >&5
+echo "configure:3027: checking for sys_siglist declaration" >&5
 if test "$cross_compiling" = yes; then
   :
 else
   cat > conftest.$ac_ext <<EOF
-#line 2960 "configure"
+#line 3032 "configure"
 #include "confdefs.h"
 
 #include <sys/types.h>
@@ -2968,7 +3040,7 @@
 }
 
 EOF
-if { (eval echo configure:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   echo "$ac_t""yes" 1>&6 
   sys_siglist="1"
@@ -3034,12 +3106,12 @@
 
 
 echo $ac_n "checking for strerror""... $ac_c" 1>&6
-echo "configure:3038: checking for strerror" >&5
+echo "configure:3110: checking for strerror" >&5
 if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 3043 "configure"
+#line 3115 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char strerror(); below.  */
@@ -3062,7 +3134,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:3066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_strerror=yes"
 else
@@ -3083,12 +3155,12 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for sys_errlist declaration""... $ac_c" 1>&6
-echo "configure:3087: checking for sys_errlist declaration" >&5
+echo "configure:3159: checking for sys_errlist declaration" >&5
 if test "$cross_compiling" = yes; then
   :
 else
   cat > conftest.$ac_ext <<EOF
-#line 3092 "configure"
+#line 3164 "configure"
 #include "confdefs.h"
 
 #include <sys/types.h>
@@ -3101,7 +3173,7 @@
 }
 
 EOF
-if { (eval echo configure:3105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   echo "$ac_t""yes" 1>&6
   cat >> confdefs.h <<\EOF
@@ -3124,7 +3196,7 @@
 
 
 echo $ac_n "checking size of unsigned int""... $ac_c" 1>&6
-echo "configure:3128: checking size of unsigned int" >&5
+echo "configure:3200: checking size of unsigned int" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_int'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3132,7 +3204,7 @@
   ac_cv_sizeof_unsigned_int=4
 else
   cat > conftest.$ac_ext <<EOF
-#line 3136 "configure"
+#line 3208 "configure"
 #include "confdefs.h"
 #include <stdio.h>
 main()
@@ -3143,7 +3215,7 @@
   exit(0);
 }
 EOF
-if { (eval echo configure:3147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_unsigned_int=`cat conftestval`
 else
@@ -3169,7 +3241,7 @@
 
 else
 	echo $ac_n "checking size of unsigned long""... $ac_c" 1>&6
-echo "configure:3173: checking size of unsigned long" >&5
+echo "configure:3245: checking size of unsigned long" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3177,7 +3249,7 @@
   ac_cv_sizeof_unsigned_long=4
 else
   cat > conftest.$ac_ext <<EOF
-#line 3181 "configure"
+#line 3253 "configure"
 #include "confdefs.h"
 #include <stdio.h>
 main()
@@ -3188,7 +3260,7 @@
   exit(0);
 }
 EOF
-if { (eval echo configure:3192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_unsigned_long=`cat conftestval`
 else
@@ -3223,7 +3295,7 @@
 
 if test -z "$libsocket"; then
 	echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
-echo "configure:3227: checking for socket in -lsocket" >&5
+echo "configure:3299: checking for socket in -lsocket" >&5
 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3231,7 +3303,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lsocket  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3235 "configure"
+#line 3307 "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
@@ -3242,7 +3314,7 @@
 socket()
 ; return 0; }
 EOF
-if { (eval echo configure:3246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3318: \"$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
@@ -3266,7 +3338,7 @@
 
 if test -z "$libinet"; then
 	echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6
-echo "configure:3270: checking for socket in -linet" >&5
+echo "configure:3342: checking for socket in -linet" >&5
 ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3274,7 +3346,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-linet  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3278 "configure"
+#line 3350 "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
@@ -3285,7 +3357,7 @@
 socket()
 ; return 0; }
 EOF
-if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3361: \"$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
@@ -3309,7 +3381,7 @@
 
 if test -z "$libnsl"; then
 	echo $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6
-echo "configure:3313: checking for gethostname in -lnsl" >&5
+echo "configure:3385: checking for gethostname in -lnsl" >&5
 ac_lib_var=`echo nsl'_'gethostname | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3317,7 +3389,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3321 "configure"
+#line 3393 "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
@@ -3328,7 +3400,7 @@
 gethostname()
 ; return 0; }
 EOF
-if { (eval echo configure:3332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3404: \"$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
@@ -3351,7 +3423,7 @@
 fi
 
 echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6
-echo "configure:3355: checking for getpwnam in -lsun" >&5
+echo "configure:3427: checking for getpwnam in -lsun" >&5
 ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3359,7 +3431,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lsun  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3363 "configure"
+#line 3435 "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
@@ -3370,7 +3442,7 @@
 getpwnam()
 ; return 0; }
 EOF
-if { (eval echo configure:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3446: \"$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
@@ -3391,7 +3463,7 @@
 fi
 
 echo $ac_n "checking for inet_addr in -ldgc""... $ac_c" 1>&6
-echo "configure:3395: checking for inet_addr in -ldgc" >&5
+echo "configure:3467: checking for inet_addr in -ldgc" >&5
 ac_lib_var=`echo dgc'_'inet_addr | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3399,7 +3471,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-ldgc  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3403 "configure"
+#line 3475 "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
@@ -3410,7 +3482,7 @@
 inet_addr()
 ; return 0; }
 EOF
-if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3486: \"$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
@@ -3431,7 +3503,7 @@
 fi
 
 echo $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6
-echo "configure:3435: checking for gethostbyname in -lresolv" >&5
+echo "configure:3507: checking for gethostbyname in -lresolv" >&5
 ac_lib_var=`echo resolv'_'gethostbyname | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3439,7 +3511,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lresolv  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3443 "configure"
+#line 3515 "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
@@ -3450,7 +3522,7 @@
 gethostbyname()
 ; return 0; }
 EOF
-if { (eval echo configure:3454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3526: \"$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
@@ -3471,7 +3543,7 @@
 fi
 
 echo $ac_n "checking for malloc in -lgnumalloc""... $ac_c" 1>&6
-echo "configure:3475: checking for malloc in -lgnumalloc" >&5
+echo "configure:3547: checking for malloc in -lgnumalloc" >&5
 ac_lib_var=`echo gnumalloc'_'malloc | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3479,7 +3551,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lgnumalloc  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3483 "configure"
+#line 3555 "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
@@ -3490,7 +3562,7 @@
 malloc()
 ; return 0; }
 EOF
-if { (eval echo configure:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3566: \"$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
@@ -3509,7 +3581,7 @@
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for malloc in -lbsdmalloc""... $ac_c" 1>&6
-echo "configure:3513: checking for malloc in -lbsdmalloc" >&5
+echo "configure:3585: checking for malloc in -lbsdmalloc" >&5
 ac_lib_var=`echo bsdmalloc'_'malloc | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3517,7 +3589,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lbsdmalloc  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3521 "configure"
+#line 3593 "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
@@ -3528,7 +3600,7 @@
 malloc()
 ; return 0; }
 EOF
-if { (eval echo configure:3532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3604: \"$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
@@ -3553,7 +3625,7 @@
 
 
 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
-echo "configure:3557: checking for pthread_create in -lpthread" >&5
+echo "configure:3629: checking for pthread_create in -lpthread" >&5
 ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3561,7 +3633,7 @@
   ac_save_LIBS="$LIBS"
 LIBS="-lpthread  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3565 "configure"
+#line 3637 "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
@@ -3572,7 +3644,7 @@
 pthread_create()
 ; return 0; }
 EOF
-if { (eval echo configure:3576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3648: \"$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
@@ -3599,92 +3671,6 @@
 
 
 
-echo $ac_n "checking --enable-perlinterp argument""... $ac_c" 1>&6
-echo "configure:3604: checking --enable-perlinterp argument" >&5
-# Check whether --enable-perlinterp or --disable-perlinterp was given.
-if test "${enable_perlinterp+set}" = set; then
-  enableval="$enable_perlinterp"
-  :
-else
-  enable_perlinterp="no"
-fi
-
-echo "$ac_t""$enable_perlinterp" 1>&6
-if test "$enable_perlinterp" = "yes"; then
-  
-  # Extract the first word of "perl", so it can be a program name with args.
-set dummy perl; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3619: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_path_perl'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  case "$path_perl" in
-  /*)
-  ac_cv_path_path_perl="$path_perl" # 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
-      ac_cv_path_path_perl="$ac_dir/$ac_word"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-  ;;
-esac
-fi
-path_perl="$ac_cv_path_path_perl"
-if test -n "$path_perl"; then
-  echo "$ac_t""$path_perl" 1>&6
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-  if test "X$path_perl" != "X"; then
-    echo $ac_n "checking Perl version""... $ac_c" 1>&6
-echo "configure:3649: checking Perl version" >&5
-    if $path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then
-      echo "$ac_t""OK" 1>&6
-      eval `$path_perl -V:shrpenv`
-      if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
-        shrpenv=""
-      fi
-      theperllib=`$path_perl -MConfig -e 'print $Config{privlibexp}'`
-      
-      perlcppflags=`$path_perl -Mlib=$srcdir -MExtUtils::Embed \
-              -e 'ccflags;perl_inc'`
-      if test "X$perlcppflags" != "X"; then
-        PERL_CFLAGS="$perlcppflags"
-      fi
-      perllibs=`cd $srcdir;$path_perl -MExtUtils::Embed \
-              -e 'ldopts' | sed '/Warning/d' | sed '/Note (probably harmless)/d'`
-                  
-      perlldflags=`cd $srcdir;$path_perl -MExtUtils::Embed \
-              -e 'ccdlflags'`
-      if test "X$perlldflags" != "X"; then
-        LDFLAGS="$perlldflags $LDFLAGS"
-      fi
-      PERL_SRC="x_perl.c x_perlxsi.c"
-      PERL_OBJ="x_perl.o x_perlxsi.o"
-      cat >> confdefs.h <<\EOF
-#define HAVE_PERL_INTERP 1
-EOF
-
-    else
-      echo "$ac_t""too old; need Perl version 5.003_01 or later" 1>&6
-    fi
-  fi
-fi
-
-
-
-
-
-
-
 if test -z "$CFLAGS"; then CFLAGS=-g -O; fi
 
 
@@ -3712,7 +3698,7 @@
 # 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) 2>&1` in
+  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 \).
@@ -3779,7 +3765,7 @@
     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.12"
+    echo "$CONFIG_STATUS generated by autoconf version 2.13"
     exit 0 ;;
   -help | --help | --hel | --he | --h)
     echo "\$ac_cs_usage"; exit 0 ;;
@@ -3790,7 +3776,7 @@
 ac_given_srcdir=$srcdir
 ac_given_INSTALL="$INSTALL"
 
-trap 'rm -fr `echo "Makefile source/Makefile include/Makefile doc/Makefile perl-scripts/Makefile include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "Makefile source/Makefile include/Makefile doc/Makefile include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 EOF
 cat >> $CONFIG_STATUS <<EOF
 
@@ -3799,9 +3785,11 @@
  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
@@ -3821,8 +3809,8 @@
 s%@infodir@%$infodir%g
 s%@mandir@%$mandir%g
 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
-s%@INSTALL_DATA@%$INSTALL_DATA%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
@@ -3833,12 +3821,6 @@
 s%@SET_MAKE@%$SET_MAKE%g
 s%@CC@%$CC%g
 s%@CPP@%$CPP%g
-s%@path_perl@%$path_perl%g
-s%@theperllib@%$theperllib%g
-s%@perllibs@%$perllibs%g
-s%@PERL_SRC@%$PERL_SRC%g
-s%@PERL_OBJ@%$PERL_OBJ%g
-s%@PERL_CFLAGS@%$PERL_CFLAGS%g
 
 CEOF
 EOF
@@ -3880,7 +3862,7 @@
 
 cat >> $CONFIG_STATUS <<EOF
 
-CONFIG_FILES=\${CONFIG_FILES-"Makefile source/Makefile include/Makefile doc/Makefile perl-scripts/Makefile"}
+CONFIG_FILES=\${CONFIG_FILES-"Makefile source/Makefile include/Makefile doc/Makefile"}
 EOF
 cat >> $CONFIG_STATUS <<\EOF
 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
Index: xaric/configure.in
diff -u xaric/configure.in:1.1.1.1 LAEOS/xaric/configure.in:1.2
--- xaric/configure.in:1.1.1.1	Wed Oct 20 13:33:42 1999
+++ xaric/configure.in	Wed Oct 20 16:02:18 1999
@@ -1,10 +1,10 @@
 dnl ------------------------------------------------------------
 dnl Mostly stolen from ircII
 dnl
-dnl @(#)$Id: configure.in,v 1.1.1.1 1999/10/20 20:33:42 laeos Exp $
+dnl @(#)$Id: configure.in,v 1.2 1999/10/20 23:02:18 laeos Exp $
 dnl -------------------------------------------------------------
 
-AC_REVISION($Revision: 1.1.1.1 $)dnl
+AC_REVISION($Revision: 1.2 $)dnl
 AC_INIT(source/ctcp.c)
 
 dnl ---------------------------------------------------------------
@@ -21,7 +21,7 @@
 dnl Version
 dnl --------------------------------------------------------------
 
-AM_INIT_AUTOMAKE(xaric, 0.9d)
+AM_INIT_AUTOMAKE(xaric, 0.9e)
 AM_CONFIG_HEADER(include/config.h)
 
 dnl ----------------------------------------------------------------
@@ -299,57 +299,6 @@
 		AC_DEFINE(HAVE_PTHREADS), 
 		AC_MSG_WARN(Could not find the pthread library.. nifty features disabled.))
 
-dnl ------------------------------------------------------------ 
-dnl Perl Rocks.. stolen from vim
-dnl ------------------------------------------------------------
-
-AC_MSG_CHECKING(--enable-perlinterp argument)
-AC_ARG_ENABLE(perlinterp,
-	[  --enable-perlinterp     Include Perl interpreter.], ,
-	[enable_perlinterp="no"])
-AC_MSG_RESULT($enable_perlinterp)
-if test "$enable_perlinterp" = "yes"; then
-  AC_SUBST(path_perl)
-  AC_PATH_PROG(path_perl, perl)
-  if test "X$path_perl" != "X"; then
-    AC_MSG_CHECKING(Perl version)
-    if $path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then
-      AC_MSG_RESULT(OK)
-      eval `$path_perl -V:shrpenv`
-      if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
-        shrpenv=""
-      fi
-      theperllib=`$path_perl -MConfig -e 'print $Config{privlibexp}'`
-      AC_SUBST(theperllib)
-      perlcppflags=`$path_perl -Mlib=$srcdir -MExtUtils::Embed \
-              -e 'ccflags;perl_inc'`
-      if test "X$perlcppflags" != "X"; then
-        PERL_CFLAGS="$perlcppflags"
-      fi
-      perllibs=`cd $srcdir;$path_perl -MExtUtils::Embed \
-              -e 'ldopts' | sed '/Warning/d' | sed '/Note (probably harmless)/d'`
-      dnl Don't add perl lib to $LIBS: if it's not in LD_LIBRARY_PATH
-      dnl a test in configure may fail because of that.
-      AC_SUBST(perllibs)
-      perlldflags=`cd $srcdir;$path_perl -MExtUtils::Embed \
-              -e 'ccdlflags'`
-      if test "X$perlldflags" != "X"; then
-        LDFLAGS="$perlldflags $LDFLAGS"
-      fi
-      PERL_SRC="x_perl.c x_perlxsi.c"
-      PERL_OBJ="x_perl.o x_perlxsi.o"
-      AC_DEFINE(HAVE_PERL_INTERP)
-    else
-      AC_MSG_RESULT(too old; need Perl version 5.003_01 or later)
-    fi
-  fi
-fi
-AC_SUBST(PERL_SRC)
-AC_SUBST(PERL_OBJ)
-AC_SUBST(PERL_CFLAGS)
-
-
-
 dnl ----------------------------------------------------------
 dnl set some last minute sanity defaults
 dnl ----------------------------------------------------------
@@ -358,7 +307,7 @@
 
 AC_SUBST(CFLAGS)
 AC_SUBST(LDFLAGS)
-AC_OUTPUT(Makefile source/Makefile include/Makefile doc/Makefile perl-scripts/Makefile)
+AC_OUTPUT(Makefile source/Makefile include/Makefile doc/Makefile)
 
 
 dnl ----------------------------------------------------------
Index: xaric/doc/Makefile.in
diff -u xaric/doc/Makefile.in:1.1.1.1 LAEOS/xaric/doc/Makefile.in:1.2
--- xaric/doc/Makefile.in:1.1.1.1	Wed Oct 20 13:33:43 1999
+++ xaric/doc/Makefile.in	Wed Oct 20 16:02:18 1999
@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.3 from Makefile.am
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 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.
@@ -11,7 +11,7 @@
 # PARTICULAR PURPOSE.
 
 
-SHELL = /bin/sh
+SHELL = @SHELL@
 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
@@ -32,7 +32,7 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DISTDIR =
+DESTDIR =
 
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -46,7 +46,7 @@
 AUTOHEADER = @AUTOHEADER@
 
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 transform = @program_transform_name@
@@ -63,13 +63,7 @@
 LDFLAGS = @LDFLAGS@
 MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
-PERL_CFLAGS = @PERL_CFLAGS@
-PERL_OBJ = @PERL_OBJ@
-PERL_SRC = @PERL_SRC@
 VERSION = @VERSION@
-path_perl = @path_perl@
-perllibs = @perllibs@
-theperllib = @theperllib@
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../include/config.h
 CONFIG_CLEAN_FILES = 
@@ -79,14 +73,13 @@
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
 TAR = tar
-GZIP = --best
-all: Makefile
-
+GZIP_ENV = --best
+all: all-redirect
 .SUFFIXES:
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile
+$(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
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
 	cd $(top_builddir) \
 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -99,62 +92,80 @@
 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); \
-	  test -f $(distdir)/$$file \
-	  || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
-	  || cp -p $$d/$$file $(distdir)/$$file; \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$/$$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:
-dvi:
-check: all
-	$(MAKE)
-installcheck:
-install-exec: 
-	@$(NORMAL_INSTALL)
-
-install-data: 
-	@$(NORMAL_INSTALL)
-
-install: install-exec install-data all
-	@:
-
-uninstall: 
-
+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
+all-redirect: all-am
 install-strip:
-	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
 installdirs:
 
 
 mostlyclean-generic:
-	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
 clean-generic:
-	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f Makefile $(DISTCLEANFILES)
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
 	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
-	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
-	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-mostlyclean:  mostlyclean-generic
+mostlyclean-am:  mostlyclean-generic
 
-clean:  clean-generic mostlyclean
+mostlyclean: mostlyclean-am
 
-distclean:  distclean-generic clean
-	-rm -f config.status
+clean-am:  clean-generic mostlyclean-am
 
-maintainer-clean:  maintainer-clean-generic distclean
+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: tags distdir info dvi installcheck install-exec install-data \
-install uninstall all installdirs mostlyclean-generic distclean-generic \
-clean-generic maintainer-clean-generic clean mostlyclean distclean \
-maintainer-clean
+.PHONY: tags distdir 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.
Index: xaric/doc/module.mk
diff -u /dev/null xaric/doc/module.mk:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/doc/module.mk	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,4 @@
+
+
+EXTRADIST += doc/xaric.1 doc/xaric.help doc/xaric.servers doc/module.mk
+
Index: xaric/doc/xaric.1
diff -u /dev/null xaric/doc/xaric.1:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/doc/xaric.1	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,256 @@
+.TH Xaric 1L "29 October 1997"
+.SH NAME
+Xaric \- A client for the Internet Relay Chat system
+.SH SYNOPSIS
+.B xaric 
+.RB [ \-c
+.IR chan ]
+.RB [ \-p
+.IR portno ]
+.RB [ \-f ]
+.RB [ \-F ]
+.IR [ nickname
+.IR [ "server list" ]]
+.RB [ \-l
+.IR "filename"
+.RB ]
+.RB [ \-L
+.IR "filename"
+.RB ]
+.RB [ \-a ]
+.RB [ \-v ]
+.RB [ \-q ]
+.SH DESCRIPTION
+The
+.I ircII
+program is a full screen, termcap based interface to Internet Relay Chat.
+It gives full access to all of the normal
+.I IRC
+functions, plus a variety of additional options.
+.SH OPTIONS
+.TP
+.BI \-c " chan"
+Automatically join channel
+.I chan .
+.TP
+.BI \-p " portno"
+Set the port number to
+.I portno
+(default: 6667, the standard
+.I IRC
+port).
+Only supply this if you connect to a server which uses a port other than 6667.
+.TP
+.B \-f
+Use flow control (^S and ^Q) to stop/start the display.
+Normally these are both bound to other functions within
+.IR irc .
+This switch is ignored if the
+.B \ -d
+switch is used.
+.TP
+.B \-F
+Don't use flow control (^S and ^Q) to stop start the display.
+.TP
+.I nickname
+Set the nickname
+(overrides the environment variable
+.BR IRCNICK ;
+default: the username).
+.TP
+.I server
+Set the list of servers with which
+.B irc
+will try to connect upon startup.
+This list is also used by the program's
+.B /server
+command.
+The format for lines in the list is:
+.IP
+.B hostname
+.RB [:portno[:password[:nick]]]
+.TP
+.BI \-l " filename"
+Selects a different file to be used as the .ircrc file for 
+.B ircII.
+There is no exansion of $ expandos when using this option.
+The default is $HOME/.ircrc.
+.TP
+.BI \-L " filename"
+Selects a different file to be used as the .ircrc file for
+.B ircII.
+Expansion of $ expandos happens with this option.  
+The default is $HOME/.ircrc.
+.TP
+.BI \-a
+This adds the normal
+.B irc
+server list to the command line list of
+.B irc
+servers.
+.TP
+.BI \-v
+Print the version and release date of
+.I ircII
+and exit.
+.TP
+.BI \-q
+Start up
+.B irc
+quickly -- don't load the IRCRC file.
+.SH "DETAILED DESCRIPTION"
+.SS "The Screen:"
+The
+screen is split into two parts, separated by an inverse-video
+status line (if supported).
+The upper (larger) part of the screen displays responses from the
+.I IRC
+server.
+The lower part of the screen (a single line) accepts keyboard input.
+.LP
+Some terminals do not support certain features required by
+.IR ircII ,
+in which case you receive a message stating this.
+If this occurs, try changing the terminal type or run
+.I ircII
+with the
+.B -d
+option.
+.SS "Irc Commands:"
+Any line beginning with the slash character '/' is regarded as an
+.I ircII
+command (the command character may be changed; type '/help set cmdchar').
+Any line not beginning with this character is treated as a message to
+be sent to the current channel.
+To produce a listing of commands, type '/help ?'.
+To receive information about the commands type '/help
+.B <command> '.
+.SS "The .ircrc File:"
+When
+.I ircII
+is executed, it checks the user's home directory for a
+.I \&.ircrc
+file, executing the commands in the file. Commands in this file do not
+need to have a leading slash character '/'
+This allows predefinition of aliases and other features.
+.SH EXAMPLES
+.TP
+.B "irc -c 128 -p 5555"
+Connect
+.I IRC
+to port number 5555 of the default host and enter on channel number 128.
+.TP
+.B "irc Mermaid"
+Use the nickname "Mermaid".
+.TP
+.B "irc Mermaid server1:5000 server2::passwd server3"
+Use the nickname "Mermaid" and the modified server list.
+.TP
+.B "irc -d"
+Use dumb mode.
+.TP
+.B "irc -f"
+Allow use of ^S/^Q to stop/start screen display.
+.TP
+.B "irc -e elisa"
+Interface
+.I IRC
+with a program called
+.IR elisa .
+.LP
+.B "setenv IRCNICK Mermaid"
+.br
+.B "setenv IRCNAME \"The one and only :)\""
+.TP
+.B irc
+Set the username (if not specified elsewhere) to "Mermaid".
+The user's name (when provided inside parentheses in response to a
+WHOIS command) is set to "The one and only :)".
+.SH FILES
+.TP 2.2i
+.I .../bin/ircII
+the executable program
+.TP
+~/.ircrc
+default initialization file
+.TP
+~/.irc/
+directory you can put your own
+.I ircII
+scripts into, that can then be loaded with /load
+.TP
+.I .../lib/irc/
+directory containing message-of-the-day, master initialization, help files and 
+.I ircII
+scripts
+.SH "THE HELP FILES"
+All of the
+.B ircII
+commands are fully described in the help files package.  The best way to
+start here is with the
+.IR /HELP\ ?
+command as this prints a listing of all available help files.
+.SH "SIGNALS"
+.I ircII
+handles the following signals
+.TP
+.B SIGUSR1
+Closes all
+.I DCC
+connections and
+.I EXEC'ed
+processes.
+.TP
+.B SIGUSR2
+Drops
+.I ircII
+back to the command line.
+.SH "ENVIRONMENT VARIABLES"
+It can be helpful to predefine certain variables in
+in the
+.IR \&.cshrc ,
+.IR \&.profile ,
+or
+.IR \&.login
+file:
+.TP
+.B IRCNICK
+The user's
+.I IRC
+nickname.
+.TP
+.B IRCNAME
+The user's
+.I IRC
+realname (otherwise retreived from
+.IR /etc/passwd )
+.TP
+.B IRCSERVER
+The default
+.I IRC
+server(s) (see server
+.B option
+for details)
+.TP
+.B HOME   
+Overrides the default home path in
+.IR /etc/passwd .
+.TP
+.B TERM   
+The type of terminal in use.
+.fi
+.SH "SEE ALSO"
+irc(1),
+ircd(8)
+.SH BUGS
+Please notify the current developer of the software of any bugs in
+current versions.
+.SH AUTHORS
+Program written by Michael Sandrof (ms5n+@andrew.cmu.edu).
+Now being maintained by Matthew Green (mrg@mame.mu.oz.au)
+Names of contributors and contact address can be retrieved with the
+.B /info command.
+This manual page written by Darren Reed (avalon@coombs.anu.EDU.AU),
+revised by R. P. C. Rodgers (rodgers@maxwell.mmwb.ucsf.edu),
+by the lynX, and by Matthew Green (mrg@mame.mu.oz.au).
+.\" end of man page
Index: xaric/doc/xaric.help
diff -u /dev/null xaric/doc/xaric.help:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/doc/xaric.help	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,698 @@
+INDEX
+   ABORT    ADMIN    AJOIN    AWAY     BAN     BANTYPE  BANSTAT
+   BK       C        CD       CHANNEL  CHANST  CHOPS    CLEARAUTO 
+   CLEARLOCK         CLEARTAB CMSG     CONNECT CTCP     CYCLE    
+   DESCRIBE DATE     DBAN     DCC      DCG     DCX      DEOP     
+   DIE      DISCONNECT        EXEC     EXIT    FLUSH    FPROT  
+   HELP     IGNORE   INFO     INV      KB      KILL     LINKS  
+   LIST     LK       LKW      LLOOK    LOAD    LOADDLL  LUSERS 
+   MAP      ME       MESG     MORE     MOTD    MSG      MUB    
+   MULT     NAMES    NICK     NOPS     NOTICE  NOTIFY   NSLOOKUP
+   NWHOWAS  OP       OPER     P        PING    QUERY    QUIT   
+   READLOG  REHASH   RELOAD   REMLOG   RESET   SHOWIDLE SERVER  
+   SET      SAY      SHOWLOCK SPING    SQUIT   SV       STAT    
+   TBAN     SHOWSPLIT         TIME     TLOCK   TOPIC    TRACE    
+   TOGG     TRACEKILL         TRACESERV        UB       UMODE   
+   UNAJOIN  UNIG     UNKEY    UNTOPIC  UNLOAD  UPTIME   USER  
+   USERLIST VER      VERSION  VOICE    WALL    WALLOP   WHICH  
+   WHO      WHOIS    WHOKILL  WHOWAS   WINDOW  USERINFO 
+CREDIT
+   Bitch%n%WX%n Helpfile for BitchX%n-%W71%n%G(%n04%R.%n16%R.%n97%G)%n
+   Version %R(%n04%G.%n16%G.%n97%R)%n with %W%Rc%Go%Bl%Co%Pr%n support
+   Updated by %WBarK0de%n %Y(%nbark0de%C@%nw3n.net%Y)%n
+   Updated by %Wdrew%n %Y(%nlogic%C@%nconcept2000.net.au%Y)%n
+   Original BitchX.help by %Wotiluke%n %Y(%nspaz%C@%nneta.com%Y)%n
+   Type %W/Help%n for a list of extended functions of this client
+HELP
+   %WUsage%n: %W/%nBHelp %Y<%nTopic%G|%nIndex%Y>%n
+     %YTopic%n - This gives help on %Y<%nTopic%Y>%n
+     %YIndex%n - This shows the list of commands supplied in xaric 
+ABORT
+   %gUsage%n: %W/%nabort
+   - Saves IRCII settings then exits IRC
+ABOUT
+   %gUsage%n: %W/%nabout
+   - Shows yet another ansi screen with greets to people who have contributed 
+     to the %PBitchX%n project
+ADMIN
+   %gUsage%n: %W/%nadmin %R[%nserver%R]%n
+   - Shows the iRC Administration information on current server or %R[%nserver%R]%n
+AJOIN
+   %gUsage%n: %W/%najoin %Y<%Bchannel%y(%Bs%y)%Y>%n
+   - Add %Y<%Bchannel%y(%Bs%y)%Y>%n to AJoin list%P;%n it joins %Y<%Bchannel%y(%Bs%y)%Y>%n on startup or change of server
+     change
+AWAY
+   %gUsage%n: %W/%naway %R[%nreason%R]%n
+   - Sets you away for %R[%nreason%R]%n
+B
+   See %YBAN%n
+BAN
+   %gUsage%n: %W/%nban %Y<%Cnick%G|%Cnick%G!%nuser%y@%nhostname%Y>%n
+   - Ban %Y<%Cnick%G|%Cnick%G!%nuser%y@%nhostname%Y>%n from current channel
+   %GHint%n: Even works if %Y<%Cnick%Y>%n has left current channel
+BANSTAT
+   %gUsage%n: %W/%nbanstat %R[%Bchannel%R]%n
+   - Show bans on current channel or %R[%Bchannel%R]%n
+BANTYPE
+   %gUsage%n: %W/%nbantype %Y<%nNormal%G|%nBetter%G|%nHost%G|%nDomain%G|%nScrew%Y>%n
+   - When a ban is done on a nick, it uses %Y<%nbantype%Y>%n 
+BK
+   %gUsage%n: %W/%nbk %Y<%Cnick%Y>%n %R[%nreason%R]%n
+   - Deops, bans and kicks %Y<%Cnick%Y>%n for %R[%nreason%R]%n
+BYE
+   %gUsage%n: %W/%nbye
+   - Quits IRC
+CD
+   %gUsage%n: %W/%ncd %Y<%ndir%Y>%n
+   - Changes current directory to %Y<%ndir%Y>%n
+CHANNEL
+   %gUsage%n: %W/%nchannel
+   - Shows information on the channels, modes and server you are on
+CHANST
+   %gUsage%n: %W/%nchanst %Y<%n-ALL%Y> %R[%Bchannel%R]%n
+   - Shows statistics on current channel or %R[%Bchannel%R]%n
+CHOPS
+   %gUsage%n: %W/%nchops %R[%Bchannel%R]%n
+   - Shows, in a full format, all the nicks with op status
+CLEARAUTO
+   %gUsage%n: %W/%nclearauto
+   - Clears all the nicks in the auto-response list
+CLEARLOCK
+   %gUsage%n: %W/%nclearlock %Y<%Cchannel%G|%Y*>%n
+   - Unlocks the mode lock for %Y<%Cchannel%G|%Y*>%n
+CLEARTAB
+   %gUsage%n: %W/%ncleartab
+   - Clears the nicks in the tabkey list
+CONNECT
+   %gUsage%n: %W/%nconnect %Y<%nserver1%Y>%n %Y<%nport%Y>%n %R[%nserver2%R]%n
+   %Y*%n Requires irc operator status
+   - Connect %Y<%nserver1%Y>%n to %Y<%nport%Y>%n from current server or %R[%nserver2%R]%n
+   %gUsage%n: %W/%ncset nickflood %Y<%non%G|%noff%Y>%n
+   - Turn %Y<%non%G|%noff%Y>%n nick flood checking
+CTCP
+   - CTCP sends %Y<%Cnick%Y>%n with %Y<%nrequest%Y>%n
+   %Y<%nrequest%Y>%n: %G(%nexamples which can be sent to other %GBitchX%n users%G)%n
+     friends%G:%n
+       %Y*%n INVITE   %M-%n Ask for an invite to %Y<%Bchannel%Y>%n
+       %Y*%n OPS      %M-%n A legitimate way to gain ops
+       %Y*%n WHOAMI   %M-%n Request %Y<%Cnick%Y> to display current attributes of me
+       %Y*%n  %M-%n 
+     other%G:%n
+       %Y*%n XLINK    %M-%n ?
+CYCLE
+   %gUsage%n: %W/%ncycle %R[%Bchannel%R]%n
+   - Leaves current channel or %R[%Bchannel%R]%n and immediately rejoins
+D
+   See %YDESCRIBE%n
+DATE
+   %gUsage%n: %W/%ndate
+   - Shows current time and date from current server
+DBAN
+   %gUsage%n: %W/%ndban
+   - Clears all bans on current channel
+DC
+   %gUsage%n: %W/%ndc %Y<%Cnick%Y>%n
+   - Starts a DCC CHAT to %Y<%Cnick%Y>%n
+DCC
+   %gUsage%n: %W/%ndcc %Y<<%Pcommand%Y>%n %R[%narguments%R]%Y>%n
+   - Chat, Close, Get, Raw, ReGet, Rename, ReSend, Send
+   %Y<%Pcommand%Y>%n switches:
+     auto         %Y<%non%G|%noff%Y>%n     overwrite    %Y<%non%G|%noff%Y>%n
+     paths        %Y<%non%G|%noff%Y>%n     quiet        %Y<%non%G|%noff%Y>%n
+DCC CHAT
+   %gUsage%n: %W/%ndcc chat %Y<%Cnick%Y>%n
+   - Starts a Direct-Client-to-Client chat to %Y<%Cnick%Y>%n
+DCC CLOSE
+   %gUsage%n: %W/%ndcc close %Y<%ntype%Y>%n %Y<%Cnick%Y>%n %R[%narguments%R]%n
+   - Close %Y<%ntype%Y>%n connection from %Y<%Cnick%Y>%n with %R[%narguments%R]%n
+DCC GET
+   %gUsage%n: %W/%ndcc get %Y<%Cnick%Y>%n %R[%nfile%r(%ns%r)%R]%n
+   - Starts to receive %R[%nfile%r(%ns%r)%R]%n from %Y<%Cnick%Y>%n
+DCC RAW
+   %gUsage%n: %W/%ndcc raw %Y<%Cnick%Y>%n %Y<%nhost%Y>%n
+   - This is used in conjunction with $connect() and $listen() for sending data
+     over a raw irc connection
+DCC REGET
+   %gUsage%n: %W/%ndcc reget %Y<%Cnick%Y>%n %R[%nfile%r(%ns%r)%R]%n
+   - Will reget %R[%nfile%r(%ns%r)%R]%n and restore a broken connection from %Y<%Cnick%Y>%n
+DCC RENAME
+   %gUsage%n: %W/%ndcc rename %Y<%Cnick%Y>%n %Y<%nnew filename%Y>%n
+   - Rename a filename being sent from %Y<%Cnick%Y>%n to %Y<%nnew filename%Y>%n
+DCC RESEND
+   %gUsage%n: %W/%ndcc resend %Y<%Cnick%Y>%n %Y<%nfile%Y>%n
+   - Starts a DCC send and restore a broken connection of %Y<%nfile%Y>%n to %Y<%Cnick%Y>%n
+DCC SEND
+   %gUsage%n: %W/%ndcc send %Y<%Cnick%Y>%n %Y<%nfile%Y>%n
+   - DCC Sends %Y<%nfile%Y>%n to %Y<%Cnick%Y>%n
+DCG
+   %gUsage%n: %W/%ndcg %Y<%Cnick%Y>%n
+   - Close a DCC GET from %Y<%Cnick%Y>%n
+DCX
+   %gUsage%n: %W/%ndcx %Y<%Cnick%Y>%n
+   - Close a DCC CHAT with %Y<%Cnick%Y>%n
+DEOP
+   %gUsage%n: %W/%ndeop %Y<%Cnick%y(%Cs%y)%Y>%n
+   - Deops %Y<%Cnick%y(%Cs%y)%Y>%n 
+DESCRIBE
+   %gUsage%n: %W/%ndescribe %Y<%Cnick%G|%Bchannel%Y>%n %Y<%naction%Y>%n
+   - Describes to %Y<%Cnick%G|%Bchannel%Y>%n with %Y<%naction%Y>%n
+DIE
+   %gUsage%n: %W/%ndie
+   %Y*%n Requires irc operator status
+   - Kills the IRC server you are on
+DISCONNECT
+   %gUsage%n: %W/%ndisconnect
+   - Disconnects you from the current server
+DOP
+   See DEOP
+DUMP
+   %gUsage%n: %W/%ndump %Y<%ntype%Y>%n
+   - Dumps %Y<%ntype%Y>%n to screen
+   %Y<%ntype%Y>%n:
+     %YAlias%n          %YAll  %n          %YBind %n
+     %YFile %n          %YOn   %n          %YVar  %n
+EXEC
+   %gUsage%n: %W/%nexec %Y<%ncommand%Y>%n
+   - Executes %Y<%ncommand%Y>%n with the shell set from %PSHELL%n
+EXIT
+   %gUsage%n: %W/%nexit
+   - Quits IRC
+FLUSH
+   %gUsage%n: %W/%nflush
+   - Flushes all iRC server output
+   - Attempts to find ports on %Y<%nhostname%Y>%n on %R[%Y<%nlowport%Y>%n %Y<%nhighport%Y>%R]%n
+FPROT
+   %gUsage%n: %W/%nfprot
+   - Toggles flood protection to be either on or off
+HISTORY
+   %gUsage%n: %W/%nhistory
+   - Shows recently typed commands
+HOST
+   %gUsage%n: %W/%nhost %R[%Cnick%R]%n
+   - Shows host of yourself or %R[%Cnick%R]%n
+I
+   See %YINVITE%n
+IGNORE
+   %gUsage%n: %W/%nignore +%G|%n-%G|%n^%Y<%Cnick%Y>%n
+   - Ignores ALL except crap and public from %Y<%Cnick%Y>%n
+INFO
+   %gUsage%n: %W/%ninfo
+   - Shows current client info
+INV
+   See %YINVITE%n
+INVITE
+   %gUsage%n: %W/%ninvite %Y<%Cnick%Y>%n %R[%Bchannel%R]%n
+   - Invites %Y<%Cnick%Y>%n to current channel or %R[%Bchannel%R]%n   
+K
+   %gUsage%n: %W/%nk %Y<%Cnick%Y>%n %R[%nreason%R]%n
+   - Kicks %Y<%Cnick%Y>%n for %R[%nreason%R]%n on current channel
+KB
+   %gUsage%n: %W/%nkb %Y<%Cnick%Y>%n %R[%nreason%R]%n
+   - Deops, kicks and bans %Y<%Cnick%Y>%n for %R[%nreason%R]%n
+KICK
+   %gUsage%n: %W/%nkick %Y<%Bchannel%G|%Y*>%n %Y<%Cnick%Y>%n %R[%nreason%R]%n
+   - This behaves just like /k
+   See %YK%n for further information
+KILL
+   %gUsage%n: %W/%nkill %Y<%Cnick%Y>%n %R[%nreason%R]%n
+   %Y*%n Requires irc operator status
+   - Kills %Y<%Cnick%Y>%n for %R[%nreason%R]%n
+     If no reason is given, a quote from the random kick file is used
+     *hopefully in a latter version of BitchX*
+LASTLOG
+   %gUsage%n: %W/%nlastlog -file filename%G|%n-clear%G|%n-max #%G|%n
+                           -liternal pat%G|%n-beep%G|%nlevel
+   - Shows more than a few pages back
+LINKS
+   %gUsage%n: %W/%nlinks
+   - Shows servers and links to other servers
+LIST
+   %gUsage%n: %W/%nlist
+   - Lists all channels
+LKW
+   %gUsage%n: %W/%nlkw %R[%Bchannel%R]%n
+   - Leave the current channel, killing the window in current channel or
+     %R[%Bchannel%R]%n aswell
+LLOOK
+   %gUsage%n: %W/%nllook
+   %Y*%n Requires set %YLLOOK%n %RON%n
+   - Lists all the servers which are current split from the IRC network
+LOAD
+   %gUsage%n: %W/%nload <script>
+   - Loads <script> into memory
+LUSERS
+   %gUsage%n: %W/%nlusers
+   - Shows stats on current server
+M
+   See %YMSG%n
+ME
+   %gUsage%n: %W/%nme <action>
+   - Sends an action to current channel
+MESG
+   %gUsage%n: %W/%nmesg <Yes|No||On|Off>
+   - Turns mesg <Yes|No||On|Off>
+MODELOCK
+   %gUsage%n: %W/%nmodelock %Y<%Bchannel%Y>%n +%G|%n-%Y<%ninstampkl #%Y>%n
+   - Locks %Y<%Bchannel%Y>%n with +%G|%n-%Y<%nmodes%Y>%n
+MOTD
+   %gUsage%n: %W/%nmotd %R[%nserver%R]%n
+   - Shows MOTD on current server %R[%nserver%R]%n
+MSG
+   %gUsage%n: %W/%nmsg %Y<%Cnick%Y>%n %Y<%ntext%Y>%n
+   - Send %Y<%Cnick%Y>%n a message with %Y<%ntext%Y>%n
+MUB
+   %gUsage%n: %W/%nmub
+   - Mass unbans current channel
+MULT
+   %gUsage%n: %W/%nmult %Y<%Cnick%y(%Cs%y)%Y>%n
+   - Multikicks %Y<%Cnick%y(%Cs%y)%Y>%n
+NAMES
+   %gUsage%n: %W/%nnames %R[%Bchannel%R]%n
+   - Shows names on current channel or %R[%Bchannel%R]%n
+NICK
+   %gUsage%n: %W/%nnick %Y<%Cnick%Y>%n
+   - Changes your %Y<%Cnick%Y>%n
+NOPS
+   %gUsage%n: %W/%nnops %R[%Bchannel%R]%n
+   - Shows, in a full format, all the nicks without ops in %R[%Bchannel%R]%n or current
+     channel
+NOTICE
+   %gUsage%n: %W/%nnotice %Y<%Cnick%G|%Bchannel%Y> %Y<%ntext%Y>%n
+   - Sends a notice to %Y<%Cnick%G|%Bchannel%Y> with %Y<%ntext%Y>%n
+NOTIFY
+   %gUsage%n: %W/%nnotify %Y<%Cnick%Y>%n
+   - Adds %Y<%Cnick%Y>%n to notify list
+   %gUsage%n: %W/%nnotify -%Y<%Cnick%Y>%n
+   - Removes %Y<%Cnick%Y>%n from notify list
+NSLOOKUP
+   %gUsage%n: %W/%nnslookup %Y<%nhostname%Y>%n
+   - Returns the IP adress and IP number for %Y<%nhostname%Y>%n
+NWHOWAS
+   %gUsage%n: %W/%nnwhowas
+   - Displays internal whowas info for all channels. This information expires
+     after 20 minutes for users on internal list, 10 minutes for others
+OP
+   %gUsage%n: %W/%nop %Y<%Cnick%Y>%n
+   - Gives %Y<%Cnick%Y>%n +o
+OPER
+   %gUsage%n: %W/%noper %Y<%Cnick%Y>%n %R[%npassword%R]%n
+   - To receive irc operator status with %Y<%Cnick%Y>%n and %R[%npassword%R]%n
+PING
+   %gUsage%n: %W/%nping %Y<%Cnick%Y>%n
+   - Send a CTCP PING to %Y<%Cnick%Y>%n to check lag
+Q
+   See %YQUERY%n
+QUERY
+   %gUsage%n: %W/%nquery %Y<%n-cmd cmdname%Y> <%Cnick%Y>%n
+   - Starts a query to %Y<%Cnick%Y>%n
+   %GUsage%n: %W/%nquery
+   - Whilst in a query, conclude the query if no arguments are present
+   - Use -cmd to specify what type of output you want. default is a msg. 
+   - cmsg wall csay are all possible to use here.
+QUIT
+   %gUsage%n: %W/%nquit
+   - Leaves IRC
+READLOG
+   %gUsage%n: %W/%nreadlog
+   - Displays current away log
+RECONNECT
+   %gUsage%n: %W/%nreconnect
+   - Reconnects you to current server
+REHASH
+   %gUsage%n: %W/%nrehash
+   %Y*%n Requires irc operator status
+   - Rehashs ircd.conf for new configuration
+RELOAD
+   %gUsage%n: %W/%nreload
+   - Reloads BitchX.sav file
+REMLOG
+   %gUsage%n: %W/%nremlog
+   - Removes logfile
+RESET
+   %gUsage%n: %W/%nreset
+   - Fixes flashed terminals
+SCAN
+   %gUsage%n: %W/%nscan %R[%Bchannel%R]%n
+   - Scans %R[%Bchannel%R]%n or current channel for all nicks
+SCANN
+   %gUsage%n: %W/%nscann %R[%Bchannel%R]%n
+   - Scans %R[%Bchannel%R]%n or current channel for nicks with no ops
+SCANO
+   %gUsage%n: %W/%nscano %R[%Bchannel%R]%n
+   - Scans %R[%Bchannel%R]%n or current channel for nicks with ops
+SCANV
+   %gUsage%n: %W/%nscanv %R[%Bchannel%R]%n
+   - Scans %R[%Bchannel%R]%n or current channel for nicks with voice
+SERVER
+   %gUsage%n: %W/%nserver %Y<%nserver%Y>%n
+   - Changes to %Y<%nserver%Y>%n
+SET
+   %gUsage%n: %W/%nset %Y<%Pcommand%Y>%n %R[%nvalue%R]%n
+   - Set %Y<%Pcommand%Y>%p with the value of %R[%nvalue%R]%n
+   %Y<%Pcommands%Y>%n:
+     ANNOY_KICK		AOP		AUTO_CK		AUTOKICK_ON_VERSION
+     AUTO_NSLOOKUP	AUTO_UMARK_AWAY AUTO_WHO_ON_JOIN
+     AUTO_WHOWAS	BEEP_WHEN_AWAY	BITCHX_HELP	CDCC_FLOOD_AFTER
+     CDCC_FLOOD_RATE	CDCC_SECURITY	CLOAK		CTCP_DELAY
+     CTCP_FLOOD_PROTECTION		CTOOLZ_DIR	DCC_AUTOGET
+     DCC_DLDIR		DCC_GET_LIMIT	DCC_SEND_LIMIT	DCC_QUEUE_LIMIT
+     FLOOD_AFTER	FLOOD_KICK	FLOOD_PROTECTION
+     FLOOD_RATE		FLOOD_USERS	FLOOD_WARNING	HACKPASS
+     HARD_UH_NOTIFY	IDENT_HACK	IDLE_CHECK	KICK_OPS
+     KILL_LOGFILE	LLOOK		LLOOK_DELAY	LONG_MSG
+     MAX_AUTOGET_SIZE	MAX_DEOPS	MAX_IDLEKICKS	MIRCS
+     MODE_STRIPPER	MSGCOUNT	MSGLOG		MSGLOGFILE
+     NAMES_ON_JOIN	NEXT_SERVER_ON_LOCAL_KILL	NO_CTCP_FLOOD
+     NUM_BANMODES	NUM_OPMODES	PING_TYPE	PROTECT_CHANNELS
+     PUBLOGSTR		REASONFILE	REASON_TYPE	SAVEFILE
+     SCRIPT_HELP	SEND_AWAY_MSG	SEND_IGNORE_MSG	SHITLIST_REASON
+     SHOW_FAKES		SHOW_SERVER_CRAP		SHOW_SERVER_KILLS
+     SHOW_TOOMANY	SHOW_UNAUTHS	SHOW_WHO_HOPCOUNT
+     USE_FAKE_HOST	VERBOSE_CTCP	WARN_OF_IGNORES
+     _CDCC_CLOSE_IDLE_SEND_TIME		_CDCC_MINSPEED_TIME
+     %RIGNORE_TIME        CPU_SAVER_AFTER CPU_SAVER_EVERY AUTO_COMP_CHAR
+     AUTO_UNBAN         APPEND_LOG      DCC_FAST
+   See CSET for commands which can be set through SET and have a 
+   global channel effect instead of one channel effect via CSET
+SET ANNOY_KICK
+   %gUsage%n: %W/%nset annoy_kick
+   - Sorry, no help is available for this command yet
+SET APPEND_LOG
+   %gUsage%n: %W/%nset append_log
+   - Should we append to the away log or overwrite when we open it.
+SET AOP
+   %gUsage%n: %W/%nset aop
+   - Sorry, no help is available for this command yet
+SET AUTO_CK
+   %gUsage%n: %W/%nset auto_ck
+   - Sorry, no help is available for this command yet
+SET AUTOKICK_ON_VERSION
+   %gUsage%n: %W/%nset autokick_on_version %Y<%non%G|%noff%Y>%n
+   - Set this to %Y<%non%G|%noff%Y>%n whether to kick the nick who CTCP VERSION you
+SET AUTO_NSLOOKUP
+   %gUsage%n: %W/%nset auto_nslookup
+   - Sorry, no help is available for this command yet
+SET AUTO_UMARK_AWAY
+   %gUsage%n: %W/%nset auto_umark_away
+   - Sorry, no help is available for this command yet
+SET AUTO_WHO_ON_JOIN
+   %gUsage%n: %W/%nset auto_who_on_join
+   - Sorry, no help is available for this command yet
+SET AUTO_WHOWAS
+   %gUsage%n: %W/%nset auto_whowas
+   - Sorry, no help is available for this command yet
+SET BEEP_WHEN_AWAY
+   %gUsage%n: %W/%nset beep_when_away
+   - Sorry, no help is available for this command yet
+SET BITCHX_HELP
+   %gUsage%n: %W/%nset bitchx_help %Y<%nlocation%Y>%n
+   - Sets the %Y<%nlocation%Y>%n of BitchX.help file
+SET CTCP_DELAY
+   %gUsage%n: %W/%nset ctcp_delay
+   - Sorry, no help is available for this command yet
+SET CTCP_FLOOD_PROTECTION
+   %gUsage%n: %W/%nset ctcp_flood_protection
+   - Sorry, no help is available for this command yet
+SET CTOOLZ_DIR
+   %gUsage%n: %W/%nset ctoolz_dir
+   - Sorry, no help is available for this command yet
+SET DCC_AUTOGET
+   %gUsage%n: %W/%nset dcc_autoget
+   - Sorry, no help is available for this command yet
+SET DCC_DLDIR
+   %gUsage%n: %W/%nset dcc_dldir
+   - Sorry, no help is available for this command yet
+SET DCC_GET_LIMIT
+   %gUsage%n: %W/%nset dcc_get_limit
+   - Sorry, no help is available for this command yet
+SET DCC_SEND_LIMIT
+   %gUsage%n: %W/%nset dcc_send_limit
+   - Sorry, no help is available for this command yet
+SET DCC_QUEUE_LIMIT
+   %gUsage%n: %W/%nset dcc_queue_limit
+   - Sorry, no help is available for this command yet
+SET FLOOD_AFTER
+   %gUsage%n: %W/%nset flood_after
+   - Sorry, no help is available for this command yet
+SET FLOOD_KICK
+   %gUsage%n: %W/%nset flood_kick
+   - Sorry, no help is available for this command yet
+SET FLOOD_PROTECTION
+   %gUsage%n: %W/%nset flood_protection
+   - Sorry, no help is available for this command yet
+SET FLOOD_RATE
+   %gUsage%n: %W/%nset flood_rate
+   - Sorry, no help is available for this command yet
+SET FLOOD_USERS
+   %gUsage%n: %W/%nset flood_users
+   - Sorry, no help is available for this command yet
+SET FLOOD_WARNING
+   %gUsage%n: %W/%nset flood_warning
+   - Sorry, no help is available for this command yet
+SET HACKPASS
+   %gUsage%n: %W/%nset hackpass
+   - Sorry, no help is available for this command yet
+SET HARD_UH_NOTIFY
+   %gUsage%n: %W/%nset hard_uh_notify %Y<%non%G|%noff%Y>%n
+   - Sorry, no help is available for this command yet
+SET IDENT_HACK
+   %gUsage%n: %W/%nset ident_hack
+   - Sorry, no help is available for this command yet
+SET IDLE_CHECK
+   %gUsage%n: %W/%nset idle_check
+   - Sorry, no help is available for this command yet
+SET KICK_OPS
+   %gUsage%n: %W/%nset kick_ops
+   - Sorry, no help is available for this command yet
+SET KILL_LOGFILE
+   %gUsage%n: %W/%nset kill_logfile
+   - Sorry, no help is available for this command yet
+SET LLOOK
+   %gUsage%n: %W/%nset llook
+   - Sorry, no help is available for this command yet
+SET LLOOK_DELAY
+   %gUsage%n: %W/%nset llook_delay
+   - Sorry, no help is available for this command yet
+SET LONG_MSG
+   %gUsage%n: %W/%nset long_msg
+   - Sorry, no help is available for this command yet
+SET MAX_AUTOGET_SIZE
+   %gUsage%n: %W/%nset max_autoget_size
+   - Sorry, no help is available for this command yet
+SET MAX_DEOPS
+   %gUsage%n: %W/%nset max_deops
+   - Sorry, no help is available for this command yet
+SET MAX_IDLEKICKS
+   %gUsage%n: %W/%nset max_idlekicks
+   - Sorry, no help is available for this command yet
+SET MIRCS
+   %gUsage%n: %W/%nset mircs
+   - Sorry, no help is available for this command yet
+SET MODE_STRIPPER
+   %gUsage%n: %W/%nset mode_stripper
+   - Sorry, no help is available for this command yet
+SET MSGCOUNT
+   %gUsage%n: %W/%nset msgcount
+   - Sorry, no help is available for this command yet
+SET MSGLOG
+   %gUsage%n: %W/%nset msglog
+   - Sorry, no help is available for this command yet
+SET MSGLOGFILE
+   %gUsage%n: %W/%nset msglogfile
+   - Sorry, no help is available for this command yet
+SET NAMES_ON_JOIN
+   %gUsage%n: %W/%nset names_on_join
+   - Sorry, no help is available for this command yet
+SET NEXT_SERVER_ON_LOCAL_KILL
+   %gUsage%n: %W/%nset next_server_on_local_kill
+   - Sorry, no help is available for this command yet
+SET NO_CTCP_FLOOD
+   %gUsage%n: %W/%nset no_ctcp_flood
+   - Sorry, no help is available for this command yet
+SET NUM_BANMODES
+   %gUsage%n: %W/%nset num_banmodes
+   - Sorry, no help is available for this command yet
+SET NUM_OPMODES
+   %gUsage%n: %W/%nset num_opmodes
+   - Sorry, no help is available for this command yet
+SET PING_TYPE
+   %gUsage%n: %W/%nset ping_type
+   - Sorry, no help is available for this command yet
+SET PROTECT_CHANNELS
+   %gUsage%n: %W/%nset protect_channels
+   - Sorry, no help is available for this command yet
+SET PUBLOGSTR
+   %gUsage%n: %W/%nset publogstr
+   - Sorry, no help is available for this command yet
+SET REASONFILE
+   %gUsage%n: %W/%nset reason_file
+   - Sorry, no help is available for this command yet
+SET REASON_TYPE
+   %gUsage%n: %W/%nset reason_type
+   - Sorry, no help is available for this command yet
+SET SAVEFILE
+   %gUsage%n: %W/%nset savefile
+   - Sorry, no help is available for this command yet
+SET SCRIPT_HELP
+   %gUsage%n: %W/%nset script_help
+   - Sorry, no help is available for this command yet
+SET SEND_AWAY_MSG
+   %gUsage%n: %W/%nset send_away_msg
+   - Sorry, no help is available for this command yet
+SET SEND_IGNORE_MSG
+   %gUsage%n: %W/%nset send_ignore_msg
+   - Sorry, no help is available for this command yet
+SET SHITLIST_REASON
+   %gUsage%n: %W/%nset shitlist_reason
+   - Sorry, no help is available for this command yet
+SET SHOW_FAKES
+   %gUsage%n: %W/%nset show_fakes
+   - Sorry, no help is available for this command yet
+SET SHOW_SERVER_CRAP
+   %gUsage%n: %W/%nset show_server_crap
+   - Sorry, no help is available for this command yet
+SET SHOW_SERVER_KILLS
+   %gUsage%n: %W/%nset show_server_kills
+   - Sorry, no help is available for this command yet
+SET SHOW_TOOMANY
+   %gUsage%n: %W/%nset show_toomany
+   - Sorry, no help is available for this command yet
+SET SHOW_UNAUTHS
+   %gUsage%n: %W/%nset show_unauths
+   - Sorry, no help is available for this command yet
+SET SHOW_WHO_HOPCOUNT
+   %gUsage%n: %W/%nset show_who_hopcount
+   - Sorry, no help is available for this command yet
+SET USE_FAKE_HOST
+   %gUsage%n: %W/%nset use_fake_host
+   - Sorry, no help is available for this command yet
+SET VERBOSE_CTCP
+   %gUsage%n: %W/%nset verbose_ctcp
+   - Sorry, no help is available for this command yet
+SET WARN_OF_IGNORES
+   %gUsage%n: %W/%nset warn_of_ignores
+   - Sorry, no help is available for this command yet
+SET _CDCC_CLOSE_IDLE_SEND_TIME
+   %gUsage%n: %W/%nset _cdcc_close_idle_send_time
+   - Sorry, no help is available for this command yet
+SET _CDCC_MINSPEED_TIME
+   %gUsage%n: %W/%nset _cdcc_minspeed_time
+   - Sorry, no help is available for this command yet
+SHOWIDLE
+   %gUsage%n: %W/%nshowidle %R[%Bchannel%R]%n
+   - Shows idle people on current channel or %R[%Bchannel%R]%n
+STAT
+   %gUsage%n: %W/%nstat [c|h|k|i|l|m|u|y] [<server>]
+   - See %W/%nhelp stat for further details
+SHOWSPLIT
+   %gUsage%n: %W/%nshowsplit
+   - See current splits
+SAY
+   %gUsage%n: %W/%nsay -%Y<%ntype%Y>%n [-c for cool -a for annoy -e for elite] 
+   - Says whatever you write in either cool, annoy or elite format
+SPING
+   %gUsage%n: %W/%nsping %Y<%nserver%Y>%n
+   - Checks how lagged it is to %Y<%nserver%Y>%n
+SQUIT
+   %gUsage%n: %W/%nsquit %Y<%nserver1%Y>%n %R[%nserver2%R]%n
+   %Y*%n Requires irc operator status
+   - Disconnects %Y<%nserver1%Y>%n from current server or %R[%nserver2%R]%n
+T
+   %gUsage%n: %W/%nt %Y<%ntext%Y>%n
+   - Sets %Y<%ntext%Y>%n as topic on current channel
+TBAN
+   %gUsage%n: %W/%ntban
+   - Interactive channel ban delete
+TIME
+   %gUsage%n: %W/%ntime
+   - Shows time and date of current server
+TLOCK
+   %gUsage%n: %W/%ntlock %Y<%Bchannel%Y>%n %R[%non%G|%noff%R]%n
+   - [Un]Locks %Y<%Bchannel%Y>%n with the current topic
+TOPIC
+   See %Y%n for furthur details
+TOGG
+   %gUsage%n: %W/%ntogg
+   - Allow's toggling of userlist, autorejoin, cloak, etc. self explanitory.
+TRACE
+   %gUsage%n: %W/%ntrace <argument> <server>
+   - Without a specified server it shows the current connections on
+   - local server
+   - Arguments: -s -u -o   trace for servers, users, ircops
+   See %W/%nhelp trace for furthur details
+U
+   %gUsage%n: %W/%nu
+   - Shows users on current channel
+UB
+   %gUsage%n: %W/%nub %R[%Cnick%R]%n
+   - Removes ban on %R[%Cnick%R]%n
+   Hint: %W/%nub with no arguments removes all bans placed on current channel
+UMODE
+   %gUsage%n: %W/%numode %Y<%nmode%Y>%n
+   - Sets %Y<%nmode%Y>%n on yourself
+UNAJOIN
+   %gUsage%n: %W/%nunajoin %Y<%Bchannel%Y>%n
+   - Removes autojoin %Y<%Bchannel%Y>%n from list
+UNKEY
+   %gUsage%n: %W/%nunkey
+   - Removes channel key from current channel
+UNSCREW
+   %gUsage%n: %W/%nunscrew %Y<%Cnick%Y>%n
+   - Unscrew %Y<%Cnick%Y>%n
+UNTOPIC
+   %gUsage%n: %W/%nuntopic %R[%Bchannel%Y>%n
+   - Removes the topic from %R[%Bchannel%R]%n or current channel
+UNVOICE
+   %gUsage%n: %W/%nunvoice %R[%Bchannel%R]%n %Y<%Cnick%Y>%n
+   - Removes voice status from %Y<%Cnick%Y>%n on %R[%Bchannel%R]%n or current channel
+UPTIME
+   %gUsage%n: %W/%nuptime
+   - Shows uptime of local machine
+VERSION
+   %gUsage%n: %W/%nversion
+   - Shows client, script and server versions
+VOICE
+   %gUsage%n: %W/%nvoice %R[%Bchannel%R]%n %Y<%Cnick%Y>%n
+   - Gives voice status to %Y<%Cnick%Y>%n on %R[%Bchannel%R]%n or current channel
+W
+   See %YWHO%n
+WALL
+   %gUsage%n: %W/%nwall %Y<%nmessage%Y>%n
+   - Sends %Y<%nmessage%Y>%n to ops on current channel
+WALLMSG
+   See %YWALL%n
+WALLOP
+   %gUsage%n: %W/%nwallop %Y<%nmessage%Y>%n
+   - Sends %Y<%nmessage%Y>%n to everyone on iRC
+WHICH
+   %gUsage%n: %W/%nwhich %Y<%nfile%Y>%n
+   - Determines which %Y<%nfile%Y>%n was loaded with the /load command
+WHO
+   %gUsage%n: %W/%nwho %Y<%Cnick%G|%Bchannel%Y>
+   - Shows who listing on %Y<%Cnick%G|%Bchannel%Y>
+WHOIS
+   %gUsage%n: %W/%nwhois %Y<%Cnick%Y>%n
+   - Display whois information on %Y<%Cnick%Y>%n
+WHOKILL
+   %gUsage%n: %W/%nwhokill %Y<%Cnick%G!%nuser%Y@%nhostname%Y>%n %R[%nreason%R]%n
+   %Y*%n Requires irc operator status
+   - Kills multiple clients matching the filter %Y<%Cnick%G!%nuser%Y@%nhostname%Y>%n
+     with %R[%nreason%R]%n
+WHOLEFT
+   %gUsage%n: %W/%nwholeft
+   - Display who split away after a netsplit
+WHOWAS
+   %gUsage%n: %W/%nwhowas %Y<%Cnick%Y>%n
+   - Display whowas information on %Y<%Cnick%Y>%n
+WINDOW
+   %R[%nwindow shortcuts%R]%n:
+     %Y^W-%n %P-%n Shrinks current window 1 line 
+     %Y^W+%n %P-%n Grows current window 1 line
+     %Y^Wm%n %P-%n Moves current window down 1 line
+     %Y^Wl%n %P-%n Lists current windows
+     %Y^Wk%n %P-%n Kills current window
+     %Y^Wh%n %P-%n Hides current window
+     %Y^Wb%n %P-%n Balances window sizes
+     %Y^Wn%n %P-%n Swaps to next window
+     %Y^Wp%n %P-%n Swaps to previous window
+     %Y /#%n %P-%n Shows window number (1-4)
Index: xaric/doc/xaric.servers
diff -u /dev/null xaric/doc/xaric.servers:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/doc/xaric.servers	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,9 @@
+los-angeles.ca.us.undernet.org
+lasvegas.nv.us.undernet.org
+phoenix.az.us.undernet.org
+irc.pacbell.net
+irc.cris.com
+irc-w.primenet.com
+irc.stealth.net:6665
+irc.w3n.net
+
Index: xaric/include/Makefile.in
diff -u xaric/include/Makefile.in:1.1.1.1 LAEOS/xaric/include/Makefile.in:1.2
--- xaric/include/Makefile.in:1.1.1.1	Wed Oct 20 13:33:43 1999
+++ xaric/include/Makefile.in	Wed Oct 20 16:02:18 1999
@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.3 from Makefile.am
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 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.
@@ -11,7 +11,7 @@
 # PARTICULAR PURPOSE.
 
 
-SHELL = /bin/sh
+SHELL = @SHELL@
 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
@@ -32,7 +32,7 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DISTDIR =
+DESTDIR =
 
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -46,7 +46,7 @@
 AUTOHEADER = @AUTOHEADER@
 
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 transform = @program_transform_name@
@@ -63,45 +63,45 @@
 LDFLAGS = @LDFLAGS@
 MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
-PERL_CFLAGS = @PERL_CFLAGS@
-PERL_OBJ = @PERL_OBJ@
-PERL_SRC = @PERL_SRC@
 VERSION = @VERSION@
-path_perl = @path_perl@
-perllibs = @perllibs@
-theperllib = @theperllib@
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = config.h
 CONFIG_CLEAN_FILES = 
-DIST_COMMON =  Makefile.am Makefile.in config.h.in stamp-h.in
+DIST_COMMON =  ./stamp-h.in Makefile.am Makefile.in config.h.in
 
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
 TAR = tar
-GZIP = --best
-all: Makefile config.h
-
+GZIP_ENV = --best
+all: all-redirect
 .SUFFIXES:
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps include/Makefile
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
 	cd $(top_builddir) \
 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
 
 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=include/config.h \
 	     $(SHELL) ./config.status
-	@echo timestamp > stamp-h
+	@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) 
 	cd $(top_srcdir) && $(AUTOHEADER)
-	@echo timestamp > $(srcdir)/stamp-h.in
+	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
 
 mostlyclean-hdr:
 
@@ -120,64 +120,85 @@
 subdir = include
 
 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 include/Makefile
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
-	  test -f $(distdir)/$$file \
-	  || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
-	  || cp -p $$d/$$file $(distdir)/$$file; \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$/$$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:
-dvi:
-check: all
-	$(MAKE)
-installcheck:
-install-exec: 
-	@$(NORMAL_INSTALL)
-
-install-data: 
-	@$(NORMAL_INSTALL)
-
-install: install-exec install-data all
-	@:
-
-uninstall: 
-
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+all-recursive-am: config.h
+	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+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 config.h
+all-redirect: all-am
 install-strip:
-	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
 installdirs:
 
 
 mostlyclean-generic:
-	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
 clean-generic:
-	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f Makefile $(DISTCLEANFILES)
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
 	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
-	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
-	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-mostlyclean:  mostlyclean-hdr mostlyclean-generic
+mostlyclean-am:  mostlyclean-hdr mostlyclean-generic
 
-clean:  clean-hdr clean-generic mostlyclean
+mostlyclean: mostlyclean-am
 
-distclean:  distclean-hdr distclean-generic clean
-	-rm -f config.status
+clean-am:  clean-hdr clean-generic mostlyclean-am
 
-maintainer-clean:  maintainer-clean-hdr maintainer-clean-generic \
-		distclean
+clean: clean-am
+
+distclean-am:  distclean-hdr distclean-generic clean-am
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-hdr 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-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
-tags distdir info dvi installcheck install-exec install-data install \
-uninstall all installdirs mostlyclean-generic distclean-generic \
-clean-generic maintainer-clean-generic clean mostlyclean distclean \
-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-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
 
 
  EXTRA_DIST = \
Index: xaric/include/config.h.in
diff -u xaric/include/config.h.in:1.1.1.1 LAEOS/xaric/include/config.h.in:1.2
--- xaric/include/config.h.in:1.1.1.1	Wed Oct 20 13:33:43 1999
+++ xaric/include/config.h.in	Wed Oct 20 16:02:18 1999
@@ -60,9 +60,6 @@
 #undef UNSIGNED_INT32
 #undef UNSIGNED_LONG32
 #undef USING_CURSES
-#undef PACKAGE
-#undef VERSION
-#undef HAVE_PERL_INTERP
 
 /* The number of bytes in a unsigned int.  */
 #undef SIZEOF_UNSIGNED_INT
@@ -120,3 +117,10 @@
 
 /* Define if you have the <termcap.h> header file.  */
 #undef HAVE_TERMCAP_H
+
+/* Name of package */
+#undef PACKAGE
+
+/* Version number of package */
+#undef VERSION
+
Index: xaric/include/defaults.h
diff -u xaric/include/defaults.h:1.1.1.1 LAEOS/xaric/include/defaults.h:1.2
--- xaric/include/defaults.h:1.1.1.1	Wed Oct 20 13:33:43 1999
+++ xaric/include/defaults.h	Wed Oct 20 16:02:18 1999
@@ -10,7 +10,7 @@
  * use this version of IRCII!  Please read the INSTALL and New2.2 files
  * supplied with the distribution for details!
  *
- * @(#)$Id: defaults.h,v 1.1.1.1 1999/10/20 20:33:43 laeos Exp $
+ * @(#)$Id: defaults.h,v 1.2 1999/10/20 23:02:18 laeos Exp $
  */
 
 #ifndef __config_h_
@@ -25,7 +25,7 @@
  */
 
 #ifndef DEFAULT_SERVER
-#define DEFAULT_SERVER	    "los-angeles.ca.us.undernet.org:6665"
+#define DEFAULT_SERVER	    "irc.core.com:6667"
 #endif
 
 
@@ -126,7 +126,7 @@
  * proper compilation.
  */
 
-#define DEFAULT_SIGNOFF_REASON "xaric... mmm perl..."
+#define DEFAULT_SIGNOFF_REASON "Somewhere in DOWNTOWN BURBANK a prostitute is OVERCOOKING a LAMB CHOP!!"
 #define DEFAULT_BANTYPE 2
 #define DEFAULT_SHOW_CTCP_IDLE 1
 #define DEFAULT_PING_TYPE 1
Index: xaric/include/defs.h.in
diff -u /dev/null xaric/include/defs.h.in:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/include/defs.h.in	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,202 @@
+/* Define if on AIX 3.
+   System headers sometimes define this.
+   We just want to avoid a redefinition error message.  */
+#ifndef _ALL_SOURCE
+#undef _ALL_SOURCE
+#endif
+
+/* Define if using alloca.c.  */
+#undef C_ALLOCA
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+   This function is required for alloca.c support on those systems.  */
+#undef CRAY_STACKSEG_END
+
+/* Define if the `getpgrp' function takes no argument.  */
+#undef GETPGRP_VOID
+
+/* Define to `int' if <sys/types.h> doesn't define.  */
+#undef gid_t
+
+/* Define if you have alloca, as a function or macro.  */
+#undef HAVE_ALLOCA
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
+#undef HAVE_ALLOCA_H
+
+/* Define to `int' if <sys/types.h> doesn't define.  */
+#undef mode_t
+
+/* Define if your C compiler doesn't accept -c and -o together.  */
+#undef NO_MINUS_C_MINUS_O
+
+/* Define to `int' if <sys/types.h> doesn't define.  */
+#undef pid_t
+
+/* Define if you need to in order for stat and other things to work.  */
+#undef _POSIX_SOURCE
+
+/* Define as the return type of signal handlers (int or void).  */
+#undef RETSIGTYPE
+
+/* Define to `unsigned' if <sys/types.h> doesn't define.  */
+#undef size_t
+
+/* If using the C implementation of alloca, define if you know the
+   direction of stack growth for your system; otherwise it will be
+   automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+#undef STACK_DIRECTION
+
+/* Define if you have the ANSI C header files.  */
+#undef STDC_HEADERS
+
+/* Define if `sys_siglist' is declared by <signal.h>.  */
+#undef SYS_SIGLIST_DECLARED
+
+/* Define if you can safely include both <sys/time.h> and <time.h>.  */
+#undef TIME_WITH_SYS_TIME
+
+/* Define to `int' if <sys/types.h> doesn't define.  */
+#undef uid_t
+
+#undef PACKAGE
+#undef VERSION
+
+/* define if allow sys/time.h with time.h */
+#undef TIME_WITH_SYS_TIME
+
+/* Define this if you have fpathconf() */
+#undef HAVE_FPATHCONF
+
+/* Define this if you have SUN_LEN in <sys/un.h> */
+#undef HAVE_SUN_LEN
+
+/* Define this if your getpgrp is broken posix */
+#undef GETPGRP_VOID
+
+/* Define this if you have killpg() */
+#undef HAVE_KILLPG
+
+/* define this if you are using -lcurses */
+#undef USING_CURSES
+
+/* define this if you have setenv() */
+#undef HAVE_SETENV
+
+/* define this if you have getpgid() */
+#undef HAVE_GETPGID
+
+/* define this if you have snprintf() */
+#undef HAVE_SNPRINTF
+
+/* define this if you have vsnprintf() */
+#undef HAVE_VSNPRINTF
+
+/* define this if an unsigned long is 32 bits */
+#undef UNSIGNED_LONG32
+
+/* define this if an unsigned int is 32 bits */
+#undef UNSIGNED_INT32
+
+/* define this if you are unsure what is is 32 bits */
+#undef UNKNOWN_32INT
+
+/* define this if you don't have struct linger */
+#undef NO_STRUCT_LINGER
+
+/* define this if your header files declare sys_errlist */
+#undef SYS_ERRLIST_DECLARED
+
+/* define this if you have uname(2) */
+#undef HAVE_UNAME
+
+/* define this if you have strerror(3) */
+#undef HAVE_STRERROR
+
+/* define this if you have getpass */
+#undef HAVE_GETPASS
+
+/* define this if you have gettimeofday */
+#undef HAVE_GETTIMEOFDAY
+
+/* define this if you have sysconf */
+#undef HAVE_SYSCONF
+
+/* define this if you dont have strtoul */
+#undef NEED_STRTOUL
+
+/* define this if you have pthreads */
+#undef HAVE_PTHREADS
+
+/* Define this if compiling with SOCKS (the firewall traversal library).
+   Also, you must define connect, getsockname, bind, accept, listen, and
+   select to their R-versions. */
+#undef SOCKS
+#undef connect
+#undef getsockname
+#undef bind
+#undef accept
+#undef listen
+#undef select
+
+/* The number of bytes in a unsigned int.  */
+#undef SIZEOF_UNSIGNED_INT
+
+/* The number of bytes in a unsigned long.  */
+#undef SIZEOF_UNSIGNED_LONG
+
+/* Define if you have the <dirent.h> header file.  */
+#undef HAVE_DIRENT_H
+
+/* Define if you have the <fcntl.h> header file.  */
+#undef HAVE_FCNTL_H
+
+/* Define if you have the <ndir.h> header file.  */
+#undef HAVE_NDIR_H
+
+/* Define if you have the <netdb.h> header file.  */
+#undef HAVE_NETDB_H
+
+/* Define if you have the <sys/dir.h> header file.  */
+#undef HAVE_SYS_DIR_H
+
+/* Define if you have the <sys/fcntl.h> header file.  */
+#undef HAVE_SYS_FCNTL_H
+
+/* Define if you have the <sys/file.h> header file.  */
+#undef HAVE_SYS_FILE_H
+
+/* Define if you have the <sys/ndir.h> header file.  */
+#undef HAVE_SYS_NDIR_H
+
+/* Define if you have the <sys/ptem.h> header file.  */
+#undef HAVE_SYS_PTEM_H
+
+/* Define if you have the <sys/select.h> header file.  */
+#undef HAVE_SYS_SELECT_H
+
+/* Define if you have the <sys/syslimits.h> header file.  */
+#undef HAVE_SYS_SYSLIMITS_H
+
+/* Define if you have the <sys/termios.h> header file.  */
+#undef HAVE_SYS_TERMIOS_H
+
+/* Define if you have the <sys/time.h> header file.  */
+#undef HAVE_SYS_TIME_H
+
+/* Define if you have the <sys/ttycom.h> header file.  */
+#undef HAVE_SYS_TTYCOM_H
+
+/* Define if you have the <sys/twg_config.h> header file.  */
+#undef HAVE_SYS_TWG_CONFIG_H
+
+/* Define if you have the <sys/un.h> header file.  */
+#undef HAVE_SYS_UN_H
+
+/* Define if you have the <termcap.h> header file.  */
+#undef HAVE_TERMCAP_H
+
Index: xaric/include/module.mk
diff -u /dev/null xaric/include/module.mk:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/include/module.mk	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,15 @@
+EXTRADIST +=	include/alias.h  include/alist.h   include/commands.h \
+		include/config.h include/ctcp.h    include/dcc.h \
+		include/debug.h  include/defs.h.in include/exec.h include/files.h \
+		include/flood.h  include/format.h  include/fset.h \
+		include/funny.h  include/hash.h    include/hash2.h include/history.h \
+		include/hook.h   include/ignore.h  include/input.h \
+		include/irc.h    include/irc_std.h include/ircaux.h include/ircterm.h \
+		include/keys.h   include/lastlog.h include/list.h \
+		include/log.h    include/misc.h    include/names.h include/newio.h \
+		include/notice.h include/notify.h  include/numbers.h \
+		include/output.h include/parse.h   include/screen.h include/server.h \
+		include/stamp-h  include/status.h  include/struct.h \
+		include/timer.h  include/vars.h    include/whois.h \
+		include/whowas.h include/window.h  include/module.mk include/tcommand.h
+
Index: xaric/scripts/Makeconfig.in
diff -u /dev/null xaric/scripts/Makeconfig.in:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/scripts/Makeconfig.in	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,15 @@
+
+CC       = @CC@
+CFLAGS   = @CFLAGS@ -Iinclude -Wall
+LIBS     = @LIBS@
+INSTALL_PROGRAM  = @INSTALL@
+
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+datadir = @datadir@/xaric
+sysconfdir = @sysconfdir@
+localstatedir = @localstatedir@
+
+
Index: xaric/scripts/configure
diff -u /dev/null xaric/scripts/configure:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/scripts/configure	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,3704 @@
+#! /bin/sh
+
+# From configure.in Revision: 1.2 # Guess values for system-dependent variables and create Makefiles.
+# Generated automatically using autoconf version 2.12 
+# 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:
+
+# 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=
+# 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.12"
+    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=source/ctcp.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 $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+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 scripts $srcdir/scripts; 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 scripts $srcdir/scripts" 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.
+
+
+
+
+echo ""
+echo "This is Xaric's GNU autoconf script."
+echo "It is going to run a bunch of strange tests"
+echo "and hopefully make xaric compile on your machine."
+echo ""
+
+
+# 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:554: 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="${IFS}:"
+  for ac_dir in $PATH; 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:583: 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="${IFS}:"
+  ac_prog_rejected=no
+  for ac_dir in $PATH; 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
+
+  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:631: 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 $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+cat > conftest.$ac_ext <<EOF
+#line 641 "configure"
+#include "confdefs.h"
+main(){return(0);}
+EOF
+if { (eval echo configure:645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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*
+
+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:665: 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:670: 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:679: \"$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
+  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:694: 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
+    CFLAGS="-g -O2"
+  else
+    CFLAGS="-O2"
+  fi
+else
+  GCC=
+  test "${CFLAGS+set}" = set || CFLAGS="-g"
+fi
+
+echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+echo "configure:722: 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 737 "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:743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+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 754 "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:760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+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*
+  ac_cv_prog_CPP="$CPP"
+fi
+  CPP="$ac_cv_prog_CPP"
+else
+  ac_cv_prog_CPP="$CPP"
+fi
+echo "$ac_t""$CPP" 1>&6
+
+# 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
+# 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:793: 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="${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.
+      for ac_prog in ginstall installbsd 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.
+	    # OSF/1 installbsd also uses dspmsg, but is usable.
+	    :
+	  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_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
+echo "configure:843: checking for POSIXized ISC" >&5
+if test -d /etc/conf/kconfig.d &&
+  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
+then
+  echo "$ac_t""yes" 1>&6
+  ISC=yes # If later tests want to check for ISC.
+  cat >> confdefs.h <<\EOF
+#define _POSIX_SOURCE 1
+EOF
+
+  if test "$GCC" = yes; then
+    CC="$CC -posix"
+  else
+    CC="$CC -Xp"
+  fi
+else
+  echo "$ac_t""no" 1>&6
+  ISC=
+fi
+
+echo $ac_n "checking for AIX""... $ac_c" 1>&6
+echo "configure:864: checking for AIX" >&5
+cat > conftest.$ac_ext <<EOF
+#line 866 "configure"
+#include "confdefs.h"
+#ifdef _AIX
+  yes
+#endif
+
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  egrep "yes" >/dev/null 2>&1; then
+  rm -rf conftest*
+  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
+#define _ALL_SOURCE 1
+EOF
+
+else
+  rm -rf conftest*
+  echo "$ac_t""no" 1>&6
+fi
+rm -f conftest*
+
+
+
+
+unamer=`uname -r 2> /dev/null`
+unames=`uname -s 2> /dev/null`
+
+
+
+echo $ac_n "checking for qnx""... $ac_c" 1>&6
+echo "configure:895: checking for qnx" >&5
+case "$unames" in
+  QNX*)
+    echo "$ac_t""yes" 1>&6
+    LDFLAGS=-N64k                      CFLAGS="-w4 -O -g -fi=unix.h"    ;;
+  *)
+    echo "$ac_t""no" 1>&6
+esac
+
+
+echo $ac_n "checking for svr4's /usr/ccs/lib""... $ac_c" 1>&6
+echo "configure:906: checking for svr4's /usr/ccs/lib" >&5
+if test -d /usr/ccs/lib; then
+	LIBS="-L/usr/ccs/lib $LIBS"
+	echo "$ac_t""found it!" 1>&6
+else
+	echo "$ac_t""no" 1>&6
+fi
+
+
+for ac_hdr in fcntl.h netdb.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:919: 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 924 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+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_hdr in sys/fcntl.h sys/file.h sys/ptem.h sys/select.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:959: 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 964 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+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_hdr in sys/syslimits.h sys/time.h sys/twg_config.h sys/un.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:999: 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 1004 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:1009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+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_hdr in sys/termios.h sys/ttycom.h termcap.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:1039: 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 1044 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+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 for getpass""... $ac_c" 1>&6
+echo "configure:1077: checking for getpass" >&5
+if eval "test \"`echo '$''{'ac_cv_func_getpass'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1082 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char getpass(); 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 getpass();
+
+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_getpass) || defined (__stub___getpass)
+choke me
+#else
+getpass();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_getpass=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_getpass=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'getpass`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_GETPASS 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for fpathconf""... $ac_c" 1>&6
+echo "configure:1128: checking for fpathconf" >&5
+if eval "test \"`echo '$''{'ac_cv_func_fpathconf'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1133 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char fpathconf(); 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 fpathconf();
+
+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_fpathconf) || defined (__stub___fpathconf)
+choke me
+#else
+fpathconf();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_fpathconf=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_fpathconf=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'fpathconf`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_FPATHCONF 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
+echo "configure:1179: checking for gettimeofday" >&5
+if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1184 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char gettimeofday(); 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 gettimeofday();
+
+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_gettimeofday) || defined (__stub___gettimeofday)
+choke me
+#else
+gettimeofday();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_gettimeofday=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_gettimeofday=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_GETTIMEOFDAY 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for strtoul""... $ac_c" 1>&6
+echo "configure:1230: checking for strtoul" >&5
+if eval "test \"`echo '$''{'ac_cv_func_strtoul'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1235 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char strtoul(); 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 strtoul();
+
+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_strtoul) || defined (__stub___strtoul)
+choke me
+#else
+strtoul();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_strtoul=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_strtoul=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'strtoul`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  :
+else
+  echo "$ac_t""no" 1>&6
+cat >> confdefs.h <<\EOF
+#define NEED_STRTOUL 1
+EOF
+
+fi
+
+echo $ac_n "checking for sysconf""... $ac_c" 1>&6
+echo "configure:1282: checking for sysconf" >&5
+if eval "test \"`echo '$''{'ac_cv_func_sysconf'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1287 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char sysconf(); 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 sysconf();
+
+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_sysconf) || defined (__stub___sysconf)
+choke me
+#else
+sysconf();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_sysconf=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_sysconf=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'sysconf`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_SYSCONF 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for uname""... $ac_c" 1>&6
+echo "configure:1333: checking for uname" >&5
+if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1338 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char uname(); 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 uname();
+
+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_uname) || defined (__stub___uname)
+choke me
+#else
+uname();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_uname=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_uname=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'uname`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_UNAME 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for snprintf""... $ac_c" 1>&6
+echo "configure:1384: checking for snprintf" >&5
+if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1389 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char snprintf(); 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 snprintf();
+
+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_snprintf) || defined (__stub___snprintf)
+choke me
+#else
+snprintf();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_snprintf=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_snprintf=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'snprintf`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_SNPRINTF 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
+echo "configure:1435: checking for vsnprintf" >&5
+if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1440 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char vsnprintf(); 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 vsnprintf();
+
+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_vsnprintf) || defined (__stub___vsnprintf)
+choke me
+#else
+vsnprintf();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_vsnprintf=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_vsnprintf=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_VSNPRINTF 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for killpg""... $ac_c" 1>&6
+echo "configure:1486: checking for killpg" >&5
+if eval "test \"`echo '$''{'ac_cv_func_killpg'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1491 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char killpg(); 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 killpg();
+
+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_killpg) || defined (__stub___killpg)
+choke me
+#else
+killpg();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_killpg=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_killpg=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'killpg`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_KILLPG 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for setenv""... $ac_c" 1>&6
+echo "configure:1537: checking for setenv" >&5
+if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1542 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char setenv(); 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 setenv();
+
+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_setenv) || defined (__stub___setenv)
+choke me
+#else
+setenv();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_setenv=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_setenv=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'setenv`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_SETENV 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+
+echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
+echo "configure:1589: 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 1594 "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:1602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+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 1619 "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 1637 "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 1658 "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:1669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./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 whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
+echo "configure:1693: 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 1698 "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:1707: \"$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
+
+ac_header_dirent=no
+for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
+echo "configure:1732: checking for $ac_hdr that defines DIR" >&5
+if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1737 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+#include <$ac_hdr>
+int main() {
+DIR *dirp = 0;
+; return 0; }
+EOF
+if { (eval echo configure:1745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+  rm -rf conftest*
+  eval "ac_cv_header_dirent_$ac_safe=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_header_dirent_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_dirent_'$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
+ ac_header_dirent=$ac_hdr; break
+else
+  echo "$ac_t""no" 1>&6
+fi
+done
+# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
+if test $ac_header_dirent = dirent.h; then
+echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
+echo "configure:1770: checking for opendir in -ldir" >&5
+ac_lib_var=`echo dir'_'opendir | 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="-ldir  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1778 "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 opendir();
+
+int main() {
+opendir()
+; return 0; }
+EOF
+if { (eval echo configure:1789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -ldir"
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+else
+echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
+echo "configure:1811: checking for opendir in -lx" >&5
+ac_lib_var=`echo x'_'opendir | 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="-lx  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1819 "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 opendir();
+
+int main() {
+opendir()
+; return 0; }
+EOF
+if { (eval echo configure:1830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lx"
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+fi
+
+echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
+echo "configure:1853: checking return type of signal handlers" >&5
+if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1858 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+#include <signal.h>
+#ifdef signal
+#undef signal
+#endif
+#ifdef __cplusplus
+extern "C" void (*signal (int, void (*)(int)))(int);
+#else
+void (*signal ()) ();
+#endif
+
+int main() {
+int i;
+; return 0; }
+EOF
+if { (eval echo configure:1875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+  rm -rf conftest*
+  ac_cv_type_signal=void
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  ac_cv_type_signal=int
+fi
+rm -f conftest*
+fi
+
+echo "$ac_t""$ac_cv_type_signal" 1>&6
+cat >> confdefs.h <<EOF
+#define RETSIGTYPE $ac_cv_type_signal
+EOF
+
+
+echo $ac_n "checking for mode_t""... $ac_c" 1>&6
+echo "configure:1894: checking for mode_t" >&5
+if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1899 "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 "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+  rm -rf conftest*
+  ac_cv_type_mode_t=yes
+else
+  rm -rf conftest*
+  ac_cv_type_mode_t=no
+fi
+rm -f conftest*
+
+fi
+echo "$ac_t""$ac_cv_type_mode_t" 1>&6
+if test $ac_cv_type_mode_t = no; then
+  cat >> confdefs.h <<\EOF
+#define mode_t int
+EOF
+
+fi
+
+echo $ac_n "checking for pid_t""... $ac_c" 1>&6
+echo "configure:1927: checking for pid_t" >&5
+if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1932 "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 "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+  rm -rf conftest*
+  ac_cv_type_pid_t=yes
+else
+  rm -rf conftest*
+  ac_cv_type_pid_t=no
+fi
+rm -f conftest*
+
+fi
+echo "$ac_t""$ac_cv_type_pid_t" 1>&6
+if test $ac_cv_type_pid_t = no; then
+  cat >> confdefs.h <<\EOF
+#define pid_t int
+EOF
+
+fi
+
+echo $ac_n "checking for size_t""... $ac_c" 1>&6
+echo "configure:1960: 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 1965 "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 "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
+
+echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
+echo "configure:1993: checking for uid_t in sys/types.h" >&5
+if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1998 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  egrep "uid_t" >/dev/null 2>&1; then
+  rm -rf conftest*
+  ac_cv_type_uid_t=yes
+else
+  rm -rf conftest*
+  ac_cv_type_uid_t=no
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$ac_cv_type_uid_t" 1>&6
+if test $ac_cv_type_uid_t = no; then
+  cat >> confdefs.h <<\EOF
+#define uid_t int
+EOF
+
+  cat >> confdefs.h <<\EOF
+#define gid_t int
+EOF
+
+fi
+
+
+
+echo $ac_n "checking for struct linger""... $ac_c" 1>&6
+echo "configure:2029: checking for struct linger" >&5
+cat > conftest.$ac_ext <<EOF
+#line 2031 "configure"
+#include "confdefs.h"
+#include <sys/socket.h>
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  egrep "struct( |	)*linger" >/dev/null 2>&1; then
+  rm -rf conftest*
+  echo "$ac_t""yes" 1>&6
+else
+  rm -rf conftest*
+  cat >> confdefs.h <<\EOF
+#define NO_STRUCT_LINGER 1
+EOF
+ echo "$ac_t""no" 1>&6
+fi
+rm -f conftest*
+
+
+
+echo $ac_n "checking for sun_len in <sys/un.h>""... $ac_c" 1>&6
+echo "configure:2051: checking for sun_len in <sys/un.h>" >&5
+cat > conftest.$ac_ext <<EOF
+#line 2053 "configure"
+#include "confdefs.h"
+
+#include <sys/un.h>
+
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  egrep "sun_len" >/dev/null 2>&1; then
+  rm -rf conftest*
+  cat >> confdefs.h <<\EOF
+#define HAVE_SUN_LEN 1
+EOF
+ echo "$ac_t""yes" 1>&6
+else
+  rm -rf conftest*
+  echo "$ac_t""no" 1>&6
+fi
+rm -f conftest*
+
+
+
+
+echo $ac_n "checking for getpgid""... $ac_c" 1>&6
+echo "configure:2076: checking for getpgid" >&5
+if eval "test \"`echo '$''{'ac_cv_func_getpgid'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2081 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char getpgid(); 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 getpgid();
+
+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_getpgid) || defined (__stub___getpgid)
+choke me
+#else
+getpgid();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:2104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_getpgid=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_getpgid=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'getpgid`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_GETPGID 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for getpgrp""... $ac_c" 1>&6
+echo "configure:2127: checking for getpgrp" >&5
+if eval "test \"`echo '$''{'ac_cv_func_getpgrp'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2132 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char getpgrp(); 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 getpgrp();
+
+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_getpgrp) || defined (__stub___getpgrp)
+choke me
+#else
+getpgrp();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_getpgrp=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_getpgrp=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'getpgrp`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
+echo "configure:2170: checking whether getpgrp takes no argument" >&5
+if eval "test \"`echo '$''{'ac_cv_func_getpgrp_void'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  if test "$cross_compiling" = yes; then
+  { echo "configure: error: cannot check getpgrp if cross compiling" 1>&2; exit 1; }
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2178 "configure"
+#include "confdefs.h"
+
+/*
+ * If this system has a BSD-style getpgrp(),
+ * which takes a pid argument, exit unsuccessfully.
+ *
+ * Snarfed from Chet Ramey's bash pgrp.c test program
+ */
+#include <stdio.h>
+#include <sys/types.h>
+
+int     pid;
+int     pg1, pg2, pg3, pg4;
+int     ng, np, s, child;
+
+main()
+{
+        pid = getpid();
+        pg1 = getpgrp(0);
+        pg2 = getpgrp();
+        pg3 = getpgrp(pid);
+        pg4 = getpgrp(1);
+
+        /*
+         * If all of these values are the same, it's pretty sure that
+         * we're on a system that ignores getpgrp's first argument.
+         */
+        if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3)
+                exit(0);
+
+        child = fork();
+        if (child < 0)
+                exit(1);
+        else if (child == 0) {
+                np = getpid();
+                /*
+                 * If this is Sys V, this will not work; pgrp will be
+                 * set to np because setpgrp just changes a pgrp to be
+                 * the same as the pid.
+                 */
+                setpgrp(np, pg1);
+                ng = getpgrp(0);        /* Same result for Sys V and BSD */
+                if (ng == pg1) {
+                        exit(1);
+                } else {
+                        exit(0);
+                }
+        } else {
+                wait(&s);
+                exit(s>>8);
+        }
+}
+
+EOF
+if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+then
+  ac_cv_func_getpgrp_void=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -fr conftest*
+  ac_cv_func_getpgrp_void=no
+fi
+rm -fr conftest*
+fi
+
+
+fi
+
+echo "$ac_t""$ac_cv_func_getpgrp_void" 1>&6
+if test $ac_cv_func_getpgrp_void = yes; then
+  cat >> confdefs.h <<\EOF
+#define GETPGRP_VOID 1
+EOF
+
+fi
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+
+
+echo $ac_n "checking for select""... $ac_c" 1>&6
+echo "configure:2263: checking for select" >&5
+if eval "test \"`echo '$''{'ac_cv_func_select'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2268 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char select(); 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 select();
+
+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_select) || defined (__stub___select)
+choke me
+#else
+select();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:2291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_select=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_select=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'select`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  :
+else
+  echo "$ac_t""no" 1>&6
+echo $ac_n "checking for select in -lsocket""... $ac_c" 1>&6
+echo "configure:2309: checking for select in -lsocket" >&5
+ac_lib_var=`echo socket'_'select | 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="-lsocket  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2317 "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 select();
+
+int main() {
+select()
+; return 0; }
+EOF
+if { (eval echo configure:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lsocket"
+else
+  echo "$ac_t""no" 1>&6
+echo $ac_n "checking for select in -lnsl""... $ac_c" 1>&6
+echo "configure:2347: checking for select in -lnsl" >&5
+ac_lib_var=`echo nsl'_'select | 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="-lnsl  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2355 "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 select();
+
+int main() {
+select()
+; return 0; }
+EOF
+if { (eval echo configure:2366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lnsl"
+else
+  echo "$ac_t""no" 1>&6
+echo $ac_n "checking for select in -linet""... $ac_c" 1>&6
+echo "configure:2385: checking for select in -linet" >&5
+ac_lib_var=`echo inet'_'select | 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="-linet  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2393 "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 select();
+
+int main() {
+select()
+; return 0; }
+EOF
+if { (eval echo configure:2404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -linet"
+else
+  echo "$ac_t""no" 1>&6
+echo $ac_n "checking for select in -lcposix""... $ac_c" 1>&6
+echo "configure:2423: checking for select in -lcposix" >&5
+ac_lib_var=`echo cposix'_'select | 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 2431 "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 select();
+
+int main() {
+select()
+; return 0; }
+EOF
+if { (eval echo configure:2442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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
+echo $ac_n "checking for select in -lnet""... $ac_c" 1>&6
+echo "configure:2461: checking for select in -lnet" >&5
+ac_lib_var=`echo net'_'select | 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="-lnet  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2469 "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 select();
+
+int main() {
+select()
+; return 0; }
+EOF
+if { (eval echo configure:2480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lnet"
+else
+  echo "$ac_t""no" 1>&6
+echo "configure: warning: i can not find select.  you might need to help me" 1>&2
+fi
+
+fi
+
+fi
+
+fi
+
+fi
+
+fi
+
+
+
+
+
+if test x$hpux = x1 -o x$aix = x1
+then
+	LIBS="-lcurses $LIBS"
+	cat >> confdefs.h <<\EOF
+#define USING_CURSES 1
+EOF
+
+else
+  olibs="$LIBS"
+  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
+echo "configure:2525: checking for tgetent in -ltermcap" >&5
+ac_lib_var=`echo termcap'_'tgetent | 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="-ltermcap  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2533 "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 tgetent();
+
+int main() {
+tgetent()
+; return 0; }
+EOF
+if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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="-ltermcap $olibs"
+else
+  echo "$ac_t""no" 1>&6
+echo $ac_n "checking for tgetent in -ltermlib""... $ac_c" 1>&6
+echo "configure:2563: checking for tgetent in -ltermlib" >&5
+ac_lib_var=`echo termlib'_'tgetent | 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="-ltermlib  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2571 "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 tgetent();
+
+int main() {
+tgetent()
+; return 0; }
+EOF
+if { (eval echo configure:2582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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="-ltermlib $olibs"
+else
+  echo "$ac_t""no" 1>&6
+echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
+echo "configure:2601: checking for tgetent in -lcurses" >&5
+ac_lib_var=`echo curses'_'tgetent | 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 2609 "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 tgetent();
+
+int main() {
+tgetent()
+; return 0; }
+EOF
+if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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="-lcurses $olibs"
+else
+  echo "$ac_t""no" 1>&6
+echo $ac_n "checking for tgetent in -lxtermcap""... $ac_c" 1>&6
+echo "configure:2639: checking for tgetent in -lxtermcap" >&5
+ac_lib_var=`echo xtermcap'_'tgetent | 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="-lxtermcap  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2647 "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 tgetent();
+
+int main() {
+tgetent()
+; return 0; }
+EOF
+if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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="-lxtermcap $olibs"
+else
+  echo "$ac_t""no" 1>&6
+echo "configure: warning: i can not find tgetent.  you might need to help me" 1>&2
+fi
+
+fi
+
+fi
+
+fi
+
+fi
+
+
+echo $ac_n "checking for sys_siglist declaration""... $ac_c" 1>&6
+echo "configure:2689: checking for sys_siglist declaration" >&5
+if test "$cross_compiling" = yes; then
+  :
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2694 "configure"
+#include "confdefs.h"
+
+#include <sys/types.h>
+#include <signal.h>
+main()
+{
+	char *s = sys_siglist[0];
+	exit(0);
+}
+
+EOF
+if { (eval echo configure:2706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+then
+  echo "$ac_t""yes" 1>&6 
+  sys_siglist="1"
+  cat >> confdefs.h <<\EOF
+#define SYS_SIGLIST_DECLARED 1
+EOF
+
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -fr conftest*
+  echo "$ac_t""no" 1>&6
+fi
+rm -fr conftest*
+fi
+
+
+
+if test x$sys_siglist != x1
+then
+echo "generating a list of signal names..."
+set X `cat /usr/include/signal.h /usr/include/sys/signal.h /usr/include/linux/signal.h 2>&1 | sed 's/^#[	]*/#/' | awk '
+$1 ~ /^#define$/ && $2 ~ /^SIG[A-Z0-9]*$/ && $3 ~ /^[1-9][0-9]*$/ {
+  sig[$3] = substr($2,4,20)
+  if (max < $3 && $3 < 60) {
+	max = $3
+  }
+}
+
+END {
+  for (i=1; i<=max; i++) {
+    if (sig[i] == "")
+      printf "%d", i
+    else
+      printf "%s", sig[i]
+    if (i < max)
+      printf " "
+  }
+  printf "\n"
+}
+'`
+shift
+case $# in
+0)
+  if test -f /bin/csh; then
+     set X `/bin/csh -cf 'kill -l'`
+     shift
+     case $* in
+     0) 
+       set HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM
+       ;;
+    esac
+  fi
+  ;;
+esac
+
+sig_name="ZERO $*"
+if test -f source/sig.inc; then
+  /bin/rm -f source/sig.inc
+fi
+echo $sig_name | sed -e 's/$/"};/' -e 's/ /", "/g' -e 's/^/char *sys_siglist[] = { "/' >> source/sig.inc
+fi
+
+
+echo $ac_n "checking for strerror""... $ac_c" 1>&6
+echo "configure:2772: checking for strerror" >&5
+if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2777 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char strerror(); 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 strerror();
+
+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_strerror) || defined (__stub___strerror)
+choke me
+#else
+strerror();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:2800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_strerror=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_strerror=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'strerror`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define HAVE_STRERROR 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+echo $ac_n "checking for sys_errlist declaration""... $ac_c" 1>&6
+echo "configure:2821: checking for sys_errlist declaration" >&5
+if test "$cross_compiling" = yes; then
+  :
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2826 "configure"
+#include "confdefs.h"
+
+#include <sys/types.h>
+#include <stdio.h>
+#include <errno.h>
+main()
+{
+  char *s = sys_errlist0;
+  exit(0);
+}
+
+EOF
+if { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+then
+  echo "$ac_t""yes" 1>&6
+  cat >> confdefs.h <<\EOF
+#define SYS_ERRLIST_DECLARED 1
+EOF
+
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -fr conftest*
+  echo "$ac_t""no" 1>&6
+fi
+rm -fr conftest*
+fi
+
+fi
+
+
+
+
+
+echo $ac_n "checking size of unsigned int""... $ac_c" 1>&6
+echo "configure:2862: checking size of unsigned int" >&5
+if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_int'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  if test "$cross_compiling" = yes; then
+  ac_cv_sizeof_unsigned_int=4
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2870 "configure"
+#include "confdefs.h"
+#include <stdio.h>
+main()
+{
+  FILE *f=fopen("conftestval", "w");
+  if (!f) exit(1);
+  fprintf(f, "%d\n", sizeof(unsigned int));
+  exit(0);
+}
+EOF
+if { (eval echo configure:2881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+then
+  ac_cv_sizeof_unsigned_int=`cat conftestval`
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -fr conftest*
+  ac_cv_sizeof_unsigned_int=0
+fi
+rm -fr conftest*
+fi
+
+fi
+echo "$ac_t""$ac_cv_sizeof_unsigned_int" 1>&6
+cat >> confdefs.h <<EOF
+#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
+EOF
+
+
+if test "$ac_cv_sizeof_unsigned_int" = 4; then
+	cat >> confdefs.h <<\EOF
+#define UNSIGNED_INT32 1
+EOF
+
+else
+	echo $ac_n "checking size of unsigned long""... $ac_c" 1>&6
+echo "configure:2907: checking size of unsigned long" >&5
+if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  if test "$cross_compiling" = yes; then
+  ac_cv_sizeof_unsigned_long=4
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2915 "configure"
+#include "confdefs.h"
+#include <stdio.h>
+main()
+{
+  FILE *f=fopen("conftestval", "w");
+  if (!f) exit(1);
+  fprintf(f, "%d\n", sizeof(unsigned long));
+  exit(0);
+}
+EOF
+if { (eval echo configure:2926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+then
+  ac_cv_sizeof_unsigned_long=`cat conftestval`
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -fr conftest*
+  ac_cv_sizeof_unsigned_long=0
+fi
+rm -fr conftest*
+fi
+
+fi
+echo "$ac_t""$ac_cv_sizeof_unsigned_long" 1>&6
+cat >> confdefs.h <<EOF
+#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
+EOF
+
+
+	if test "$ac_cv_sizeof_unsigned_long" = 4; then
+		cat >> confdefs.h <<\EOF
+#define UNSIGNED_LONG32 1
+EOF
+
+	else
+		cat >> confdefs.h <<\EOF
+#define UNKNOWN_32INT 1
+EOF
+
+	fi
+fi
+
+
+if test -z "$libsocket"; then
+	echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
+echo "configure:2961: checking for socket in -lsocket" >&5
+ac_lib_var=`echo socket'_'socket | 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="-lsocket  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2969 "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:2980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lsocket"
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+fi
+
+if test -z "$libinet"; then
+	echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6
+echo "configure:3004: checking for socket in -linet" >&5
+ac_lib_var=`echo inet'_'socket | 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="-linet  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 3012 "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:3023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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
+  libnsl=1; LIBS="$LIBS -linet -lnsl_s"
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+fi
+
+if test -z "$libnsl"; then
+	echo $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6
+echo "configure:3047: checking for gethostname in -lnsl" >&5
+ac_lib_var=`echo nsl'_'gethostname | 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="-lnsl  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 3055 "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 gethostname();
+
+int main() {
+gethostname()
+; return 0; }
+EOF
+if { (eval echo configure:3066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lnsl"
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+fi
+
+echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6
+echo "configure:3089: checking for getpwnam in -lsun" >&5
+ac_lib_var=`echo sun'_'getpwnam | 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="-lsun  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 3097 "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 getpwnam();
+
+int main() {
+getpwnam()
+; return 0; }
+EOF
+if { (eval echo configure:3108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lsun"
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for inet_addr in -ldgc""... $ac_c" 1>&6
+echo "configure:3129: checking for inet_addr in -ldgc" >&5
+ac_lib_var=`echo dgc'_'inet_addr | 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="-ldgc  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 3137 "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 inet_addr();
+
+int main() {
+inet_addr()
+; return 0; }
+EOF
+if { (eval echo configure:3148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -ldgc"
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6
+echo "configure:3169: checking for gethostbyname in -lresolv" >&5
+ac_lib_var=`echo resolv'_'gethostbyname | 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="-lresolv  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 3177 "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:3188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lresolv"
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+echo $ac_n "checking for malloc in -lgnumalloc""... $ac_c" 1>&6
+echo "configure:3209: checking for malloc in -lgnumalloc" >&5
+ac_lib_var=`echo gnumalloc'_'malloc | 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="-lgnumalloc  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 3217 "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 malloc();
+
+int main() {
+malloc()
+; return 0; }
+EOF
+if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lgnumalloc"
+else
+  echo "$ac_t""no" 1>&6
+echo $ac_n "checking for malloc in -lbsdmalloc""... $ac_c" 1>&6
+echo "configure:3247: checking for malloc in -lbsdmalloc" >&5
+ac_lib_var=`echo bsdmalloc'_'malloc | 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="-lbsdmalloc  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 3255 "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 malloc();
+
+int main() {
+malloc()
+; return 0; }
+EOF
+if { (eval echo configure:3266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lbsdmalloc"
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+fi
+
+
+
+echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+echo "configure:3291: checking for pthread_create in -lpthread" >&5
+ac_lib_var=`echo pthread'_'pthread_create | 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="-lpthread  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 3299 "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 pthread_create();
+
+int main() {
+pthread_create()
+; return 0; }
+EOF
+if { (eval echo configure:3310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lpthread" ; 
+		cat >> confdefs.h <<\EOF
+#define HAVE_PTHREADS 1
+EOF
+
+else
+  echo "$ac_t""no" 1>&6
+echo "configure: warning: Could not find the pthread library.. nifty features disabled." 1>&2
+fi
+
+
+
+if test -z "$CFLAGS"; then CFLAGS=-g -O; 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) 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.12"
+    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 "scripts/Makeconfig include/defs.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%@CFLAGS@%$CFLAGS%g
+s%@CPPFLAGS@%$CPPFLAGS%g
+s%@CXXFLAGS@%$CXXFLAGS%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%@CC@%$CC%g
+s%@CPP@%$CPP%g
+s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+s%@INSTALL_DATA@%$INSTALL_DATA%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-"scripts/Makeconfig"}
+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="include/defs.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
+
+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 "There we go! That didn't hurt, did it? You might want to"
+echo "look in include/config.h and see if there is anything"
+echo "you want to change, else you can just run make here..."
+echo "Good luck..."
+echo ""
+
+
Index: xaric/scripts/configure.in
diff -u /dev/null xaric/scripts/configure.in:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/scripts/configure.in	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,322 @@
+dnl ------------------------------------------------------------
+dnl Configure.in for Xaric. Copyright (C) Rex G. Feany 1998
+dnl except for those bits attributed otherwize
+dnl
+dnl @(#)$Id: configure.in,v 1.1.1.1 1999/10/20 20:32:53 laeos Exp $
+dnl -------------------------------------------------------------
+
+
+AC_REVISION($Revision: 1.1.1.1 $)dnl
+AC_INIT(source/ctcp.c)
+AC_CONFIG_AUX_DIR(scripts)
+AC_CONFIG_HEADER(include/defs.h)
+
+dnl ---------------------------------------------------------------
+dnl Heading
+dnl ---------------------------------------------------------------
+
+echo ""
+echo "This is Xaric's GNU autoconf script."
+echo "It is going to run a bunch of strange tests"
+echo "and hopefully make xaric compile on your machine."
+echo ""
+
+dnl ----------------------------------------------------------------
+dnl Initial stuff
+dnl ----------------------------------------------------------------
+
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_INSTALL
+AC_ISC_POSIX
+AC_AIX
+
+dnl ----------------------------------------------------------
+dnl System specific checks
+dnl ----------------------------------------------------------
+
+unamer=`uname -r 2> /dev/null`
+unames=`uname -s 2> /dev/null`
+
+
+dnl ----------------------------------------------------------
+dnl Checking for qnx
+dnl ----------------------------------------------------------
+
+AC_MSG_CHECKING(for qnx)
+case "$unames" in
+  QNX*)
+    AC_MSG_RESULT(yes)
+    LDFLAGS=-N64k                  dnl 64k of stack
+    CFLAGS="-w4 -O -g -fi=unix.h"  dnl better compile options
+  ;;
+  *)
+    AC_MSG_RESULT(no)
+esac
+
+dnl -----------------------------------------------------------
+dnl Checking for svr4's /usr/ccs/lib
+dnl -----------------------------------------------------------
+
+AC_MSG_CHECKING(for svr4's /usr/ccs/lib)
+if test -d /usr/ccs/lib; then
+	LIBS="-L/usr/ccs/lib $LIBS"
+	AC_MSG_RESULT(found it!)
+else
+	AC_MSG_RESULT(no)
+fi
+
+dnl ----------------------------------------------------------
+dnl Checking for headers, functions, and a type declarations
+dnl ----------------------------------------------------------
+
+AC_CHECK_HEADERS(fcntl.h netdb.h)
+AC_CHECK_HEADERS(sys/fcntl.h sys/file.h sys/ptem.h sys/select.h)
+AC_CHECK_HEADERS(sys/syslimits.h sys/time.h sys/twg_config.h sys/un.h)
+AC_CHECK_HEADERS(sys/termios.h sys/ttycom.h termcap.h)
+
+AC_CHECK_FUNC(getpass, AC_DEFINE(HAVE_GETPASS),)
+AC_CHECK_FUNC(fpathconf, AC_DEFINE(HAVE_FPATHCONF),)
+AC_CHECK_FUNC(gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY),)
+AC_CHECK_FUNC(strtoul,, AC_DEFINE(NEED_STRTOUL))
+AC_CHECK_FUNC(sysconf, AC_DEFINE(HAVE_SYSCONF),)
+AC_CHECK_FUNC(uname, AC_DEFINE(HAVE_UNAME),)
+AC_CHECK_FUNC(snprintf, AC_DEFINE(HAVE_SNPRINTF),)
+AC_CHECK_FUNC(vsnprintf, AC_DEFINE(HAVE_VSNPRINTF),)
+AC_CHECK_FUNC(killpg, AC_DEFINE(HAVE_KILLPG),)
+AC_CHECK_FUNC(setenv, AC_DEFINE(HAVE_SETENV),)
+
+AC_HEADER_STDC
+AC_HEADER_TIME
+AC_HEADER_DIRENT
+AC_TYPE_SIGNAL
+AC_TYPE_MODE_T
+AC_TYPE_PID_T
+AC_TYPE_SIZE_T
+AC_TYPE_UID_T
+
+dnl ----------------------------------------------------------
+dnl check for struct linger
+dnl ----------------------------------------------------------
+
+AC_MSG_CHECKING(for struct linger)
+AC_EGREP_HEADER([struct( |	)*linger], sys/socket.h, AC_MSG_RESULT(yes), AC_DEFINE(NO_STRUCT_LINGER) AC_MSG_RESULT(no, ugh.))
+
+dnl ----------------------------------------------------------
+dnl sun_len in <sys/un.h>?
+dnl ----------------------------------------------------------
+
+AC_MSG_CHECKING(for sun_len in <sys/un.h>)
+AC_EGREP_CPP([sun_len], 
+[
+#include <sys/un.h>
+], AC_DEFINE(HAVE_SUN_LEN) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
+
+
+dnl ----------------------------------------------------------
+dnl
+dnl svr3's getpgrp() didnt take arguments.  BSD's did.
+dnl POSIX said that there wasnt any usefulness to giving arguments
+dnl to getpgrp(), so that was forbidden.  So svr4 made a new syscall
+dnl getpgid() to fill in this functionality gap (grrrr).  BSD still
+dnl doesnt have any way to do it, even though they were the ones that
+dnl originally wanted to have it around, but svr3 insisted not so. (grrr)
+dnl
+
+AC_CHECK_FUNC(getpgid, AC_DEFINE(HAVE_GETPGID),)
+AC_CHECK_FUNC(getpgrp, AC_FUNC_GETPGRP,)
+
+dnl ----------------------------------------------------------
+dnl
+dnl checking for select()
+dnl
+
+AC_CHECK_FUNC(select, ,
+  AC_CHECK_LIB(socket, select, LIBS="$LIBS -lsocket",
+    AC_CHECK_LIB(nsl, select, LIBS="$LIBS -lnsl",
+      AC_CHECK_LIB(inet, select, LIBS="$LIBS -linet",
+        AC_CHECK_LIB(cposix, select, LIBS="$LIBS -lcposix",
+          AC_CHECK_LIB(net, select, LIBS="$LIBS -lnet",
+            AC_MSG_WARN(i can not find select.  you might need to help me)))))))
+
+
+
+dnl ----------------------------------------------------------
+dnl termcap or curses
+dnl ----------------------------------------------------------
+
+if test x$hpux = x1 -o x$aix = x1
+then
+	LIBS="-lcurses $LIBS"
+	AC_DEFINE(USING_CURSES)
+else
+  olibs="$LIBS"
+  AC_CHECK_LIB(termcap, tgetent, LIBS="-ltermcap $olibs",
+    AC_CHECK_LIB(termlib, tgetent, LIBS="-ltermlib $olibs",
+      AC_CHECK_LIB(curses, tgetent, LIBS="-lcurses $olibs",
+        AC_CHECK_LIB(xtermcap, tgetent, LIBS="-lxtermcap $olibs",
+          AC_MSG_WARN(i can not find tgetent.  you might need to help me)))))
+fi
+
+dnl ----------------------------------------------------------
+dnl Check for sys_siglist declaration
+dnl ----------------------------------------------------------
+
+AC_MSG_CHECKING(for sys_siglist declaration)
+AC_TRY_RUN([
+#include <sys/types.h>
+#include <signal.h>
+main()
+{
+	char *s = sys_siglist[0];
+	exit(0);
+}
+],
+  AC_MSG_RESULT(yes) 
+  sys_siglist="1"
+  AC_DEFINE(SYS_SIGLIST_DECLARED), 
+  AC_MSG_RESULT(no), :)
+
+dnl ----------------------------------------------------------
+dnl Generate signal list
+dnl This is all stolen from perl-4.036's Configure.  larry is god.
+dnl ----------------------------------------------------------
+
+if test x$sys_siglist != x1
+then
+echo "generating a list of signal names..."
+set X `cat /usr/include/signal.h /usr/include/sys/signal.h /usr/include/linux/signal.h 2>&1 | sed 's/^#[	]*/#/' | awk '
+$1 ~ /^#define$/ && $2 ~ /^SIG[A-Z0-9]*$/ && $3 ~ /^[1-9][0-9]*$/ {
+  [sig[$3] = substr($2,4,20)]
+  if (max < $3 && $3 < 60) {
+	max = $3
+  }
+}
+
+END {
+  for (i=1; i<=max; i++) {
+    [if (sig[i] == "")]
+      printf "%d", i
+    else
+      [printf "%s", sig[i]]
+    if (i < max)
+      printf " "
+  }
+  printf "\n"
+}
+'`
+shift
+case $# in
+0)
+  if test -f /bin/csh; then
+     set X `/bin/csh -cf 'kill -l'`
+     shift
+     case $* in
+     0) 
+       set HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM
+       ;;
+    esac
+  fi
+  ;;
+esac
+
+sig_name="ZERO $*"
+if test -f source/sig.inc; then
+  /bin/rm -f source/sig.inc
+fi
+[echo $sig_name | sed -e 's/$/"};/' -e 's/ /", "/g' -e 's/^/char *sys_siglist[] = { "/' >> source/sig.inc]
+fi
+
+dnl ----------------------------------------------------------
+dnl check for sys_errlist declaration
+dnl ----------------------------------------------------------
+
+AC_CHECK_FUNC(strerror, AC_DEFINE(HAVE_STRERROR),
+AC_MSG_CHECKING(for sys_errlist declaration)
+AC_TRY_RUN([
+#include <sys/types.h>
+#include <stdio.h>
+#include <errno.h>
+main()
+{
+  char *s = sys_errlist[0];
+  exit(0);
+}
+],
+  AC_MSG_RESULT(yes)
+  AC_DEFINE(SYS_ERRLIST_DECLARED),
+  AC_MSG_RESULT(no), :))
+
+
+
+dnl ----------------------------------------------------------
+dnl need this for dcc stuff
+dnl ----------------------------------------------------------
+
+AC_CHECK_SIZEOF(unsigned int, 4)
+if test "$ac_cv_sizeof_unsigned_int" = 4; then
+	AC_DEFINE(UNSIGNED_INT32)
+else
+	AC_CHECK_SIZEOF(unsigned long, 4)
+	if test "$ac_cv_sizeof_unsigned_long" = 4; then
+		AC_DEFINE(UNSIGNED_LONG32)
+	else
+		AC_DEFINE(UNKNOWN_32INT)
+	fi
+fi
+
+dnl ----------------------------------------------------------
+dnl libraries
+dnl ----------------------------------------------------------
+
+if test -z "$libsocket"; then
+	AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket",)
+fi
+
+dnl this is for isc.  need the nsl_s library as well.
+if test -z "$libinet"; then
+	AC_CHECK_LIB(inet, socket, libnsl=1; LIBS="$LIBS -linet -lnsl_s",)
+fi
+
+if test -z "$libnsl"; then
+	AC_CHECK_LIB(nsl, gethostname, LIBS="$LIBS -lnsl",)
+fi
+
+AC_CHECK_LIB(sun, getpwnam, LIBS="$LIBS -lsun",)
+AC_CHECK_LIB(dgc, inet_addr, LIBS="$LIBS -ldgc",)
+AC_CHECK_LIB(resolv, gethostbyname, LIBS="$LIBS -lresolv",)
+AC_CHECK_LIB(gnumalloc, malloc, LIBS="$LIBS -lgnumalloc",
+AC_CHECK_LIB(bsdmalloc, malloc, LIBS="$LIBS -lbsdmalloc",))
+
+dnl ------------------------------------------------------------ 
+dnl Check for pthreads
+dnl ------------------------------------------------------------
+
+AC_CHECK_LIB(pthread, pthread_create, 
+		LIBS="$LIBS -lpthread" ; 
+		AC_DEFINE(HAVE_PTHREADS), 
+		AC_MSG_WARN(Could not find the pthread library.. nifty features disabled.))
+
+dnl ----------------------------------------------------------
+dnl set some last minute sanity defaults
+dnl ----------------------------------------------------------
+
+if test -z "$CFLAGS"; then CFLAGS=-g -O; fi
+
+AC_SUBST(CFLAGS)
+AC_SUBST(LDFLAGS)
+AC_OUTPUT(scripts/Makeconfig)
+
+
+dnl ----------------------------------------------------------
+dnl Commencement
+dnl ----------------------------------------------------------
+
+echo ""
+echo "There we go! That didn't hurt, did it? You might want to"
+echo "look in include/config.h and see if there is anything"
+echo "you want to change, else you can just run make here..."
+echo "Good luck..."
+echo ""
+
+
Index: xaric/scripts/depend.sh
diff -u /dev/null xaric/scripts/depend.sh:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/scripts/depend.sh	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+base_dir=`echo $1 | sed -e 's@\(.*\)/\(.*.c\)\$@\1/@'`
+
+gcc -M -MG $* | sed -e 's@ /[^ ]*@@g' -e "s@^\(.*\)\.o:@$base_dir\1.d $base_dir\1.o:@"
+
Index: xaric/scripts/install-sh
diff -u /dev/null xaric/scripts/install-sh:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/scripts/install-sh	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,250 @@
+#!/bin/sh
+#
+# install - install a program, script, or datafile
+# This comes from X11R5 (mit/util/scripts/install.sh).
+#
+# Copyright 1991 by the Massachusetts Institute of Technology
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of M.I.T. not be used in advertising or
+# publicity pertaining to distribution of the software without specific,
+# written prior permission.  M.I.T. makes no representations about the
+# suitability of this software for any purpose.  It is provided "as is"
+# without express or implied warranty.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# `make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.  It can only install one file at a time, a restriction
+# shared with many OS's install programs.
+
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit="${DOITPROG-}"
+
+
+# put in absolute paths if you don't have them in your path; or use env. vars.
+
+mvprog="${MVPROG-mv}"
+cpprog="${CPPROG-cp}"
+chmodprog="${CHMODPROG-chmod}"
+chownprog="${CHOWNPROG-chown}"
+chgrpprog="${CHGRPPROG-chgrp}"
+stripprog="${STRIPPROG-strip}"
+rmprog="${RMPROG-rm}"
+mkdirprog="${MKDIRPROG-mkdir}"
+
+transformbasename=""
+transform_arg=""
+instcmd="$mvprog"
+chmodcmd="$chmodprog 0755"
+chowncmd=""
+chgrpcmd=""
+stripcmd=""
+rmcmd="$rmprog -f"
+mvcmd="$mvprog"
+src=""
+dst=""
+dir_arg=""
+
+while [ x"$1" != x ]; do
+    case $1 in
+	-c) instcmd="$cpprog"
+	    shift
+	    continue;;
+
+	-d) dir_arg=true
+	    shift
+	    continue;;
+
+	-m) chmodcmd="$chmodprog $2"
+	    shift
+	    shift
+	    continue;;
+
+	-o) chowncmd="$chownprog $2"
+	    shift
+	    shift
+	    continue;;
+
+	-g) chgrpcmd="$chgrpprog $2"
+	    shift
+	    shift
+	    continue;;
+
+	-s) stripcmd="$stripprog"
+	    shift
+	    continue;;
+
+	-t=*) transformarg=`echo $1 | sed 's/-t=//'`
+	    shift
+	    continue;;
+
+	-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
+	    shift
+	    continue;;
+
+	*)  if [ x"$src" = x ]
+	    then
+		src=$1
+	    else
+		# this colon is to work around a 386BSD /bin/sh bug
+		:
+		dst=$1
+	    fi
+	    shift
+	    continue;;
+    esac
+done
+
+if [ x"$src" = x ]
+then
+	echo "install:	no input file specified"
+	exit 1
+else
+	true
+fi
+
+if [ x"$dir_arg" != x ]; then
+	dst=$src
+	src=""
+	
+	if [ -d $dst ]; then
+		instcmd=:
+	else
+		instcmd=mkdir
+	fi
+else
+
+# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
+# might cause directories to be created, which would be especially bad 
+# if $src (and thus $dsttmp) contains '*'.
+
+	if [ -f $src -o -d $src ]
+	then
+		true
+	else
+		echo "install:  $src does not exist"
+		exit 1
+	fi
+	
+	if [ x"$dst" = x ]
+	then
+		echo "install:	no destination specified"
+		exit 1
+	else
+		true
+	fi
+
+# If destination is a directory, append the input filename; if your system
+# does not like double slashes in filenames, you may need to add some logic
+
+	if [ -d $dst ]
+	then
+		dst="$dst"/`basename $src`
+	else
+		true
+	fi
+fi
+
+## this sed command emulates the dirname command
+dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+
+# Make sure that the destination directory exists.
+#  this part is taken from Noah Friedman's mkinstalldirs script
+
+# Skip lots of stat calls in the usual case.
+if [ ! -d "$dstdir" ]; then
+defaultIFS='	
+'
+IFS="${IFS-${defaultIFS}}"
+
+oIFS="${IFS}"
+# Some sh's can't handle IFS=/ for some reason.
+IFS='%'
+set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
+IFS="${oIFS}"
+
+pathcomp=''
+
+while [ $# -ne 0 ] ; do
+	pathcomp="${pathcomp}${1}"
+	shift
+
+	if [ ! -d "${pathcomp}" ] ;
+        then
+		$mkdirprog "${pathcomp}"
+	else
+		true
+	fi
+
+	pathcomp="${pathcomp}/"
+done
+fi
+
+if [ x"$dir_arg" != x ]
+then
+	$doit $instcmd $dst &&
+
+	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
+	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
+	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
+	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
+else
+
+# If we're going to rename the final executable, determine the name now.
+
+	if [ x"$transformarg" = x ] 
+	then
+		dstfile=`basename $dst`
+	else
+		dstfile=`basename $dst $transformbasename | 
+			sed $transformarg`$transformbasename
+	fi
+
+# don't allow the sed command to completely eliminate the filename
+
+	if [ x"$dstfile" = x ] 
+	then
+		dstfile=`basename $dst`
+	else
+		true
+	fi
+
+# Make a temp file name in the proper directory.
+
+	dsttmp=$dstdir/#inst.$$#
+
+# Move or copy the file name to the temp name
+
+	$doit $instcmd $src $dsttmp &&
+
+	trap "rm -f ${dsttmp}" 0 &&
+
+# and set any options; do chmod last to preserve setuid bits
+
+# If any of these fail, we abort the whole thing.  If we want to
+# ignore errors from any of these, just make sure not to ignore
+# errors from the above "$doit $instcmd $src $dsttmp" command.
+
+	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
+	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
+	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
+	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
+
+# Now rename the file to the real destination.
+
+	$doit $rmcmd -f $dstdir/$dstfile &&
+	$doit $mvcmd $dsttmp $dstdir/$dstfile 
+
+fi &&
+
+
+exit 0
Index: xaric/scripts/mkinstalldirs
diff -u /dev/null xaric/scripts/mkinstalldirs:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/scripts/mkinstalldirs	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,33 @@
+#!/bin/sh
+# mkinstalldirs --- make directory hierarchy
+# Author: Noah Friedman <friedman@prep.ai.mit.edu>
+# Created: 1993-05-16
+# Last modified: 1994-03-25
+# Public domain
+# @(#)$Id: mkinstalldirs,v 1.1.1.1 1999/10/20 20:32:53 laeos Exp $
+
+errstatus=0
+
+for file in ${1+"$@"} ; do 
+   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+   shift
+
+   pathcomp=
+   for d in ${1+"$@"} ; do
+     pathcomp="$pathcomp$d"
+     case "$pathcomp" in
+       -* ) pathcomp=./$pathcomp ;;
+     esac
+
+     if test ! -d "$pathcomp"; then
+        echo "mkdir $pathcomp" 1>&2
+        mkdir "$pathcomp" || errstatus=$?
+     fi
+
+     pathcomp="$pathcomp/"
+   done
+done
+
+exit $errstatus
+
+# mkinstalldirs ends here
Index: xaric/scripts/module.mk
diff -u /dev/null xaric/scripts/module.mk:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/scripts/module.mk	Wed Oct 20 13:32:53 1999
@@ -0,0 +1,5 @@
+
+EXTRADIST += scripts/Makeconfig.in scripts/configure scripts/configure.in \
+             scripts/depend.sh scripts/install-sh scripts/mkinstalldirs \
+	     scripts/module.mk
+
Index: xaric/source/Makefile.am
diff -u xaric/source/Makefile.am:1.1.1.1 LAEOS/xaric/source/Makefile.am:1.2
--- xaric/source/Makefile.am:1.1.1.1	Wed Oct 20 13:33:42 1999
+++ xaric/source/Makefile.am	Wed Oct 20 16:02:18 1999
@@ -3,10 +3,6 @@
 
 bin_PROGRAMS = xaric
 
-xaric_LDADD = @PERL_OBJ@ @perllibs@ 
-
-PERL_CFLAGS = @PERL_CFLAGS@
-
 xaric_SOURCES = \
 	alist.c alias.c alloca.c cmd_modes.c commands.c ctcp.c dcc.c     \
 	debug.c env.c exec.c files.c flood.c fset.c functions.c funny.c  \
@@ -16,19 +12,7 @@
 	reg.c screen.c server.c status.c term.c timer.c vars.c whois.c   \
 	whowas.c window.c words.c tcommand.c ternary.c ncommand.c  \
 	cmd_hostname.c cmd_who.c cmd_scan.c cmd_save.c cmd_orignick.c
-
-xaric_DEPENDENCIES = @PERL_OBJ@
-
-EXTRA_DIST = expr.c x_perl.xs x_perlxsi.c
-DISTCLEAN_FILES = x_perl.c 
-
 
-x_perl.o: dummy
-	$(path_perl) @theperllib@/ExtUtils/xsubpp -prototypes -typemap @theperllib@/ExtUtils/typemap x_perl.xs > x_perl.c
-	$(COMPILE) $(PERL_CFLAGS) -c -o x_perl.o x_perl.c
+EXTRA_DIST = expr.c 
 
-x_perlxsi.o: dummy
-	$(COMPILE) $(PERL_CFLAGS) -c -o x_perlxsi.o x_perlxsi.c
 
-.PHONY: dummy
-		
Index: xaric/source/Makefile.in
diff -u xaric/source/Makefile.in:1.1.1.1 LAEOS/xaric/source/Makefile.in:1.2
--- xaric/source/Makefile.in:1.1.1.1	Wed Oct 20 13:33:42 1999
+++ xaric/source/Makefile.in	Wed Oct 20 16:02:18 1999
@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.3 from Makefile.am
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 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.
@@ -11,7 +11,7 @@
 # PARTICULAR PURPOSE.
 
 
-SHELL = /bin/sh
+SHELL = @SHELL@
 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
@@ -32,7 +32,7 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DISTDIR =
+DESTDIR =
 
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -46,7 +46,7 @@
 AUTOHEADER = @AUTOHEADER@
 
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 transform = @program_transform_name@
@@ -63,33 +63,14 @@
 LDFLAGS = @LDFLAGS@
 MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
-PERL_OBJ = @PERL_OBJ@
-PERL_SRC = @PERL_SRC@
 VERSION = @VERSION@
-path_perl = @path_perl@
-perllibs = @perllibs@
-theperllib = @theperllib@
 
 bin_PROGRAMS = xaric
 
-xaric_LDADD = @PERL_OBJ@ @perllibs@ 
+xaric_SOURCES =  	alist.c alias.c alloca.c cmd_modes.c commands.c ctcp.c dcc.c     	debug.c env.c exec.c files.c flood.c fset.c functions.c funny.c  	hash.c help.c history.c hook.c ignore.c input.c irc.c ircaux.c   	ircsig.c keys.c lastlog.c list.c log.c misc.c names.c network.c  	newio.c notice.c notify.c numbers.c output.c parse.c readlog.c   	reg.c screen.c server.c status.c term.c timer.c vars.c whois.c   	whowas.c window.c words.c tcommand.c ternary.c ncommand.c  	cmd_hostname.c cmd_who.c cmd_scan.c cmd_save.c cmd_orignick.c
 
-PERL_CFLAGS = @PERL_CFLAGS@
 
-xaric_SOURCES = \
-	alist.c alias.c alloca.c cmd_modes.c commands.c ctcp.c dcc.c     \
-	debug.c env.c exec.c files.c flood.c fset.c functions.c funny.c  \
-	hash.c help.c history.c hook.c ignore.c input.c irc.c ircaux.c   \
-	ircsig.c keys.c lastlog.c list.c log.c misc.c names.c network.c  \
-	newio.c notice.c notify.c numbers.c output.c parse.c readlog.c   \
-	reg.c screen.c server.c status.c term.c timer.c vars.c whois.c   \
-	whowas.c window.c words.c tcommand.c ternary.c ncommand.c  \
-	cmd_hostname.c cmd_who.c cmd_scan.c cmd_save.c cmd_orignick.c
-
-xaric_DEPENDENCIES = @PERL_OBJ@
-
-EXTRA_DIST = expr.c x_perl.xs x_perlxsi.c
-DISTCLEAN_FILES = x_perl.c 
+EXTRA_DIST = expr.c 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../include/config.h
 CONFIG_CLEAN_FILES = 
@@ -107,27 +88,43 @@
 status.o term.o timer.o vars.o whois.o whowas.o window.o words.o \
 tcommand.o ternary.o ncommand.o cmd_hostname.o cmd_who.o cmd_scan.o \
 cmd_save.o cmd_orignick.o
+xaric_LDADD = $(LDADD)
+xaric_DEPENDENCIES = 
 xaric_LDFLAGS = 
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+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 = tar
-GZIP = --best
+GZIP_ENV = --best
+DEP_FILES =  .deps/alias.P .deps/alist.P .deps/alloca.P \
+.deps/cmd_hostname.P .deps/cmd_modes.P .deps/cmd_orignick.P \
+.deps/cmd_save.P .deps/cmd_scan.P .deps/cmd_who.P .deps/commands.P \
+.deps/ctcp.P .deps/dcc.P .deps/debug.P .deps/env.P .deps/exec.P \
+.deps/files.P .deps/flood.P .deps/fset.P .deps/functions.P \
+.deps/funny.P .deps/hash.P .deps/help.P .deps/history.P .deps/hook.P \
+.deps/ignore.P .deps/input.P .deps/irc.P .deps/ircaux.P .deps/ircsig.P \
+.deps/keys.P .deps/lastlog.P .deps/list.P .deps/log.P .deps/misc.P \
+.deps/names.P .deps/ncommand.P .deps/network.P .deps/newio.P \
+.deps/notice.P .deps/notify.P .deps/numbers.P .deps/output.P \
+.deps/parse.P .deps/readlog.P .deps/reg.P .deps/screen.P .deps/server.P \
+.deps/status.P .deps/tcommand.P .deps/term.P .deps/ternary.P \
+.deps/timer.P .deps/vars.P .deps/whois.P .deps/whowas.P .deps/window.P \
+.deps/words.P
 SOURCES = $(xaric_SOURCES)
 OBJECTS = $(xaric_OBJECTS)
-
-all: Makefile $(PROGRAMS)
 
+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 --include-deps source/Makefile
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu source/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
 	cd $(top_builddir) \
 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -146,20 +143,17 @@
 	$(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 '$(transform)'`"; \
-	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
+	    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 '$(transform)'`; \
+	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
 	done
 
-.c.o:
-	$(COMPILE) -c $<
-
 .s.o:
 	$(COMPILE) -c $<
 
@@ -183,8 +177,12 @@
 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 $(SOURCES) $(HEADERS) $(LISP)
+	  && mkid -f$$here/ID $$unique $(LISP)
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
 	tags=; \
@@ -210,530 +208,125 @@
 subdir = source
 
 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 source/Makefile
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
-	  test -f $(distdir)/$$file \
-	  || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
-	  || cp -p $$d/$$file $(distdir)/$$file; \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$/$$file $(distdir)/$$file; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
+	  fi; \
 	done
-alias.o: alias.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/alias.h ../include/alist.h ../include/dcc.h \
-	../include/whois.h ../include/commands.h ../include/files.h \
-	../include/history.h ../include/hook.h ../include/input.h \
-	../include/ircaux.h ../include/names.h ../include/window.h \
-	../include/lastlog.h ../include/notify.h ../include/numbers.h \
-	../include/output.h ../include/parse.h ../include/screen.h \
-	../include/server.h ../include/status.h ../include/vars.h \
-	../include/ircterm.h ../include/list.h ../include/keys.h \
-	../include/misc.h ../include/fset.h ../include/timer.h expr.c
-alist.o: alist.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/alist.h ../include/ircaux.h ../include/output.h
-alloca.o: alloca.c
-cmd_hostname.o: cmd_hostname.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/output.h ../include/list.h \
-	../include/misc.h ../include/whois.h ../include/tcommand.h
-cmd_modes.o: cmd_modes.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/whois.h ../include/output.h \
-	../include/status.h ../include/misc.h ../include/tcommand.h \
-	../include/list.h ../include/hook.h ../include/ignore.h \
-	../include/screen.h ../include/window.h ../include/lastlog.h \
-	../include/server.h ../include/names.h ../include/whowas.h \
-	../include/vars.h ../include/hash2.h ../include/fset.h
-cmd_orignick.o: cmd_orignick.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/output.h ../include/list.h \
-	../include/whois.h ../include/misc.h ../include/input.h \
-	../include/vars.h ../include/server.h ../include/names.h \
-	../include/window.h ../include/lastlog.h ../include/screen.h \
-	../include/tcommand.h
-cmd_save.o: cmd_save.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/output.h ../include/misc.h \
-	../include/whois.h ../include/screen.h ../include/window.h \
-	../include/lastlog.h ../include/hook.h ../include/vars.h \
-	../include/fset.h ../include/notify.h ../include/tcommand.h \
-	../include/keys.h
-cmd_scan.o: cmd_scan.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/whois.h ../include/output.h \
-	../include/status.h ../include/hash2.h ../include/whowas.h \
-	../include/misc.h ../include/screen.h ../include/window.h \
-	../include/lastlog.h ../include/tcommand.h ../include/fset.h
-cmd_who.o: cmd_who.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/whois.h ../include/output.h \
-	../include/misc.h ../include/screen.h ../include/window.h \
-	../include/lastlog.h ../include/tcommand.h
-commands.o: commands.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/parse.h ../include/ircterm.h ../include/server.h \
-	../include/names.h ../include/window.h ../include/lastlog.h \
-	../include/whois.h ../include/commands.h ../include/vars.h \
-	../include/ircaux.h ../include/screen.h ../include/hook.h \
-	../include/input.h ../include/ignore.h ../include/keys.h \
-	../include/alist.h ../include/alias.h ../include/history.h \
-	../include/funny.h ../include/ctcp.h ../include/dcc.h \
-	../include/output.h ../include/exec.h ../include/notify.h \
-	../include/numbers.h ../include/status.h ../include/timer.h \
-	../include/list.h ../include/misc.h ../include/hash2.h \
-	../include/whowas.h ../include/fset.h ../include/notice.h \
-	../include/tcommand.h
-ctcp.o: ctcp.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ctcp.h ../include/dcc.h ../include/whois.h \
-	../include/commands.h ../include/flood.h ../include/hook.h \
-	../include/ignore.h ../include/ircaux.h ../include/lastlog.h \
-	../include/list.h ../include/names.h ../include/window.h \
-	../include/output.h ../include/parse.h ../include/server.h \
-	../include/status.h ../include/vars.h ../include/misc.h \
-	../include/hash2.h ../include/whowas.h ../include/fset.h \
-	../include/tcommand.h
-dcc.o: dcc.c ../include/config.h ../include/irc.h ../include/defaults.h \
-	../include/irc_std.h ../include/debug.h ../include/newio.h \
-	../include/struct.h ../include/hash.h ../include/ctcp.h \
-	../include/dcc.h ../include/whois.h ../include/hook.h \
-	../include/ircaux.h ../include/lastlog.h ../include/output.h \
-	../include/parse.h ../include/server.h ../include/names.h \
-	../include/window.h ../include/status.h ../include/vars.h \
-	../include/ircterm.h ../include/misc.h ../include/screen.h \
-	../include/hash2.h ../include/whowas.h ../include/fset.h \
-	../include/tcommand.h
-debug.o: debug.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/output.h ../include/misc.h \
-	../include/whois.h ../include/tcommand.h
-env.o: env.c ../include/config.h ../include/irc.h ../include/defaults.h \
-	../include/irc_std.h ../include/debug.h ../include/newio.h \
-	../include/struct.h ../include/hash.h
-exec.o: exec.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/dcc.h ../include/whois.h ../include/exec.h \
-	../include/vars.h ../include/ircaux.h ../include/commands.h \
-	../include/window.h ../include/lastlog.h ../include/screen.h \
-	../include/hook.h ../include/input.h ../include/list.h \
-	../include/server.h ../include/names.h ../include/output.h \
-	../include/parse.h ../include/misc.h ../include/tcommand.h
-files.o: files.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h
-flood.o: flood.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/alias.h ../include/hook.h ../include/ircaux.h \
-	../include/ignore.h ../include/flood.h ../include/vars.h \
-	../include/output.h ../include/list.h ../include/misc.h \
-	../include/whois.h ../include/server.h ../include/names.h \
-	../include/window.h ../include/lastlog.h ../include/timer.h \
-	../include/status.h ../include/hash2.h ../include/whowas.h \
-	../include/fset.h ../include/tcommand.h
-fset.o: fset.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/screen.h ../include/window.h \
-	../include/lastlog.h ../include/output.h ../include/misc.h \
-	../include/whois.h ../include/vars.h ../include/fset.h \
-	../include/format.h ../include/alist.h ../include/tcommand.h
-functions.o: functions.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/alias.h ../include/dcc.h ../include/whois.h \
-	../include/commands.h ../include/files.h ../include/history.h \
-	../include/hook.h ../include/input.h ../include/ircaux.h \
-	../include/names.h ../include/window.h ../include/lastlog.h \
-	../include/output.h ../include/list.h ../include/parse.h \
-	../include/screen.h ../include/server.h ../include/status.h \
-	../include/vars.h ../include/ircterm.h ../include/notify.h \
-	../include/misc.h ../include/numbers.h ../include/ignore.h \
-	../include/hash2.h ../include/whowas.h
-funny.o: funny.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/hook.h ../include/vars.h \
-	../include/funny.h ../include/names.h ../include/window.h \
-	../include/lastlog.h ../include/server.h ../include/whois.h \
-	../include/ircterm.h ../include/output.h ../include/numbers.h \
-	../include/parse.h ../include/status.h ../include/misc.h \
-	../include/screen.h ../include/fset.h
-hash.o: hash.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/hook.h ../include/vars.h \
-	../include/output.h ../include/misc.h ../include/whois.h \
-	../include/server.h ../include/names.h ../include/window.h \
-	../include/lastlog.h ../include/list.h ../include/fset.h \
-	../include/hash2.h ../include/whowas.h ../include/tcommand.h
-help.o: help.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/output.h ../include/misc.h \
-	../include/whois.h ../include/vars.h ../include/tcommand.h
-history.o: history.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/vars.h ../include/history.h \
-	../include/output.h ../include/input.h ../include/tcommand.h
-hook.o: hook.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/hook.h ../include/vars.h ../include/ircaux.h \
-	../include/alias.h ../include/list.h ../include/window.h \
-	../include/lastlog.h ../include/server.h ../include/names.h \
-	../include/whois.h ../include/output.h ../include/commands.h \
-	../include/parse.h ../include/fset.h ../include/misc.h
-ignore.o: ignore.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ignore.h ../include/ircaux.h ../include/list.h \
-	../include/input.h ../include/screen.h ../include/window.h \
-	../include/lastlog.h ../include/misc.h ../include/whois.h \
-	../include/vars.h ../include/output.h ../include/tcommand.h
-input.o: input.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/alias.h ../include/commands.h ../include/exec.h \
-	../include/history.h ../include/hook.h ../include/input.h \
-	../include/ircaux.h ../include/keys.h ../include/screen.h \
-	../include/window.h ../include/lastlog.h ../include/server.h \
-	../include/names.h ../include/whois.h ../include/ircterm.h \
-	../include/list.h ../include/vars.h ../include/misc.h \
-	../include/output.h ../include/dcc.h ../include/whowas.h \
-	../include/status.h ../include/hash2.h ../include/fset.h \
-	../include/tcommand.h
-irc.o: irc.c ../include/config.h ../include/irc.h ../include/defaults.h \
-	../include/irc_std.h ../include/debug.h ../include/newio.h \
-	../include/struct.h ../include/hash.h ../include/status.h \
-	../include/dcc.h ../include/whois.h ../include/names.h \
-	../include/window.h ../include/lastlog.h ../include/vars.h \
-	../include/input.h ../include/alias.h ../include/output.h \
-	../include/ircterm.h ../include/exec.h ../include/flood.h \
-	../include/screen.h ../include/log.h ../include/server.h \
-	../include/hook.h ../include/keys.h ../include/ircaux.h \
-	../include/commands.h ../include/history.h ../include/notify.h \
-	../include/numbers.h ../include/timer.h ../include/whowas.h \
-	../include/misc.h ../include/tcommand.h
-ircaux.o: ircaux.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/alias.h ../include/log.h ../include/misc.h \
-	../include/whois.h ../include/vars.h ../include/screen.h \
-	../include/window.h ../include/lastlog.h ../include/ircaux.h \
-	../include/output.h ../include/ircterm.h
-ircsig.o: ircsig.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h
-keys.o: keys.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/commands.h ../include/history.h ../include/ircaux.h \
-	../include/input.h ../include/keys.h ../include/names.h \
-	../include/window.h ../include/lastlog.h ../include/output.h \
-	../include/screen.h ../include/ircterm.h ../include/vars.h \
-	../include/tcommand.h
-lastlog.o: lastlog.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/lastlog.h ../include/window.h ../include/screen.h \
-	../include/vars.h ../include/ircaux.h ../include/output.h \
-	../include/misc.h ../include/whois.h ../include/hook.h \
-	../include/status.h ../include/fset.h ../include/tcommand.h
-list.o: list.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/list.h ../include/ircaux.h
-log.o: log.c ../include/config.h ../include/irc.h ../include/defaults.h \
-	../include/irc_std.h ../include/debug.h ../include/newio.h \
-	../include/struct.h ../include/hash.h ../include/log.h \
-	../include/vars.h ../include/screen.h ../include/window.h \
-	../include/lastlog.h ../include/output.h ../include/ircaux.h
-misc.o: misc.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/server.h ../include/names.h ../include/window.h \
-	../include/lastlog.h ../include/whois.h ../include/commands.h \
-	../include/vars.h ../include/ircaux.h ../include/screen.h \
-	../include/hook.h ../include/input.h ../include/ignore.h \
-	../include/keys.h ../include/history.h ../include/funny.h \
-	../include/ctcp.h ../include/dcc.h ../include/output.h \
-	../include/exec.h ../include/notify.h ../include/numbers.h \
-	../include/status.h ../include/list.h ../include/timer.h \
-	../include/misc.h ../include/flood.h ../include/parse.h \
-	../include/whowas.h ../include/hash2.h ../include/fset.h
-names.o: names.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/names.h ../include/window.h \
-	../include/lastlog.h ../include/flood.h ../include/screen.h \
-	../include/server.h ../include/whois.h ../include/list.h \
-	../include/output.h ../include/numbers.h ../include/timer.h \
-	../include/input.h ../include/hook.h ../include/parse.h \
-	../include/whowas.h ../include/misc.h ../include/vars.h \
-	../include/status.h ../include/hash2.h ../include/fset.h
-ncommand.o: ncommand.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/parse.h ../include/ircterm.h ../include/server.h \
-	../include/names.h ../include/window.h ../include/lastlog.h \
-	../include/whois.h ../include/commands.h ../include/vars.h \
-	../include/ircaux.h ../include/screen.h ../include/hook.h \
-	../include/input.h ../include/ignore.h ../include/keys.h \
-	../include/alist.h ../include/alias.h ../include/history.h \
-	../include/funny.h ../include/ctcp.h ../include/dcc.h \
-	../include/output.h ../include/exec.h ../include/notify.h \
-	../include/numbers.h ../include/status.h ../include/timer.h \
-	../include/list.h ../include/misc.h ../include/hash2.h \
-	../include/whowas.h ../include/fset.h ../include/notice.h \
-	../include/tcommand.h
-network.o: network.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/vars.h
-newio.o: newio.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h
-notice.o: notice.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/commands.h ../include/whois.h ../include/ctcp.h \
-	../include/window.h ../include/lastlog.h ../include/flood.h \
-	../include/vars.h ../include/ircaux.h ../include/hook.h \
-	../include/ignore.h ../include/server.h ../include/names.h \
-	../include/funny.h ../include/output.h ../include/parse.h \
-	../include/notify.h ../include/misc.h ../include/screen.h \
-	../include/status.h ../include/notice.h ../include/hash2.h \
-	../include/whowas.h ../include/input.h ../include/fset.h
-notify.o: notify.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/list.h ../include/notify.h ../include/ircaux.h \
-	../include/whois.h ../include/hook.h ../include/server.h \
-	../include/names.h ../include/window.h ../include/lastlog.h \
-	../include/output.h ../include/vars.h ../include/timer.h \
-	../include/misc.h ../include/status.h ../include/fset.h \
-	../include/tcommand.h
-numbers.o: numbers.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/dcc.h ../include/whois.h ../include/input.h \
-	../include/commands.h ../include/ircaux.h ../include/vars.h \
-	../include/lastlog.h ../include/list.h ../include/hook.h \
-	../include/server.h ../include/names.h ../include/window.h \
-	../include/numbers.h ../include/screen.h ../include/output.h \
-	../include/funny.h ../include/parse.h ../include/misc.h \
-	../include/status.h ../include/timer.h ../include/fset.h
-output.o: output.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/output.h ../include/vars.h ../include/input.h \
-	../include/ircaux.h ../include/ircterm.h ../include/lastlog.h \
-	../include/window.h ../include/screen.h ../include/server.h \
-	../include/names.h ../include/whois.h ../include/hook.h \
-	../include/ctcp.h ../include/log.h ../include/misc.h
-parse.o: parse.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/server.h ../include/names.h ../include/window.h \
-	../include/lastlog.h ../include/whois.h ../include/vars.h \
-	../include/ctcp.h ../include/hook.h ../include/commands.h \
-	../include/ignore.h ../include/input.h ../include/notice.h \
-	../include/ircaux.h ../include/funny.h ../include/ircterm.h \
-	../include/flood.h ../include/screen.h ../include/output.h \
-	../include/numbers.h ../include/parse.h ../include/notify.h \
-	../include/status.h ../include/list.h ../include/misc.h \
-	../include/whowas.h ../include/timer.h ../include/hash2.h \
-	../include/fset.h ../include/tcommand.h
-readlog.o: readlog.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircterm.h ../include/server.h ../include/names.h \
-	../include/window.h ../include/lastlog.h ../include/whois.h \
-	../include/vars.h ../include/ircaux.h ../include/input.h \
-	../include/screen.h ../include/output.h ../include/misc.h \
-	../include/tcommand.h
-reg.o: reg.c ../include/config.h ../include/irc.h ../include/defaults.h \
-	../include/irc_std.h ../include/debug.h ../include/newio.h \
-	../include/struct.h ../include/hash.h ../include/ircaux.h \
-	../include/output.h
-screen.o: screen.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/commands.h ../include/screen.h ../include/window.h \
-	../include/lastlog.h ../include/status.h ../include/output.h \
-	../include/vars.h ../include/server.h ../include/names.h \
-	../include/whois.h ../include/list.h ../include/ircterm.h \
-	../include/ircaux.h ../include/input.h ../include/log.h \
-	../include/hook.h ../include/dcc.h ../include/exec.h \
-	../include/misc.h
-server.o: server.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/parse.h ../include/server.h ../include/names.h \
-	../include/window.h ../include/lastlog.h ../include/whois.h \
-	../include/ircaux.h ../include/input.h ../include/exec.h \
-	../include/output.h ../include/hook.h ../include/vars.h \
-	../include/screen.h ../include/notify.h ../include/misc.h \
-	../include/status.h ../include/fset.h
-status.o: status.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircterm.h ../include/status.h ../include/server.h \
-	../include/names.h ../include/window.h ../include/lastlog.h \
-	../include/whois.h ../include/vars.h ../include/hook.h \
-	../include/input.h ../include/commands.h ../include/screen.h \
-	../include/output.h ../include/ircaux.h ../include/misc.h \
-	../include/hash2.h ../include/whowas.h ../include/fset.h
-tcommand.o: tcommand.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircterm.h ../include/ircaux.h ../include/vars.h \
-	../include/tcommand.h ../include/output.h ../include/input.h \
-	../include/misc.h ../include/whois.h
-term.o: term.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/vars.h ../include/ircterm.h ../include/window.h \
-	../include/lastlog.h ../include/screen.h ../include/output.h
-ternary.o: ternary.c ../include/config.h ../include/tcommand.h
-timer.o: timer.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h ../include/lastlog.h ../include/timer.h \
-	../include/hook.h ../include/output.h ../include/commands.h \
-	../include/misc.h ../include/whois.h ../include/vars.h \
-	../include/fset.h ../include/tcommand.h
-vars.o: vars.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/status.h ../include/window.h ../include/lastlog.h \
-	../include/log.h ../include/history.h ../include/notify.h \
-	../include/vars.h ../include/input.h ../include/ircaux.h \
-	../include/whois.h ../include/ircterm.h ../include/output.h \
-	../include/screen.h ../include/hook.h ../include/list.h \
-	../include/server.h ../include/names.h ../include/misc.h \
-	../include/hash2.h ../include/whowas.h ../include/fset.h \
-	../include/format.h ../include/alist.h ../include/tcommand.h
-ver.o: ver.c
-whois.o: whois.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/whois.h ../include/hook.h ../include/lastlog.h \
-	../include/vars.h ../include/server.h ../include/names.h \
-	../include/window.h ../include/ignore.h ../include/ircaux.h \
-	../include/notify.h ../include/numbers.h ../include/commands.h \
-	../include/output.h ../include/parse.h ../include/ctcp.h \
-	../include/misc.h ../include/status.h ../include/whowas.h \
-	../include/fset.h
-whowas.o: whowas.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/vars.h ../include/ircaux.h ../include/window.h \
-	../include/lastlog.h ../include/whois.h ../include/hook.h \
-	../include/input.h ../include/names.h ../include/alias.h \
-	../include/output.h ../include/numbers.h ../include/status.h \
-	../include/screen.h ../include/commands.h ../include/list.h \
-	../include/misc.h ../include/hash2.h ../include/whowas.h \
-	../include/fset.h
-window.o: window.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/screen.h ../include/window.h ../include/lastlog.h \
-	../include/vars.h ../include/server.h ../include/names.h \
-	../include/whois.h ../include/list.h ../include/ircterm.h \
-	../include/ircaux.h ../include/input.h ../include/status.h \
-	../include/output.h ../include/log.h ../include/hook.h \
-	../include/dcc.h ../include/misc.h ../include/tcommand.h
-words.o: words.c ../include/config.h ../include/irc.h \
-	../include/defaults.h ../include/irc_std.h ../include/debug.h \
-	../include/newio.h ../include/struct.h ../include/hash.h \
-	../include/ircaux.h
-
-info:
-dvi:
-check: all
-	$(MAKE)
-installcheck:
-install-exec: install-binPROGRAMS
-	@$(NORMAL_INSTALL)
 
-install-data: 
-	@$(NORMAL_INSTALL)
+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
 
-install: install-exec install-data all
-	@:
+-include $(DEP_FILES)
 
-uninstall: uninstall-binPROGRAMS
+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-binPROGRAMS
+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-binPROGRAMS
+uninstall: uninstall-am
+all-am: Makefile $(PROGRAMS)
+all-redirect: all-am
 install-strip:
-	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
 installdirs:
-	$(mkinstalldirs)  $(DATADIR)$(bindir)
+	$(mkinstalldirs)  $(DESTDIR)$(bindir)
 
 
 mostlyclean-generic:
-	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
 clean-generic:
-	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f Makefile $(DISTCLEANFILES)
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
 	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
-	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
-	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
-		mostlyclean-tags mostlyclean-generic
-
-clean:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
-		mostlyclean
-
-distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
-		distclean-generic clean
-	-rm -f config.status
-
-maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
-		maintainer-clean-tags maintainer-clean-generic \
-		distclean
+mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+		mostlyclean-tags mostlyclean-depend mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
+		clean-generic mostlyclean-am
+
+clean: clean-am
+
+distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
+		distclean-depend distclean-generic clean-am
+
+distclean: distclean-am
+
+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-am
+
 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
 mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
-clean-tags maintainer-clean-tags distdir info dvi installcheck \
-install-exec install-data install uninstall all installdirs \
+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
 
-
-x_perl.o: dummy
-	$(path_perl) @theperllib@/ExtUtils/xsubpp -prototypes -typemap @theperllib@/ExtUtils/typemap x_perl.xs > x_perl.c
-	$(COMPILE) $(PERL_CFLAGS) -c -o x_perl.o x_perl.c
-
-x_perlxsi.o: dummy
-	$(COMPILE) $(PERL_CFLAGS) -c -o x_perlxsi.o x_perlxsi.c
-
-.PHONY: dummy
 
 # 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.
Index: xaric/source/ctcp.c
diff -u xaric/source/ctcp.c:1.1.1.3 LAEOS/xaric/source/ctcp.c:1.2
--- xaric/source/ctcp.c:1.1.1.3	Wed Oct 20 13:33:42 1999
+++ xaric/source/ctcp.c	Wed Oct 20 16:02:18 1999
@@ -1,4 +1,4 @@
-#ident "$Id: ctcp.c,v 1.1.1.3 1999/10/20 20:33:42 laeos Exp $"
+#ident "$Id: ctcp.c,v 1.2 1999/10/20 23:02:18 laeos Exp $"
 /*
  * ctcp.c:handles the client-to-client protocol(ctcp). 
  *
@@ -246,6 +246,8 @@
 	char *port;
 	char *size;
 	char *extra_flags;
+
+	say("starting do dcc");
 	if (my_stricmp (to, get_server_nickname (from_server)))
 		return NULL;
 
Index: xaric/source/dcc.c
diff -u xaric/source/dcc.c:1.1.1.2 LAEOS/xaric/source/dcc.c:1.2
--- xaric/source/dcc.c:1.1.1.2	Wed Oct 20 13:33:43 1999
+++ xaric/source/dcc.c	Wed Oct 20 16:02:18 1999
@@ -7,6 +7,10 @@
  *
  * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT 
  * Heavily modified Colten Edwards 1996-97
+ *
+ * needs to be rewritten
+ * it really sucks.
+ *
  */
 
 #ifdef HAVE_CONFIG_H
@@ -184,8 +188,8 @@
 dcc_searchlist (char *name, char *user, int type, int flag, char *othername, char *userhost, int active)
 {
 	register DCC_list **Client = NULL, *NewClient = NULL;
-
 	int dcc_num = 0;
+
 	if (user && *user == '#' && my_atol (user + 1))
 	{
 		/* we got a number so find that instead */
@@ -204,6 +208,8 @@
 	{
 		for (Client = (&ClientList); *Client; Client = (&(**Client).next))
 		{
+			if ( (**Client).flags & DCC_DELETE ) 
+				continue; /* ignore deleted clients */
 			/* 
 			 * The following things have to be true:
 			 * -> The types have to be the same
@@ -228,7 +234,7 @@
 			  ((active == 1) && ((**Client).flags & DCC_ACTIVE))
 				   )
 				)
-				return *Client;
+				return *Client; 
 		}
 	}
 	if (!flag)
@@ -1078,7 +1084,6 @@
 	char *c = NULL;
 	u_long TempLong;
 	unsigned TempInt;
-	int do_auto = 0;	/* used in dcc chat collisions */
 	long packets = 0;
 
 	if ((c = strrchr (description, '/')))
@@ -1086,6 +1091,15 @@
 	if ('.' == *description)
 		*description = '_';
 
+	TempInt = (unsigned) strtoul (port, NULL, 10);
+
+	if (TempInt < 1024)
+	{
+		put_it ("%s", convert_output_format ("$G $RDCC%n Priveleged port attempt [$0]", "%d", TempInt));
+		message_from (NULL, LOG_CRAP);
+		return;
+	}
+
 	message_from (NULL, LOG_DCC);
 	if (size && *size)
 	{
@@ -1116,11 +1130,9 @@
 
 	if (Client->flags & DCC_WAIT)
 	{
-		Client->flags |= DCC_DELETE;
 		if (DCC_CHAT == CType)
 		{
 			Client = dcc_searchlist (description, user, CType, 1, NULL, NULL, -1);
-			do_auto = 1;
 		}
 		else
 		{
@@ -1141,16 +1153,8 @@
 
 	TempLong = strtoul (address, NULL, 10);
 	Client->remote.s_addr = htonl (TempLong);
-	TempInt = (unsigned) strtoul (port, NULL, 10);
 	Client->remport = htons (TempInt);
 
-	if (TempInt < 1024)
-	{
-		put_it ("%s", convert_output_format ("$G %RDCC%n $0 ($1) request from $2 rejected", "%s %s %s", type, description, user));
-		Client->flags |= DCC_DELETE;
-		message_from (NULL, LOG_CRAP);
-		return;
-	}
 	if (userhost)
 		Client->userhost = m_strdup (userhost);
 
@@ -1189,7 +1193,6 @@
 				say ("WARNING: Fake dcc handshake detected! [%x]", Client->remote.s_addr);
 				say ("Unless you know where this dcc request is coming from");
 				say ("It is recommended you ignore it!");
-				do_auto = 0;
 			}
 			if (compare3 == Client->remote.s_addr || compare4 == Client->remote.s_addr)
 			{
@@ -1317,15 +1320,18 @@
 			char userhost[BIG_BUFFER_SIZE + 1];
 			char equal_nickname[NICKNAME_LEN + 4];
 			int tmplen = strlen (tmp) - 1;
+			char *foo;
+			
+			tmp[tmplen] = '\0';
 
+			foo = strchr(tmp, '\r');	/* mIRC etc are broken */
+			if ( foo ) *foo = '\0';
+
 			new_free (&Client->buffer);
-			tmp[tmplen] = '\0';
-			if (tmp[tmplen] == '\r')	/* mIRC et al are broken */
-				tmp[tmplen--] = '\0';
 
 			Client->bytes_read += bytesread;
 			message_from (Client->user, LOG_DCC);
-			say("process, message from %s", Client->user);
+
 			malloc_strcpy (&buf, tmp);
 
 			{
@@ -1690,7 +1696,7 @@
 	}
 	lastlog_level = set_lastlog_msg_level (LOG_DCC);
 	message_from (Client->user, LOG_DCC);
-	say("user is %s", Client->user);
+
 #if 0
 	/*
 	 * Check for CTCPs... whee.
@@ -2580,7 +2586,10 @@
 			}
 		}
 		else
+		{
 			bitchsay ("Error occurred");
+			new_free(&last_chat_req);
+		}
 	}
 	else
 		userage (cmd->name, cmd->qhelp);
Index: xaric/source/irc.c
diff -u xaric/source/irc.c:1.1.1.3 LAEOS/xaric/source/irc.c:1.2
--- xaric/source/irc.c:1.1.1.3	Wed Oct 20 13:33:43 1999
+++ xaric/source/irc.c	Wed Oct 20 16:02:18 1999
@@ -1,4 +1,4 @@
-#ident "$Id: irc.c,v 1.1.1.3 1999/10/20 20:33:43 laeos Exp $"
+#ident "$Id: irc.c,v 1.2 1999/10/20 23:02:18 laeos Exp $"
 /*
  * ircII: a new irc client.  I like it.  I hope you will too!
  *
@@ -62,9 +62,6 @@
 #include "misc.h"
 #include "tcommand.h"
 
-#ifdef HAVE_PERL_INTERP
-void perl_init(void);
-#endif
 
 int irc_port = IRC_PORT,	/* port of ircd */
   strip_ansi_in_echo, current_on_hook = -1,	/* used in the send_text()
@@ -1100,10 +1097,6 @@
 	display_name (-1);
 	if (bflag)
 		load_scripts ();
-
-#ifdef HAVE_PERL_INTERP
-	perl_init();
-#endif
 
 	get_connected (0);
 
Index: xaric/source/keys.c
diff -u xaric/source/keys.c:1.1.1.2 LAEOS/xaric/source/keys.c:1.2
--- xaric/source/keys.c:1.1.1.2	Wed Oct 20 13:33:43 1999
+++ xaric/source/keys.c	Wed Oct 20 14:07:38 1999
@@ -562,7 +562,7 @@
 	snew_key (0, 1, BEGINNING_OF_LINE);	/* ^A */
 	snew_key (0, 2, BOLD);	/* ^B */
 	snew_key (0, 4, DELETE_CHARACTER);	/* ^D */
-	snew_key (0, 5, CHANGE_TO_SPLIT);	/* ^E */
+	snew_key (0, 5, END_OF_LINE);	/* ^E */
 	snew_key (0, 6, WHOLEFT);	/* ^F */
 	snew_key (0, 8, BACKSPACE);	/* ^H (delete) */
 #if 0
Index: xaric/source/ncommand.c
diff -u xaric/source/ncommand.c:1.1.1.3 LAEOS/xaric/source/ncommand.c:1.2
--- xaric/source/ncommand.c:1.1.1.3	Wed Oct 20 13:33:43 1999
+++ xaric/source/ncommand.c	Wed Oct 20 16:02:18 1999
@@ -1,4 +1,4 @@
-#ident "$Id: ncommand.c,v 1.1.1.3 1999/10/20 20:33:43 laeos Exp $"
+#ident "$Id: ncommand.c,v 1.2 1999/10/20 23:02:18 laeos Exp $"
 /*
  * ncommand.c : new commands for Xaric
  * (c) 1998 Rex Feany <laeos@ptw.com> 
@@ -2098,21 +2098,7 @@
 	new_free (&stuff);
 }
 
-#ifdef HAVE_PERL_INTERP
-void perl_eval(char *);
 
-void
-cmd_eval (struct command *cmd, char *args)
-{
-	if (args && *args)
-		perl_eval(args);
-	else
-		userage (cmd->name, cmd->qhelp);
-}
-#endif
-
-
-
 /* 
  * Commands in other files
  *
@@ -2201,9 +2187,6 @@
 	{"DNS", NULL, NULL, cmd_nslookup, "%Y<%nnick|hostname%y>%n\n- Attempts to nslookup on nick or hostname"},
 	{"DOP", NULL, NULL, cmd_deop, "- See deop"},
 	{"ECHO", NULL, NULL, cmd_echo, NULL},
-#ifdef HAVE_PERL_INTERP
-	{"EVAL", NULL, NULL, cmd_eval, "- Run some perl code"},
-#endif
 	{"EXEC", NULL, NULL, cmd_exec, "%Y<%ncommand%Y>%n\n- Executes %Y<%ncommand%Y>%n with the shell set from %PSHELL%n"},
 	{"EXIT", NULL, NULL, cmd_quit, "- Quits IRC"},
 	{"FLUSH", NULL, NULL, cmd_flush, "- Flush ALL server output"},
Index: xaric/source/ver.c
diff -u /dev/null xaric/source/ver.c:1.1.1.1
--- /dev/null	Wed Oct 20 16:32:37 1999
+++ xaric/source/ver.c	Wed Oct 20 13:33:13 1999
@@ -0,0 +1,2 @@
+const char irc_version[] = "0.9c";
+const char irc_lib[] = "/usr/local/share/xaric";
Index: xaric/source/x_perl.xs
diff -u xaric/source/x_perl.xs:1.1.1.1 LAEOS/xaric/source/x_perl.xs:removed
--- xaric/source/x_perl.xs:1.1.1.1	Wed Oct 20 13:33:43 1999
+++ xaric/source/x_perl.xs	Wed Oct 20 16:32:37 1999
@@ -1,146 +0,0 @@
-/*
- * x_perl.xs -- Xaric help system
- * (c) 199 Rex Feany (laeos@ptw.com) 
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * $Id: x_perl.xs,v 1.1.1.1 1999/10/20 20:33:43 laeos Exp $
- *
- */
-
-#include <stdio.h>
-
-#include "EXTERN.h"
-#include "perl.h"
-#include "XSUB.h"
-
-#include "output.h"
-
-void perl_eval(char *pcode);
-
-
-#define dHANDLE(name) GV *handle = gv_fetchpv(name, TRUE, SVt_PVIO)
-
-#define TIEHANDLE(name,obj) \
-{ \
-      dHANDLE(name); \
-      sv_unmagic((SV*)handle, 'q'); \
-      sv_magic((SV*)handle, obj, 'q', Nullch, 0); \
-}
-
-static PerlInterpreter *xaric_perl;  /***    The Perl interpreter    ***/
-
-extern void xs_init(void);
-
-SV *new_blessed_obj(void)
-{
-	SV *sv = sv_newmortal();
-	return newSVrv(sv, "Xaric");
-}
-
-static const char boot_strap_code[] = "$SIG{__WARN__} = sub { Xaric::warn $_[0]; }";
-
-void
-perl_init(void)
-{
-        char *empty_args[] = { "", "-e", "0" };
-	char *bootargs[] = { "Xaric", NULL };
-	SV *b, *c;
-
-        xaric_perl = perl_alloc();
-        perl_construct(xaric_perl);
-        perl_parse(xaric_perl, xs_init, 3, empty_args, NULL);
-	perl_call_argv("Xaric::bootstrap", (long)G_DISCARD, bootargs);
-        perl_run(xaric_perl);
-
-	/* to differenciate between stderr, stdout */
-	b = newSViv(1);
-	c = newSViv(2);
-
-	newSVrv(b, "Xaric");
-	newSVrv(c, "Xaric");
-
-	TIEHANDLE("STDIN", b)
-	TIEHANDLE("STDOUT", b)
-	TIEHANDLE("STDERR", c)
-	perl_eval(boot_strap_code); 
-	yell("perl interpreter initilized...");
-}
-
-void
-perl_end(void)
-{
-	if (xaric_perl)
-	{
-		perl_run(xaric_perl);
-		perl_destruct(xaric_perl);
-		perl_free(xaric_perl);
-	}
-}
-
-void
-perl_eval(char *pcode)
-{
-    char	*err;
-    STRLEN	length;
-    SV		*sv;
-
-    dSP;
-    ENTER;
-    SAVETMPS;
-
-    sv = newSVpv(pcode, 0);
-    perl_eval_sv(sv, G_DISCARD | G_NOARGS);
-    SvREFCNT_dec(sv);
-
-    err = SvPV(GvSV(errgv), length);
-
-    FREETMPS;
-    LEAVE;
-
-    if (!length)
-	return;
-
-    err[length-1]='\0';
-    bitchsay(err);
-}
-
-MODULE = Xaric		PACKAGE = Xaric		
-
-void
-say(msg)
-	char * msg
-	CODE:
-	say(msg);
-
-void
-yell(msg)
-	char * msg
-	CODE:
-	yell(msg);
-
-void
-warn(msg)
-	char * msg
-	CODE:
-	bitchsay("Perl Warning: %s", msg);
-
-void
-PRINT(self, msg)
-	SV *self
-	char * msg
-	CODE:
-	say("%s", msg);
-
Index: xaric/source/x_perlxsi.c
diff -u xaric/source/x_perlxsi.c:1.1.1.1 LAEOS/xaric/source/x_perlxsi.c:removed
--- xaric/source/x_perlxsi.c:1.1.1.1	Wed Oct 20 13:33:43 1999
+++ xaric/source/x_perlxsi.c	Wed Oct 20 16:32:37 1999
@@ -1,33 +0,0 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <EXTERN.h>
-#include <perl.h>
-
-#ifdef __cplusplus
-}
-#  ifndef EXTERN_C
-#    define EXTERN_C extern "C"
-#  endif
-#else
-#  ifndef EXTERN_C
-#    define EXTERN_C extern
-#  endif
-#endif
-
-EXTERN_C void xs_init _((void));
-
-EXTERN_C void boot_DynaLoader _((CV* cv));
-EXTERN_C void boot_Xaric _((CV* cv));
-
-EXTERN_C void
-xs_init()
-{
-	char *file = __FILE__;
-	dXSUB_SYS;
-
-	/* DynaLoader is a special case */
-	newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
-	newXS("Xaric::bootstrap", boot_Xaric, file);
-}
